Home
last modified time | relevance | path

Searched refs:_IO (Results 1 – 25 of 134) sorted by relevance

123456

/external/ltp/testcases/kernel/device-drivers/base/tbase/
Dtbase.h32 #define DEV_PROBE _IO(MAG_NUM, 1)
33 #define REG_DEVICE _IO(MAG_NUM, 2)
34 #define UNREG_DEVICE _IO(MAG_NUM, 3)
35 #define BUS_ADD _IO(MAG_NUM, 4)
36 #define FIND_BUS _IO(MAG_NUM, 5)
37 #define BUS_REMOVE _IO(MAG_NUM, 6)
38 #define GET_DRV _IO(MAG_NUM, 7)
39 #define PUT_DRV _IO(MAG_NUM, 8)
40 #define DRV_REG _IO(MAG_NUM, 9)
41 #define DRV_UNREG _IO(MAG_NUM, 10)
[all …]
/external/kernel-headers/original/uapi/linux/
Disdn.h24 #define IIOCNETAIF _IO('I',1)
25 #define IIOCNETDIF _IO('I',2)
26 #define IIOCNETSCF _IO('I',3)
27 #define IIOCNETGCF _IO('I',4)
28 #define IIOCNETANM _IO('I',5)
29 #define IIOCNETDNM _IO('I',6)
30 #define IIOCNETGNM _IO('I',7)
31 #define IIOCGETSET _IO('I',8) /* no longer supported */
32 #define IIOCSETSET _IO('I',9) /* no longer supported */
33 #define IIOCSETVER _IO('I',10)
[all …]
Dfs.h189 #define BLKROSET _IO(0x12,93) /* set device read-only (0 = read-write) */
190 #define BLKROGET _IO(0x12,94) /* get read-only status (0 = read_write) */
191 #define BLKRRPART _IO(0x12,95) /* re-read partition table */
192 #define BLKGETSIZE _IO(0x12,96) /* return device size /512 (long *arg) */
193 #define BLKFLSBUF _IO(0x12,97) /* flush buffer cache */
194 #define BLKRASET _IO(0x12,98) /* set read ahead for block device */
195 #define BLKRAGET _IO(0x12,99) /* get current read ahead setting */
196 #define BLKFRASET _IO(0x12,100)/* set filesystem (mm/filemap.c) read-ahead */
197 #define BLKFRAGET _IO(0x12,101)/* get filesystem (mm/filemap.c) read-ahead */
198 #define BLKSECTSET _IO(0x12,102)/* set max sectors per request (ll_rw_blk.c) */
[all …]
Dtelephony.h94 #define PHONE_CAPABILITIES _IO ('q', 0x80)
109 #define PHONE_RING _IO ('q', 0x83)
110 #define PHONE_HOOKSTATE _IO ('q', 0x84)
113 #define OLD_PHONE_RING_START _IO ('q', 0x87)
115 #define PHONE_RING_STOP _IO ('q', 0x88)
120 #define PHONE_REC_START _IO ('q', 0x8A)
121 #define PHONE_REC_STOP _IO ('q', 0x8B)
126 #define PHONE_REC_LEVEL _IO ('q', 0x8F)
129 #define PHONE_PLAY_START _IO ('q', 0x91)
130 #define PHONE_PLAY_STOP _IO ('q', 0x92)
[all …]
Dvfio.h100 #define VFIO_GET_API_VERSION _IO(VFIO_TYPE, VFIO_BASE + 0)
109 #define VFIO_CHECK_EXTENSION _IO(VFIO_TYPE, VFIO_BASE + 1)
122 #define VFIO_SET_IOMMU _IO(VFIO_TYPE, VFIO_BASE + 2)
141 #define VFIO_GROUP_GET_STATUS _IO(VFIO_TYPE, VFIO_BASE + 3)
155 #define VFIO_GROUP_SET_CONTAINER _IO(VFIO_TYPE, VFIO_BASE + 4)
170 #define VFIO_GROUP_UNSET_CONTAINER _IO(VFIO_TYPE, VFIO_BASE + 5)
182 #define VFIO_GROUP_GET_DEVICE_FD _IO(VFIO_TYPE, VFIO_BASE + 6)
204 #define VFIO_DEVICE_GET_INFO _IO(VFIO_TYPE, VFIO_BASE + 7)
240 #define VFIO_DEVICE_GET_REGION_INFO _IO(VFIO_TYPE, VFIO_BASE + 8)
343 #define VFIO_DEVICE_GET_IRQ_INFO _IO(VFIO_TYPE, VFIO_BASE + 9)
[all …]
Dnbd.h20 #define NBD_SET_SOCK _IO( 0xab, 0 )
21 #define NBD_SET_BLKSIZE _IO( 0xab, 1 )
22 #define NBD_SET_SIZE _IO( 0xab, 2 )
23 #define NBD_DO_IT _IO( 0xab, 3 )
24 #define NBD_CLEAR_SOCK _IO( 0xab, 4 )
25 #define NBD_CLEAR_QUE _IO( 0xab, 5 )
26 #define NBD_PRINT_DEBUG _IO( 0xab, 6 )
27 #define NBD_SET_SIZE_BLOCKS _IO( 0xab, 7 )
28 #define NBD_DISCONNECT _IO( 0xab, 8 )
29 #define NBD_SET_TIMEOUT _IO( 0xab, 9 )
[all …]
Dsuspend_ioctls.h16 #define SNAPSHOT_FREEZE _IO(SNAPSHOT_IOC_MAGIC, 1)
17 #define SNAPSHOT_UNFREEZE _IO(SNAPSHOT_IOC_MAGIC, 2)
18 #define SNAPSHOT_ATOMIC_RESTORE _IO(SNAPSHOT_IOC_MAGIC, 4)
19 #define SNAPSHOT_FREE _IO(SNAPSHOT_IOC_MAGIC, 5)
20 #define SNAPSHOT_FREE_SWAP_PAGES _IO(SNAPSHOT_IOC_MAGIC, 9)
21 #define SNAPSHOT_S2RAM _IO(SNAPSHOT_IOC_MAGIC, 11)
25 #define SNAPSHOT_PLATFORM_SUPPORT _IO(SNAPSHOT_IOC_MAGIC, 15)
26 #define SNAPSHOT_POWER_OFF _IO(SNAPSHOT_IOC_MAGIC, 16)
28 #define SNAPSHOT_PREF_IMAGE_SIZE _IO(SNAPSHOT_IOC_MAGIC, 18)
Drtc.h70 #define RTC_AIE_ON _IO('p', 0x01) /* Alarm int. enable on */
71 #define RTC_AIE_OFF _IO('p', 0x02) /* ... off */
72 #define RTC_UIE_ON _IO('p', 0x03) /* Update int. enable on */
73 #define RTC_UIE_OFF _IO('p', 0x04) /* ... off */
74 #define RTC_PIE_ON _IO('p', 0x05) /* Periodic int. enable on */
75 #define RTC_PIE_OFF _IO('p', 0x06) /* ... off */
76 #define RTC_WIE_ON _IO('p', 0x0f) /* Watchdog int. enable on */
77 #define RTC_WIE_OFF _IO('p', 0x10) /* ... off */
95 #define RTC_VL_CLR _IO('p', 0x14) /* Clear voltage low information */
Dsynclink.h280 #define MGSL_IOCSTXIDLE _IO(MGSL_MAGIC_IOC,2)
281 #define MGSL_IOCGTXIDLE _IO(MGSL_MAGIC_IOC,3)
282 #define MGSL_IOCTXENABLE _IO(MGSL_MAGIC_IOC,4)
283 #define MGSL_IOCRXENABLE _IO(MGSL_MAGIC_IOC,5)
284 #define MGSL_IOCTXABORT _IO(MGSL_MAGIC_IOC,6)
285 #define MGSL_IOCGSTATS _IO(MGSL_MAGIC_IOC,7)
287 #define MGSL_IOCCLRMODCOUNT _IO(MGSL_MAGIC_IOC,15)
288 #define MGSL_IOCLOOPTXDONE _IO(MGSL_MAGIC_IOC,9)
289 #define MGSL_IOCSIF _IO(MGSL_MAGIC_IOC,10)
290 #define MGSL_IOCGIF _IO(MGSL_MAGIC_IOC,11)
[all …]
Dfd.h48 #define FDCLRPRM _IO(2, 0x41)
62 #define FDMSGON _IO(2,0x45)
63 #define FDMSGOFF _IO(2,0x46)
76 #define FDFMTBEG _IO(2,0x47)
80 #define FDFMTEND _IO(2,0x49)
105 #define FDSETEMSGTRESH _IO(2,0x4a)
108 #define FDFLUSH _IO(2,0x4b)
248 #define FDRESET _IO(2, 0x54)
314 #define FDWERRORCLR _IO(2, 0x56)
370 #define FDRAWCMD _IO(2, 0x58)
[all …]
Dhpet.h16 #define HPET_IE_ON _IO('h', 0x01) /* interrupt on */
17 #define HPET_IE_OFF _IO('h', 0x02) /* interrupt off */
19 #define HPET_EPI _IO('h', 0x04) /* enable periodic */
20 #define HPET_DPI _IO('h', 0x05) /* disable periodic */
Datmarp.h21 #define ATMARPD_CTRL _IO('a',ATMIOC_CLIP+1) /* become atmarpd ctrl sock */
22 #define ATMARP_MKIP _IO('a',ATMIOC_CLIP+2) /* attach socket to IP */
23 #define ATMARP_SETENTRY _IO('a',ATMIOC_CLIP+3) /* fill or hide ARP entry */
24 #define ATMARP_ENCAP _IO('a',ATMIOC_CLIP+5) /* change encapsulation */
Dashmem.h40 #define ASHMEM_GET_SIZE _IO(__ASHMEMIOC, 4)
42 #define ASHMEM_GET_PROT_MASK _IO(__ASHMEMIOC, 6)
45 #define ASHMEM_GET_PIN_STATUS _IO(__ASHMEMIOC, 9)
46 #define ASHMEM_PURGE_ALL_CACHES _IO(__ASHMEMIOC, 10)
/external/ltp/testcases/kernel/device-drivers/agp/kernel_space/
Dtagp.h44 #define TEST_PCI_FIND_DEV _IO(MAG_NUM, 1)
45 #define TEST_BACKEND_ACQUIRE _IO(MAG_NUM, 2)
46 #define TEST_BACKEND_RELEASE _IO(MAG_NUM, 3)
47 #define TEST_ALLOC_BRIDGE _IO(MAG_NUM, 4)
48 #define TEST_PUT_BRIDGE _IO(MAG_NUM, 5)
49 #define TEST_CREATE_AND_FREE_MEMORY _IO(MAG_NUM, 6)
51 #define TEST_COPY_INFO _IO(MAG_NUM, 8)
53 #define TEST_GET_VERSION _IO(MAG_NUM, 10)
54 #define TEST_GENERIC_ENABLE _IO(MAG_NUM, 11)
55 #define TEST_NUM_ENTRIES _IO(MAG_NUM, 12)
[all …]
/external/kernel-headers/original/uapi/linux/dvb/
Daudio.h101 #define AUDIO_STOP _IO('o', 1)
102 #define AUDIO_PLAY _IO('o', 2)
103 #define AUDIO_PAUSE _IO('o', 3)
104 #define AUDIO_CONTINUE _IO('o', 4)
105 #define AUDIO_SELECT_SOURCE _IO('o', 5)
106 #define AUDIO_SET_MUTE _IO('o', 6)
107 #define AUDIO_SET_AV_SYNC _IO('o', 7)
108 #define AUDIO_SET_BYPASS_MODE _IO('o', 8)
109 #define AUDIO_CHANNEL_SELECT _IO('o', 9)
113 #define AUDIO_CLEAR_BUFFER _IO('o', 12)
[all …]
Dvideo.h229 #define VIDEO_STOP _IO('o', 21)
230 #define VIDEO_PLAY _IO('o', 22)
231 #define VIDEO_FREEZE _IO('o', 23)
232 #define VIDEO_CONTINUE _IO('o', 24)
233 #define VIDEO_SELECT_SOURCE _IO('o', 25)
234 #define VIDEO_SET_BLANK _IO('o', 26)
237 #define VIDEO_SET_DISPLAY_FORMAT _IO('o', 29)
239 #define VIDEO_FAST_FORWARD _IO('o', 31)
240 #define VIDEO_SLOWMOTION _IO('o', 32)
242 #define VIDEO_CLEAR_BUFFER _IO('o', 34)
[all …]
/external/kernel-headers/original/uapi/linux/raid/
Dmd_u.h42 #define RAID_AUTORUN _IO (MD_MAJOR, 0x14)
46 #define CLEAR_ARRAY _IO (MD_MAJOR, 0x20)
48 #define HOT_REMOVE_DISK _IO (MD_MAJOR, 0x22)
50 #define SET_DISK_INFO _IO (MD_MAJOR, 0x24)
51 #define WRITE_RAID_INFO _IO (MD_MAJOR, 0x25)
52 #define UNPROTECT_ARRAY _IO (MD_MAJOR, 0x26)
53 #define PROTECT_ARRAY _IO (MD_MAJOR, 0x27)
54 #define HOT_ADD_DISK _IO (MD_MAJOR, 0x28)
55 #define SET_DISK_FAULTY _IO (MD_MAJOR, 0x29)
56 #define HOT_GENERATE_ERROR _IO (MD_MAJOR, 0x2a)
[all …]
/external/kernel-headers/original/uapi/linux/usb/
Dtmc.h42 #define USBTMC_IOCTL_INDICATOR_PULSE _IO(USBTMC_IOC_NR, 1)
43 #define USBTMC_IOCTL_CLEAR _IO(USBTMC_IOC_NR, 2)
44 #define USBTMC_IOCTL_ABORT_BULK_OUT _IO(USBTMC_IOC_NR, 3)
45 #define USBTMC_IOCTL_ABORT_BULK_IN _IO(USBTMC_IOC_NR, 4)
46 #define USBTMC_IOCTL_CLEAR_OUT_HALT _IO(USBTMC_IOC_NR, 6)
47 #define USBTMC_IOCTL_CLEAR_IN_HALT _IO(USBTMC_IOC_NR, 7)
51 #define USBTMC488_IOCTL_GOTO_LOCAL _IO(USBTMC_IOC_NR, 20)
52 #define USBTMC488_IOCTL_LOCAL_LOCKOUT _IO(USBTMC_IOC_NR, 21)
/external/strace/
Dblock.c70 # define BLKPG _IO(0x12, 105)
83 # define BLKTRACESTART _IO(0x12, 116)
86 # define BLKTRACESTOP _IO(0x12, 117)
89 # define BLKTRACETEARDOWN _IO(0x12, 118)
92 # define BLKDISCARD _IO(0x12, 119)
95 # define BLKIOMIN _IO(0x12, 120)
98 # define BLKIOOPT _IO(0x12, 121)
101 # define BLKALIGNOFF _IO(0x12, 122)
104 # define BLKPBSZGET _IO(0x12, 123)
107 # define BLKDISCARDZEROES _IO(0x12, 124)
[all …]
Dnsfs.h10 # define NS_GET_USERNS _IO(NSIO, 0x1)
11 # define NS_GET_PARENT _IO(NSIO, 0x2)
15 # define NS_GET_NSTYPE _IO(NSIO, 0x3)
18 # define NS_GET_OWNER_UID _IO(NSIO, 0x4)
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/
Dtbio.h45 #define LTP_TBIO_CLONE _IO(MAG_NUM,1)
46 #define LTP_TBIO_ALLOC _IO(MAG_NUM,2)
47 #define LTP_TBIO_GET_NR_VECS _IO(MAG_NUM,3)
48 #define LTP_TBIO_PUT _IO(MAG_NUM,4)
49 #define LTP_TBIO_SPLIT _IO(MAG_NUM,5)
50 #define LTP_TBIO_DO_IO _IO(MAG_NUM,6)
51 #define LTP_TBIO_ADD_PAGE _IO(MAG_NUM,7)
/external/ltp/testcases/kernel/device-drivers/usb/tusb/
Dtusb.h27 #define FIND_DEV _IO(MAG_NUM, 1)
28 #define TEST_FIND_HCD _IO(MAG_NUM, 2)
29 #define TEST_HCD_PROBE _IO(MAG_NUM, 3)
30 #define TEST_HCD_REMOVE _IO(MAG_NUM, 4)
31 #define TEST_HCD_SUSPEND _IO(MAG_NUM, 5)
32 #define TEST_HCD_RESUME _IO(MAG_NUM, 6)
/external/kernel-headers/original/uapi/linux/android/
Dbinder.h192 BR_OK = _IO('r', 1),
208 BR_DEAD_REPLY = _IO('r', 5),
214 BR_TRANSACTION_COMPLETE = _IO('r', 6),
238 BR_NOOP = _IO('r', 12),
244 BR_SPAWN_LOOPER = _IO('r', 13),
252 BR_FINISHED = _IO('r', 14),
267 BR_FAILED_REPLY = _IO('r', 17),
315 BC_REGISTER_LOOPER = _IO('c', 11),
321 BC_ENTER_LOOPER = _IO('c', 12),
322 BC_EXIT_LOOPER = _IO('c', 13),
/external/kernel-headers/original/uapi/sound/
Dcompress_offload.h176 #define SNDRV_COMPRESS_PAUSE _IO('C', 0x30)
177 #define SNDRV_COMPRESS_RESUME _IO('C', 0x31)
178 #define SNDRV_COMPRESS_START _IO('C', 0x32)
179 #define SNDRV_COMPRESS_STOP _IO('C', 0x33)
180 #define SNDRV_COMPRESS_DRAIN _IO('C', 0x34)
181 #define SNDRV_COMPRESS_NEXT_TRACK _IO('C', 0x35)
182 #define SNDRV_COMPRESS_PARTIAL_DRAIN _IO('C', 0x36)
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_invalid_ioctl.c47 do_invalid_ioctl(get_video_fd(), _IO(0, 0)); in test_invalid_ioctl_1()
52 do_invalid_ioctl(get_video_fd(), _IO(0xFF, 0xFF)); in test_invalid_ioctl_2()
57 do_invalid_ioctl(get_video_fd(), _IO('v', 0xFF)); in test_invalid_ioctl_3()
62 do_invalid_ioctl(get_video_fd(), _IO('V', 0xFF)); in test_invalid_ioctl_4()

123456