sclp_ctl.h 465 B

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