Home
last modified time | relevance | path

Searched refs:_IOC (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/kernel/common/asm-generic/
Dioctl.h34 #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))
/bionic/libc/kernel/common/linux/
Dinput.h51 #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))
Dandroid_alarm.h47 #define ANDROID_ALARM_BASE_CMD(cmd) (cmd & ~(_IOC(0, 0, 0xf0, 0)))