/development/ndk/platforms/android-21/include/asm-generic/ |
D | ioctl.h | 52 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr)… macro 55 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) 56 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) 57 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) 59 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) 60 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 61 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 62 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/development/ndk/platforms/android-3/include/asm-generic/ |
D | ioctl.h | 34 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr)… macro 39 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) 40 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) 41 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) 42 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) 43 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 44 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) 45 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
/development/ndk/platforms/android-9/arch-mips/include/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))
|
/development/ndk/platforms/android-21/include/linux/ |
D | hidraw.h | 39 #define HIDIOCGRAWNAME(len) _IOC(_IOC_READ, 'H', 0x04, len) 40 #define HIDIOCGRAWPHYS(len) _IOC(_IOC_READ, 'H', 0x05, len) 41 #define HIDIOCSFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x06, len) 42 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, 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 | hiddev.h | 130 #define HIDIOCGNAME(len) _IOC(_IOC_READ, 'H', 0x06, len) 145 #define HIDIOCGPHYS(len) _IOC(_IOC_READ, 'H', 0x12, len)
|
D | android_alarm.h | 55 #define ANDROID_ALARM_BASE_CMD(cmd) (cmd & ~(_IOC(0, 0, 0xf0, 0)))
|
D | joystick.h | 40 #define JSIOCGNAME(len) _IOC(_IOC_READ, 'j', 0x13, len)
|
/development/ndk/platforms/android-3/include/linux/ |
D | input.h | 51 #define EVIOCGNAME(len) _IOC(_IOC_READ, 'E', 0x06, len) 52 #define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) 53 #define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) 55 #define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) 56 #define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) 57 #define EVIOCGSND(len) _IOC(_IOC_READ, 'E', 0x1a, len) 58 #define EVIOCGSW(len) _IOC(_IOC_READ, 'E', 0x1b, len) 60 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + ev, len) 64 #define EVIOCSFF _IOC(_IOC_WRITE, 'E', 0x80, sizeof(struct ff_effect))
|
D | android_alarm.h | 47 #define ANDROID_ALARM_BASE_CMD(cmd) (cmd & ~(_IOC(0, 0, 0xf0, 0)))
|