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", "TIOCGPTPEER", _IOC_NONE, 0x5441, 0x00 }, 36 { "asm/ioctls.h", "TIOCGRS485", 0, 0x542e, 0 }, 37 { "asm/ioctls.h", "TIOCGSERIAL", 0, 0x541E, 0 }, 38 { "asm/ioctls.h", "TIOCGSID", 0, 0x5429, 0 }, 39 { "asm/ioctls.h", "TIOCGSOFTCAR", 0, 0x5419, 0 }, 40 { "asm/ioctls.h", "TIOCGWINSZ", _IOC_READ, 0x7468, 0x08 }, 41 { "asm/ioctls.h", "TIOCLINUX", 0, 0x541C, 0 }, 42 { "asm/ioctls.h", "TIOCMBIC", 0, 0x5417, 0 }, 43 { "asm/ioctls.h", "TIOCMBIS", 0, 0x5416, 0 }, 44 { "asm/ioctls.h", "TIOCMGET", 0, 0x5415, 0 }, 45 { "asm/ioctls.h", "TIOCMIWAIT", 0, 0x545C, 0 }, 46 { "asm/ioctls.h", "TIOCMSET", 0, 0x5418, 0 }, 47 { "asm/ioctls.h", "TIOCNOTTY", 0, 0x5422, 0 }, 48 { "asm/ioctls.h", "TIOCNXCL", 0, 0x540D, 0 }, 49 { "asm/ioctls.h", "TIOCOUTQ", _IOC_READ, 0x7473, 0x04 }, 50 { "asm/ioctls.h", "TIOCPKT", 0, 0x5420, 0 }, 51 { "asm/ioctls.h", "TIOCSBRK", 0, 0x5427, 0 }, 52 { "asm/ioctls.h", "TIOCSCTTY", 0, 0x540E, 0 }, 53 { "asm/ioctls.h", "TIOCSERCONFIG", 0, 0x5453, 0 }, 54 { "asm/ioctls.h", "TIOCSERGETLSR", 0, 0x5459, 0 }, 55 { "asm/ioctls.h", "TIOCSERGETMULTI", 0, 0x545A, 0 }, 56 { "asm/ioctls.h", "TIOCSERGSTRUCT", 0, 0x5458, 0 }, 57 { "asm/ioctls.h", "TIOCSERGWILD", 0, 0x5454, 0 }, 58 { "asm/ioctls.h", "TIOCSERSETMULTI", 0, 0x545B, 0 }, 59 { "asm/ioctls.h", "TIOCSERSWILD", 0, 0x5455, 0 }, 60 { "asm/ioctls.h", "TIOCSETC", _IOC_WRITE, 0x7411, 0x06 }, 61 { "asm/ioctls.h", "TIOCSETD", 0, 0x5423, 0 }, 62 { "asm/ioctls.h", "TIOCSETN", _IOC_WRITE, 0x740a, 0x06 }, 63 { "asm/ioctls.h", "TIOCSETP", _IOC_WRITE, 0x7409, 0x06 }, 64 { "asm/ioctls.h", "TIOCSIG", _IOC_WRITE, 0x5436, 0x04 }, 65 { "asm/ioctls.h", "TIOCSLCKTRMIOS", 0, 0x5457, 0 }, 66 { "asm/ioctls.h", "TIOCSLTC", _IOC_WRITE, 0x7475, 0x06 }, 67 { "asm/ioctls.h", "TIOCSPGRP", _IOC_WRITE, 0x7476, 0x04 }, 68 { "asm/ioctls.h", "TIOCSPTLCK", _IOC_WRITE, 0x5431, 0x04 }, 69 { "asm/ioctls.h", "TIOCSRS485", 0, 0x542f, 0 }, 70 { "asm/ioctls.h", "TIOCSSERIAL", 0, 0x541F, 0 }, 71 { "asm/ioctls.h", "TIOCSSOFTCAR", 0, 0x541A, 0 }, 72 { "asm/ioctls.h", "TIOCSTART", _IOC_NONE, 0x746e, 0x00 }, 73 { "asm/ioctls.h", "TIOCSTI", 0, 0x5412, 0 }, 74 { "asm/ioctls.h", "TIOCSTOP", _IOC_NONE, 0x746f, 0x00 }, 75 { "asm/ioctls.h", "TIOCSWINSZ", _IOC_WRITE, 0x7467, 0x08 }, 76 { "asm/ioctls.h", "TIOCVHANGUP", 0, 0x5437, 0 }, 77 { "asm/nvram.h", "IOC_NVRAM_GET_OFFSET", _IOC_READ|_IOC_WRITE, 0x7042, 0x04 }, 78 { "asm/nvram.h", "IOC_NVRAM_SYNC", _IOC_NONE, 0x7043, 0x00 }, 79 { "asm/nvram.h", "OBSOLETE_PMAC_NVRAM_GET_OFFSET", _IOC_READ|_IOC_WRITE, 0x7040, 0x04 }, 80 { "asm/opal-prd.h", "OPAL_PRD_GET_INFO", _IOC_READ, 0x6f01, 0x20 }, 81 { "asm/opal-prd.h", "OPAL_PRD_SCOM_READ", _IOC_READ, 0x6f02, 0x20 }, 82 { "asm/opal-prd.h", "OPAL_PRD_SCOM_WRITE", _IOC_WRITE, 0x6f03, 0x20 }, 83 { "asm/ps3fb.h", "FBIO_WAITFORVSYNC", _IOC_WRITE, 0x4620, 0x04 }, 84 { "asm/ps3fb.h", "PS3FB_IOCTL_FSEL", _IOC_WRITE, 0x7206, 0x04 }, 85 { "asm/ps3fb.h", "PS3FB_IOCTL_GETMODE", _IOC_READ, 0x7202, 0x04 }, 86 { "asm/ps3fb.h", "PS3FB_IOCTL_OFF", _IOC_NONE, 0x7205, 0x00 }, 87 { "asm/ps3fb.h", "PS3FB_IOCTL_ON", _IOC_NONE, 0x7204, 0x00 }, 88 { "asm/ps3fb.h", "PS3FB_IOCTL_SCREENINFO", _IOC_READ, 0x7203, 0x04 }, 89 { "asm/ps3fb.h", "PS3FB_IOCTL_SETMODE", _IOC_WRITE, 0x7201, 0x04 }, 90 { "linux/kvm.h", "KVM_ALLOCATE_RMA", _IOC_READ, 0xaea9, 0x08 }, 91 { "linux/kvm.h", "KVM_ASSIGN_DEV_IRQ", _IOC_WRITE, 0xae70, 0x40 }, 92 { "linux/kvm.h", "KVM_ASSIGN_PCI_DEVICE", _IOC_READ, 0xae69, 0x40 }, 93 { "linux/kvm.h", "KVM_ASSIGN_SET_INTX_MASK", _IOC_WRITE, 0xaea4, 0x40 }, 94 { "linux/kvm.h", "KVM_ASSIGN_SET_MSIX_ENTRY", _IOC_WRITE, 0xae74, 0x10 }, 95 { "linux/kvm.h", "KVM_ASSIGN_SET_MSIX_NR", _IOC_WRITE, 0xae73, 0x08 }, 96 { "linux/kvm.h", "KVM_CHECK_EXTENSION", _IOC_NONE, 0xae03, 0x00 }, 97 { "linux/kvm.h", "KVM_CREATE_DEVICE", _IOC_READ|_IOC_WRITE, 0xaee0, 0x0c }, 98 { "linux/kvm.h", "KVM_CREATE_IRQCHIP", _IOC_NONE, 0xae60, 0x00 }, 99 { "linux/kvm.h", "KVM_CREATE_PIT", _IOC_NONE, 0xae64, 0x00 }, 100 { "linux/kvm.h", "KVM_CREATE_PIT2", _IOC_WRITE, 0xae77, 0x40 }, 101 { "linux/kvm.h", "KVM_CREATE_SPAPR_TCE", _IOC_WRITE, 0xaea8, 0x10 }, 102 { "linux/kvm.h", "KVM_CREATE_SPAPR_TCE_64", _IOC_WRITE, 0xaea8, 0x20 }, 103 { "linux/kvm.h", "KVM_CREATE_VCPU", _IOC_NONE, 0xae41, 0x00 }, 104 { "linux/kvm.h", "KVM_CREATE_VM", _IOC_NONE, 0xae01, 0x00 }, 105 { "linux/kvm.h", "KVM_DEASSIGN_DEV_IRQ", _IOC_WRITE, 0xae75, 0x40 }, 106 { "linux/kvm.h", "KVM_DEASSIGN_PCI_DEVICE", _IOC_WRITE, 0xae72, 0x40 }, 107 { "linux/kvm.h", "KVM_DIRTY_TLB", _IOC_WRITE, 0xaeaa, 0x10 }, 108 { "linux/kvm.h", "KVM_ENABLE_CAP", _IOC_WRITE, 0xaea3, 0x68 }, 109 { "linux/kvm.h", "KVM_GET_API_VERSION", _IOC_NONE, 0xae00, 0x00 }, 110 { "linux/kvm.h", "KVM_GET_CLOCK", _IOC_READ, 0xae7c, 0x30 }, 111 { "linux/kvm.h", "KVM_GET_DEVICE_ATTR", _IOC_WRITE, 0xaee2, 0x18 }, 112 { "linux/kvm.h", "KVM_GET_DIRTY_LOG", _IOC_WRITE, 0xae42, 0x10 }, 113 { "linux/kvm.h", "KVM_GET_FPU", _IOC_READ, 0xae8c, 0x100 }, 114 { "linux/kvm.h", "KVM_GET_IRQCHIP", _IOC_READ|_IOC_WRITE, 0xae62, 0x208 }, 115 { "linux/kvm.h", "KVM_GET_MP_STATE", _IOC_READ, 0xae98, 0x04 }, 116 { "linux/kvm.h", "KVM_GET_NR_MMU_PAGES", _IOC_NONE, 0xae45, 0x00 }, 117 { "linux/kvm.h", "KVM_GET_ONE_REG", _IOC_WRITE, 0xaeab, 0x10 }, 118 { "linux/kvm.h", "KVM_GET_REGS", _IOC_READ, 0xae81, 0x188 }, 119 { "linux/kvm.h", "KVM_GET_REG_LIST", _IOC_READ|_IOC_WRITE, 0xaeb0, 0x08 }, 120 { "linux/kvm.h", "KVM_GET_SREGS", _IOC_READ, 0xae83, 0x4d0 }, 121 { "linux/kvm.h", "KVM_GET_TSC_KHZ", _IOC_NONE, 0xaea3, 0x00 }, 122 { "linux/kvm.h", "KVM_GET_VCPU_MMAP_SIZE", _IOC_NONE, 0xae04, 0x00 }, 123 { "linux/kvm.h", "KVM_HAS_DEVICE_ATTR", _IOC_WRITE, 0xaee3, 0x18 }, 124 { "linux/kvm.h", "KVM_INTERRUPT", _IOC_WRITE, 0xae86, 0x04 }, 125 { "linux/kvm.h", "KVM_IOEVENTFD", _IOC_WRITE, 0xae79, 0x40 }, 126 { "linux/kvm.h", "KVM_IRQFD", _IOC_WRITE, 0xae76, 0x20 }, 127 { "linux/kvm.h", "KVM_IRQ_LINE", _IOC_WRITE, 0xae61, 0x08 }, 128 { "linux/kvm.h", "KVM_IRQ_LINE_STATUS", _IOC_READ|_IOC_WRITE, 0xae67, 0x08 }, 129 { "linux/kvm.h", "KVM_KVMCLOCK_CTRL", _IOC_NONE, 0xaead, 0x00 }, 130 { "linux/kvm.h", "KVM_MEMORY_ENCRYPT_OP", _IOC_READ|_IOC_WRITE, 0xaeba, 0x08 }, 131 { "linux/kvm.h", "KVM_MEMORY_ENCRYPT_REG_REGION", _IOC_READ, 0xaebb, 0x10 }, 132 { "linux/kvm.h", "KVM_MEMORY_ENCRYPT_UNREG_REGION", _IOC_READ, 0xaebc, 0x10 }, 133 { "linux/kvm.h", "KVM_NMI", _IOC_NONE, 0xae9a, 0x00 }, 134 { "linux/kvm.h", "KVM_PPC_ALLOCATE_HTAB", _IOC_READ|_IOC_WRITE, 0xaea7, 0x04 }, 135 { "linux/kvm.h", "KVM_PPC_CONFIGURE_V3_MMU", _IOC_WRITE, 0xaeaf, 0x10 }, 136 { "linux/kvm.h", "KVM_PPC_GET_CPU_CHAR", _IOC_READ, 0xaeb1, 0x20 }, 137 { "linux/kvm.h", "KVM_PPC_GET_HTAB_FD", _IOC_WRITE, 0xaeaa, 0x20 }, 138 { "linux/kvm.h", "KVM_PPC_GET_PVINFO", _IOC_WRITE, 0xaea1, 0x80 }, 139 { "linux/kvm.h", "KVM_PPC_GET_RMMU_INFO", _IOC_WRITE, 0xaeb0, 0x60 }, 140 { "linux/kvm.h", "KVM_PPC_GET_SMMU_INFO", _IOC_READ, 0xaea6, 0x250 }, 141 { "linux/kvm.h", "KVM_PPC_RESIZE_HPT_COMMIT", _IOC_READ, 0xaeae, 0x10 }, 142 { "linux/kvm.h", "KVM_PPC_RESIZE_HPT_PREPARE", _IOC_READ, 0xaead, 0x10 }, 143 { "linux/kvm.h", "KVM_PPC_RTAS_DEFINE_TOKEN", _IOC_WRITE, 0xaeac, 0x80 }, 144 { "linux/kvm.h", "KVM_REGISTER_COALESCED_MMIO", _IOC_WRITE, 0xae67, 0x10 }, 145 { "linux/kvm.h", "KVM_REINJECT_CONTROL", _IOC_NONE, 0xae71, 0x00 }, 146 { "linux/kvm.h", "KVM_RUN", _IOC_NONE, 0xae80, 0x00 }, 147 { "linux/kvm.h", "KVM_SET_BOOT_CPU_ID", _IOC_NONE, 0xae78, 0x00 }, 148 { "linux/kvm.h", "KVM_SET_CLOCK", _IOC_WRITE, 0xae7b, 0x30 }, 149 { "linux/kvm.h", "KVM_SET_DEVICE_ATTR", _IOC_WRITE, 0xaee1, 0x18 }, 150 { "linux/kvm.h", "KVM_SET_FPU", _IOC_WRITE, 0xae8d, 0x100 }, 151 { "linux/kvm.h", "KVM_SET_GSI_ROUTING", _IOC_WRITE, 0xae6a, 0x08 }, 152 { "linux/kvm.h", "KVM_SET_GUEST_DEBUG", _IOC_WRITE, 0xae9b, 0x108 }, 153 { "linux/kvm.h", "KVM_SET_IDENTITY_MAP_ADDR", _IOC_WRITE, 0xae48, 0x08 }, 154 { "linux/kvm.h", "KVM_SET_IRQCHIP", _IOC_READ, 0xae63, 0x208 }, 155 { "linux/kvm.h", "KVM_SET_MEMORY_REGION", _IOC_WRITE, 0xae40, 0x18 }, 156 { "linux/kvm.h", "KVM_SET_MP_STATE", _IOC_WRITE, 0xae99, 0x04 }, 157 { "linux/kvm.h", "KVM_SET_NR_MMU_PAGES", _IOC_NONE, 0xae44, 0x00 }, 158 { "linux/kvm.h", "KVM_SET_ONE_REG", _IOC_WRITE, 0xaeac, 0x10 }, 159 { "linux/kvm.h", "KVM_SET_REGS", _IOC_WRITE, 0xae82, 0x188 }, 160 { "linux/kvm.h", "KVM_SET_SIGNAL_MASK", _IOC_WRITE, 0xae8b, 0x04 }, 161 { "linux/kvm.h", "KVM_SET_SREGS", _IOC_WRITE, 0xae84, 0x4d0 }, 162 { "linux/kvm.h", "KVM_SET_TSC_KHZ", _IOC_NONE, 0xaea2, 0x00 }, 163 { "linux/kvm.h", "KVM_SET_TSS_ADDR", _IOC_NONE, 0xae47, 0x00 }, 164 { "linux/kvm.h", "KVM_SET_USER_MEMORY_REGION", _IOC_WRITE, 0xae46, 0x20 }, 165 { "linux/kvm.h", "KVM_SET_VAPIC_ADDR", _IOC_WRITE, 0xae93, 0x08 }, 166 { "linux/kvm.h", "KVM_SIGNAL_MSI", _IOC_WRITE, 0xaea5, 0x20 }, 167 { "linux/kvm.h", "KVM_SMI", _IOC_NONE, 0xaeb7, 0x00 }, 168 { "linux/kvm.h", "KVM_TPR_ACCESS_REPORTING", _IOC_READ|_IOC_WRITE, 0xae92, 0x28 }, 169 { "linux/kvm.h", "KVM_TRANSLATE", _IOC_READ|_IOC_WRITE, 0xae85, 0x18 }, 170 { "linux/kvm.h", "KVM_UNREGISTER_COALESCED_MMIO", _IOC_WRITE, 0xae68, 0x10 }, 171