1 /* Generated by ioctls_gen.sh from definitions found in $linux/arch/powerpc/include/ tree. */ 2 { "asm/ioctls.h", "FIOASYNC", _IOC_WRITE, 0x667d, 0x04 }, 3 { "asm/ioctls.h", "FIOCLEX", _IOC_NONE, 0x6601, 0x00 }, 4 { "asm/ioctls.h", "FIONBIO", _IOC_WRITE, 0x667e, 0x04 }, 5 { "asm/ioctls.h", "FIONCLEX", _IOC_NONE, 0x6602, 0x00 }, 6 { "asm/ioctls.h", "FIONREAD", _IOC_READ, 0x667f, 0x04 }, 7 { "asm/ioctls.h", "FIOQSIZE", _IOC_READ, 0x6680, 0x08 }, 8 { "asm/ioctls.h", "TCFLSH", _IOC_NONE, 0x741f, 0x00 }, 9 { "asm/ioctls.h", "TCGETA", _IOC_READ, 0x7417, 0x14 }, 10 { "asm/ioctls.h", "TCGETS", _IOC_READ, 0x7413, 0x2c }, 11 { "asm/ioctls.h", "TCSBRK", _IOC_NONE, 0x741d, 0x00 }, 12 { "asm/ioctls.h", "TCSBRKP", 0, 0x5425, 0 }, 13 { "asm/ioctls.h", "TCSETA", _IOC_WRITE, 0x7418, 0x14 }, 14 { "asm/ioctls.h", "TCSETAF", _IOC_WRITE, 0x741c, 0x14 }, 15 { "asm/ioctls.h", "TCSETAW", _IOC_WRITE, 0x7419, 0x14 }, 16 { "asm/ioctls.h", "TCSETS", _IOC_WRITE, 0x7414, 0x2c }, 17 { "asm/ioctls.h", "TCSETSF", _IOC_WRITE, 0x7416, 0x2c }, 18 { "asm/ioctls.h", "TCSETSW", _IOC_WRITE, 0x7415, 0x2c }, 19 { "asm/ioctls.h", "TCXONC", _IOC_NONE, 0x741e, 0x00 }, 20 { "asm/ioctls.h", "TIOCCBRK", 0, 0x5428, 0 }, 21 { "asm/ioctls.h", "TIOCCONS", 0, 0x541D, 0 }, 22 { "asm/ioctls.h", "TIOCEXCL", 0, 0x540C, 0 }, 23 { "asm/ioctls.h", "TIOCGDEV", _IOC_READ, 0x5432, 0x04 }, 24 { "asm/ioctls.h", "TIOCGETC", _IOC_READ, 0x7412, 0x06 }, 25 { "asm/ioctls.h", "TIOCGETD", 0, 0x5424, 0 }, 26 { "asm/ioctls.h", "TIOCGETP", _IOC_READ, 0x7408, 0x06 }, 27 { "asm/ioctls.h", "TIOCGEXCL", _IOC_READ, 0x5440, 0x04 }, 28 { "asm/ioctls.h", "TIOCGICOUNT", 0, 0x545D, 0 }, 29 { "asm/ioctls.h", "TIOCGLCKTRMIOS", 0, 0x5456, 0 }, 30 { "asm/ioctls.h", "TIOCGLTC", _IOC_READ, 0x7474, 0x06 }, 31 { "asm/ioctls.h", "TIOCGPGRP", _IOC_READ, 0x7477, 0x04 }, 32 { "asm/ioctls.h", "TIOCGPKT", _IOC_READ, 0x5438, 0x04 }, 33 { "asm/ioctls.h", "TIOCGPTLCK", _IOC_READ, 0x5439, 0x04 }, 34 { "asm/ioctls.h", "TIOCGPTN", _IOC_READ, 0x5430, 0x04 }, 35 { "asm/ioctls.h", "TIOCGRS485", 0, 0x542e, 0 }, 36 { "asm/ioctls.h", "TIOCGSERIAL", 0, 0x541E, 0 }, 37 { "asm/ioctls.h", "TIOCGSID", 0, 0x5429, 0 }, 38 { "asm/ioctls.h", "TIOCGSOFTCAR", 0, 0x5419, 0 }, 39 { "asm/ioctls.h", "TIOCGWINSZ", _IOC_READ, 0x7468, 0x08 }, 40 { "asm/ioctls.h", "TIOCLINUX", 0, 0x541C, 0 }, 41 { "asm/ioctls.h", "TIOCMBIC", 0, 0x5417, 0 }, 42 { "asm/ioctls.h", "TIOCMBIS", 0, 0x5416, 0 }, 43 { "asm/ioctls.h", "TIOCMGET", 0, 0x5415, 0 }, 44 { "asm/ioctls.h", "TIOCMIWAIT", 0, 0x545C, 0 }, 45 { "asm/ioctls.h", "TIOCMSET", 0, 0x5418, 0 }, 46 { "asm/ioctls.h", "TIOCNOTTY", 0, 0x5422, 0 }, 47 { "asm/ioctls.h", "TIOCNXCL", 0, 0x540D, 0 }, 48 { "asm/ioctls.h", "TIOCOUTQ", _IOC_READ, 0x7473, 0x04 }, 49 { "asm/ioctls.h", "TIOCPKT", 0, 0x5420, 0 }, 50 { "asm/ioctls.h", "TIOCSBRK", 0, 0x5427, 0 }, 51 { "asm/ioctls.h", "TIOCSCTTY", 0, 0x540E, 0 }, 52 { "asm/ioctls.h", "TIOCSERCONFIG", 0, 0x5453, 0 }, 53 { "asm/ioctls.h", "TIOCSERGETLSR", 0, 0x5459, 0 }, 54 { "asm/ioctls.h", "TIOCSERGETMULTI", 0, 0x545A, 0 }, 55 { "asm/ioctls.h", "TIOCSERGSTRUCT", 0, 0x5458, 0 }, 56 { "asm/ioctls.h", "TIOCSERGWILD", 0, 0x5454, 0 }, 57 { "asm/ioctls.h", "TIOCSERSETMULTI", 0, 0x545B, 0 }, 58 { "asm/ioctls.h", "TIOCSERSWILD", 0, 0x5455, 0 }, 59 { "asm/ioctls.h", "TIOCSETC", _IOC_WRITE, 0x7411, 0x06 }, 60 { "asm/ioctls.h", "TIOCSETD", 0, 0x5423, 0 }, 61 { "asm/ioctls.h", "TIOCSETN", _IOC_WRITE, 0x740a, 0x06 }, 62 { "asm/ioctls.h", "TIOCSETP", _IOC_WRITE, 0x7409, 0x06 }, 63 { "asm/ioctls.h", "TIOCSIG", _IOC_WRITE, 0x5436, 0x04 }, 64 { "asm/ioctls.h", "TIOCSLCKTRMIOS", 0, 0x5457, 0 }, 65 { "asm/ioctls.h", "TIOCSLTC", _IOC_WRITE, 0x7475, 0x06 }, 66 { "asm/ioctls.h", "TIOCSPGRP", _IOC_WRITE, 0x7476, 0x04 }, 67 { "asm/ioctls.h", "TIOCSPTLCK", _IOC_WRITE, 0x5431, 0x04 }, 68 { "asm/ioctls.h", "TIOCSRS485", 0, 0x542f, 0 }, 69 { "asm/ioctls.h", "TIOCSSERIAL", 0, 0x541F, 0 }, 70 { "asm/ioctls.h", "TIOCSSOFTCAR", 0, 0x541A, 0 }, 71 { "asm/ioctls.h", "TIOCSTART", _IOC_NONE, 0x746e, 0x00 }, 72 { "asm/ioctls.h", "TIOCSTI", 0, 0x5412, 0 }, 73 { "asm/ioctls.h", "TIOCSTOP", _IOC_NONE, 0x746f, 0x00 }, 74 { "asm/ioctls.h", "TIOCSWINSZ", _IOC_WRITE, 0x7467, 0x08 }, 75 { "asm/ioctls.h", "TIOCVHANGUP", 0, 0x5437, 0 }, 76 { "asm/nvram.h", "IOC_NVRAM_GET_OFFSET", _IOC_READ|_IOC_WRITE, 0x7042, 0x04 }, 77 { "asm/nvram.h", "IOC_NVRAM_SYNC", _IOC_NONE, 0x7043, 0x00 }, 78 { "asm/nvram.h", "OBSOLETE_PMAC_NVRAM_GET_OFFSET", _IOC_READ|_IOC_WRITE, 0x7040, 0x04 }, 79 { "asm/opal-prd.h", "OPAL_PRD_GET_INFO", _IOC_READ, 0x6f01, 0x20 }, 80 { "asm/opal-prd.h", "OPAL_PRD_SCOM_READ", _IOC_READ, 0x6f02, 0x20 }, 81 { "asm/opal-prd.h", "OPAL_PRD_SCOM_WRITE", _IOC_WRITE, 0x6f03, 0x20 }, 82 { "asm/ps3fb.h", "FBIO_WAITFORVSYNC", _IOC_WRITE, 0x4620, 0x04 }, 83 { "asm/ps3fb.h", "PS3FB_IOCTL_FSEL", _IOC_WRITE, 0x7206, 0x04 }, 84 { "asm/ps3fb.h", "PS3FB_IOCTL_GETMODE", _IOC_READ, 0x7202, 0x04 }, 85 { "asm/ps3fb.h", "PS3FB_IOCTL_OFF", _IOC_NONE, 0x7205, 0x00 }, 86 { "asm/ps3fb.h", "PS3FB_IOCTL_ON", _IOC_NONE, 0x7204, 0x00 }, 87 { "asm/ps3fb.h", "PS3FB_IOCTL_SCREENINFO", _IOC_READ, 0x7203, 0x04 }, 88 { "asm/ps3fb.h", "PS3FB_IOCTL_SETMODE", _IOC_WRITE, 0x7201, 0x04 }, 89 { "asm/sockios.h", "FIOGETOWN", 0, 0x8903, 0 }, 90 { "asm/sockios.h", "FIOSETOWN", 0, 0x8901, 0 }, 91 { "asm/sockios.h", "SIOCATMARK", 0, 0x8905, 0 }, 92 { "asm/sockios.h", "SIOCGPGRP", 0, 0x8904, 0 }, 93 { "asm/sockios.h", "SIOCGSTAMP", 0, 0x8906, 0 }, 94 { "asm/sockios.h", "SIOCGSTAMPNS", 0, 0x8907, 0 }, 95 { "asm/sockios.h", "SIOCSPGRP", 0, 0x8902, 0 }, 96 { "linux/kvm.h", "KVM_ALLOCATE_RMA", _IOC_READ, 0xaea9, 0x08 }, 97 { "linux/kvm.h", "KVM_ARM_SET_DEVICE_ADDR", _IOC_WRITE, 0xaeab, 0x10 }, 98 { "linux/kvm.h", "KVM_ASSIGN_DEV_IRQ", _IOC_WRITE, 0xae70, 0x40 }, 99 { "linux/kvm.h", "KVM_ASSIGN_PCI_DEVICE", _IOC_READ, 0xae69, 0x40 }, 100 { "linux/kvm.h", "KVM_ASSIGN_SET_INTX_MASK", _IOC_WRITE, 0xaea4, 0x40 }, 101 { "linux/kvm.h", "KVM_ASSIGN_SET_MSIX_ENTRY", _IOC_WRITE, 0xae74, 0x10 }, 102 { "linux/kvm.h", "KVM_ASSIGN_SET_MSIX_NR", _IOC_WRITE, 0xae73, 0x08 }, 103 { "linux/kvm.h", "KVM_CHECK_EXTENSION", _IOC_NONE, 0xae03, 0x00 }, 104 { "linux/kvm.h", "KVM_CREATE_DEVICE", _IOC_READ|_IOC_WRITE, 0xaee0, 0x0c }, 105 { "linux/kvm.h", "KVM_CREATE_IRQCHIP", _IOC_NONE, 0xae60, 0x00 }, 106 { "linux/kvm.h", "KVM_CREATE_PIT", _IOC_NONE, 0xae64, 0x00 }, 107 { "linux/kvm.h", "KVM_CREATE_PIT2", _IOC_WRITE, 0xae77, 0x40 }, 108 { "linux/kvm.h", "KVM_CREATE_SPAPR_TCE", _IOC_WRITE, 0xaea8, 0x10 }, 109 { "linux/kvm.h", "KVM_CREATE_SPAPR_TCE_64", _IOC_WRITE, 0xaea8, 0x20 }, 110 { "linux/kvm.h", "KVM_CREATE_VCPU", _IOC_NONE, 0xae41, 0x00 }, 111 { "linux/kvm.h", "KVM_CREATE_VM", _IOC_NONE, 0xae01, 0x00 }, 112 { "linux/kvm.h", "KVM_DEASSIGN_DEV_IRQ", _IOC_WRITE, 0xae75, 0x40 }, 113 { "linux/kvm.h", "KVM_DEASSIGN_PCI_DEVICE", _IOC_WRITE, 0xae72, 0x40 }, 114 { "linux/kvm.h", "KVM_DIRTY_TLB", _IOC_WRITE, 0xaeaa, 0x10 }, 115 { "linux/kvm.h", "KVM_ENABLE_CAP", _IOC_WRITE, 0xaea3, 0x68 }, 116 { "linux/kvm.h", "KVM_GET_API_VERSION", _IOC_NONE, 0xae00, 0x00 }, 117 { "linux/kvm.h", "KVM_GET_CLOCK", _IOC_READ, 0xae7c, 0x30 }, 118 { "linux/kvm.h", "KVM_GET_DEVICE_ATTR", _IOC_WRITE, 0xaee2, 0x18 }, 119 { "linux/kvm.h", "KVM_GET_DIRTY_LOG", _IOC_WRITE, 0xae42, 0x10 }, 120 { "linux/kvm.h", "KVM_GET_FPU", _IOC_READ, 0xae8c, 0x100 }, 121 { "linux/kvm.h", "KVM_GET_IRQCHIP", _IOC_READ|_IOC_WRITE, 0xae62, 0x208 }, 122 { "linux/kvm.h", "KVM_GET_MP_STATE", _IOC_READ, 0xae98, 0x04 }, 123 { "linux/kvm.h", "KVM_GET_NR_MMU_PAGES", _IOC_NONE, 0xae45, 0x00 }, 124 { "linux/kvm.h", "KVM_GET_ONE_REG", _IOC_WRITE, 0xaeab, 0x10 }, 125 { "linux/kvm.h", "KVM_GET_REGS", _IOC_READ, 0xae81, 0x188 }, 126 { "linux/kvm.h", "KVM_GET_REG_LIST", _IOC_READ|_IOC_WRITE, 0xaeb0, 0x08 }, 127 { "linux/kvm.h", "KVM_GET_SREGS", _IOC_READ, 0xae83, 0x4d0 }, 128 { "linux/kvm.h", "KVM_GET_TSC_KHZ", _IOC_NONE, 0xaea3, 0x00 }, 129 { "linux/kvm.h", "KVM_GET_VCPU_MMAP_SIZE", _IOC_NONE, 0xae04, 0x00 }, 130 { "linux/kvm.h", "KVM_HAS_DEVICE_ATTR", _IOC_WRITE, 0xaee3, 0x18 }, 131 { "linux/kvm.h", "KVM_INTERRUPT", _IOC_WRITE, 0xae86, 0x04 }, 132 { "linux/kvm.h", "KVM_IOEVENTFD", _IOC_WRITE, 0xae79, 0x40 }, 133 { "linux/kvm.h", "KVM_IRQFD", _IOC_WRITE, 0xae76, 0x20 }, 134 { "linux/kvm.h", "KVM_IRQ_LINE", _IOC_WRITE, 0xae61, 0x08 }, 135 { "linux/kvm.h", "KVM_IRQ_LINE_STATUS", _IOC_READ|_IOC_WRITE, 0xae67, 0x08 }, 136 { "linux/kvm.h", "KVM_KVMCLOCK_CTRL", _IOC_NONE, 0xaead, 0x00 }, 137 { "linux/kvm.h", "KVM_NMI", _IOC_NONE, 0xae9a, 0x00 }, 138 { "linux/kvm.h", "KVM_PPC_ALLOCATE_HTAB", _IOC_READ|_IOC_WRITE, 0xaea7, 0x04 }, 139 { "linux/kvm.h", "KVM_PPC_CONFIGURE_V3_MMU", _IOC_WRITE, 0xaeaf, 0x10 }, 140 { "linux/kvm.h", "KVM_PPC_GET_HTAB_FD", _IOC_WRITE, 0xaeaa, 0x20 }, 141 { "linux/kvm.h", "KVM_PPC_GET_PVINFO", _IOC_WRITE, 0xaea1, 0x80 }, 142 { "linux/kvm.h", "KVM_PPC_GET_RMMU_INFO", _IOC_WRITE, 0xaeb0, 0x60 }, 143 { "linux/kvm.h", "KVM_PPC_GET_SMMU_INFO", _IOC_READ, 0xaea6, 0x250 }, 144 { "linux/kvm.h", "KVM_PPC_RESIZE_HPT_COMMIT", _IOC_READ, 0xaeae, 0x10 }, 145 { "linux/kvm.h", "KVM_PPC_RESIZE_HPT_PREPARE", _IOC_READ, 0xaead, 0x10 }, 146 { "linux/kvm.h", "KVM_PPC_RTAS_DEFINE_TOKEN", _IOC_WRITE, 0xaeac, 0x80 }, 147 { "linux/kvm.h", "KVM_REGISTER_COALESCED_MMIO", _IOC_WRITE, 0xae67, 0x10 }, 148 { "linux/kvm.h", "KVM_REINJECT_CONTROL", _IOC_NONE, 0xae71, 0x00 }, 149 { "linux/kvm.h", "KVM_RUN", _IOC_NONE, 0xae80, 0x00 }, 150 { "linux/kvm.h", "KVM_S390_ENABLE_SIE", _IOC_NONE, 0xae06, 0x00 }, 151 { "linux/kvm.h", "KVM_S390_GET_IRQ_STATE", _IOC_WRITE, 0xaeb6, 0x20 }, 152 { "linux/kvm.h", "KVM_S390_GET_SKEYS", _IOC_WRITE, 0xaeb2, 0x40 }, 153 { "linux/kvm.h", "KVM_S390_INITIAL_RESET", _IOC_NONE, 0xae97, 0x00 }, 154 { "linux/kvm.h", "KVM_S390_INTERRUPT", _IOC_WRITE, 0xae94, 0x10 }, 155 { "linux/kvm.h", "KVM_S390_IRQ", _IOC_WRITE, 0xaeb4, 0x48 }, 156 { "linux/kvm.h", "KVM_S390_MEM_OP", _IOC_WRITE, 0xaeb1, 0x40 }, 157 { "linux/kvm.h", "KVM_S390_SET_INITIAL_PSW", _IOC_WRITE, 0xae96, 0x10 }, 158 { "linux/kvm.h", "KVM_S390_SET_IRQ_STATE", _IOC_WRITE, 0xaeb5, 0x20 }, 159 { "linux/kvm.h", "KVM_S390_SET_SKEYS", _IOC_WRITE, 0xaeb3, 0x40 }, 160 { "linux/kvm.h", "KVM_S390_STORE_STATUS", _IOC_WRITE, 0xae95, 0x04 }, 161 { "linux/kvm.h", "KVM_S390_UCAS_MAP", _IOC_WRITE, 0xae50, 0x18 }, 162 { "linux/kvm.h", "KVM_S390_UCAS_UNMAP", _IOC_WRITE, 0xae51, 0x18 }, 163 { "linux/kvm.h", "KVM_S390_VCPU_FAULT", _IOC_WRITE, 0xae52, 0x04 }, 164 { "linux/kvm.h", "KVM_SET_BOOT_CPU_ID", _IOC_NONE, 0xae78, 0x00 }, 165 { "linux/kvm.h", "KVM_SET_CLOCK", _IOC_WRITE, 0xae7b, 0x30 }, 166 { "linux/kvm.h", "KVM_SET_DEVICE_ATTR", _IOC_WRITE, 0xaee1, 0x18 }, 167 { "linux/kvm.h", "KVM_SET_FPU", _IOC_WRITE, 0xae8d, 0x100 }, 168 { "linux/kvm.h", "KVM_SET_GSI_ROUTING", _IOC_WRITE, 0xae6a, 0x08 }, 169 { "linux/kvm.h", "KVM_SET_GUEST_DEBUG", _IOC_WRITE, 0xae9b, 0x108 }, 170 { "linux/kvm.h", "KVM_SET_IDENTITY_MAP_ADDR", _IOC_WRITE, 0xae48, 0x08 }, 171 { "linux/kvm.h", "KVM_SET_IRQCHIP", _IOC_READ, 0xae63, 0x208 }, 172 { "linux/kvm.h", "KVM_SET_MEMORY_REGION", _IOC_WRITE, 0xae40, 0x18 }, 173 { "linux/kvm.h", "KVM_SET_MP_STATE", _IOC_WRITE, 0xae99, 0x04 }, 174 { "linux/kvm.h", "KVM_SET_NR_MMU_PAGES", _IOC_NONE, 0xae44, 0x00 }, 175 { "linux/kvm.h", "KVM_SET_ONE_REG", _IOC_WRITE, 0xaeac, 0x10 }, 176 { "linux/kvm.h", "KVM_SET_REGS", _IOC_WRITE, 0xae82, 0x188 }, 177 { "linux/kvm.h", "KVM_SET_SIGNAL_MASK", _IOC_WRITE, 0xae8b, 0x04 }, 178 { "linux/kvm.h", "KVM_SET_SREGS", _IOC_WRITE, 0xae84, 0x4d0 }, 179 { "linux/kvm.h", "KVM_SET_TSC_KHZ", _IOC_NONE, 0xaea2, 0x00 }, 180 { "linux/kvm.h", "KVM_SET_TSS_ADDR", _IOC_NONE, 0xae47, 0x00 }, 181 { "linux/kvm.h", "KVM_SET_USER_MEMORY_REGION", _IOC_WRITE, 0xae46, 0x20 }, 182 { "linux/kvm.h", "KVM_SET_VAPIC_ADDR", _IOC_WRITE, 0xae93, 0x08 }, 183 { "linux/kvm.h", "KVM_SIGNAL_MSI", _IOC_WRITE, 0xaea5, 0x20 }, 184 { "linux/kvm.h", "KVM_SMI", _IOC_NONE, 0xaeb7, 0x00 }, 185 { "linux/kvm.h", "KVM_TPR_ACCESS_REPORTING", _IOC_READ|_IOC_WRITE, 0xae92, 0x28 }, 186 { "linux/kvm.h", "KVM_TRANSLATE", _IOC_READ|_IOC_WRITE, 0xae85, 0x18 }, 187 { "linux/kvm.h", "KVM_UNREGISTER_COALESCED_MMIO", _IOC_WRITE, 0xae68, 0x10 }, 188 { "linux/kvm.h", "KVM_X86_GET_MCE_CAP_SUPPORTED", _IOC_READ, 0xae9d, 0x08 }, 189 { "linux/kvm.h", "KVM_X86_SETUP_MCE", _IOC_WRITE, 0xae9c, 0x08 }, 190