sclp_ctl.h 402 B

123456789101112131415161718192021222324
  1. /*
  2. * IOCTL interface for SCLP
  3. *
  4. * Copyright IBM Corp. 2012
  5. *
  6. * Author: Michael Holzheu <holzheu@linux.vnet.ibm.com>
  7. */
  8. #ifndef _ASM_SCLP_CTL_H
  9. #define _ASM_SCLP_CTL_H
  10. #include <linux/types.h>
  11. struct sclp_ctl_sccb {
  12. __u32 cmdw;
  13. __u64 sccb;
  14. } __attribute__((packed));
  15. #define SCLP_CTL_IOCTL_MAGIC 0x10
  16. #define SCLP_CTL_SCCB \
  17. _IOWR(SCLP_CTL_IOCTL_MAGIC, 0x10, struct sclp_ctl_sccb)
  18. #endif