Searched refs:_IOC (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/kernel/common/asm-generic/ |
D | ioctl.h | 40 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr)… macro 44 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) 45 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) 46 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) 47 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) 49 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 50 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 51 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/bionic/libc/kernel/arch-mips/asm/ |
D | ioctl.h | 45 #define _IOC(dir, type, nr, size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((… macro 49 #define _IO(type, nr) _IOC(_IOC_NONE, (type), (nr), 0) 50 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) 51 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) 52 #define _IOWR(type, nr, size) _IOC(_IOC_READ|_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) 54 #define _IOR_BAD(type, nr, size) _IOC(_IOC_READ, (type), (nr), sizeof(size)) 55 #define _IOW_BAD(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) 56 #define _IOWR_BAD(type, nr, size) _IOC(_IOC_READ|_IOC_WRITE, (type), (nr), sizeof(size))
|
/bionic/libc/kernel/common/linux/ |
D | hidraw.h | 39 #define HIDIOCGRAWNAME(len) _IOC(_IOC_READ, 'H', 0x04, len) 40 #define HIDIOCGRAWPHYS(len) _IOC(_IOC_READ, 'H', 0x05, len)
|
D | input.h | 72 #define EVIOCGNAME(len) _IOC(_IOC_READ, 'E', 0x06, len) 74 #define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) 75 #define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) 76 #define EVIOCGPROP(len) _IOC(_IOC_READ, 'E', 0x09, len) 77 #define EVIOCGMTSLOTS(len) _IOC(_IOC_READ, 'E', 0x0a, len) 79 #define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) 80 #define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) 81 #define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len) 82 #define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len) 84 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len) [all …]
|
D | android_alarm.h | 52 #define ANDROID_ALARM_BASE_CMD(cmd) (cmd & ~(_IOC(0, 0, 0xf0, 0)))
|
/bionic/libc/kernel/common/media/ |
D | soc2030.h | 24 #define SOC2030_IOCTL_GET_STATUS _IOC(_IOC_READ, 'o', 2, 10)
|