Searched refs:HIDIOCGFEATURE (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/samples/hidraw/
H A Dhid-example.c24 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len) macro
121 printf("ioctl HIDIOCGFEATURE returned: %d\n", res); main()
125 res = ioctl(fd, HIDIOCGFEATURE(256), buf); main()
127 perror("HIDIOCGFEATURE"); main()
129 printf("ioctl HIDIOCGFEATURE returned: %d\n", res); main()
/linux-4.1.27/include/uapi/linux/
H A Dhidraw.h40 #define HIDIOCGFEATURE(len) _IOC(_IOC_WRITE|_IOC_READ, 'H', 0x07, len) macro
/linux-4.1.27/drivers/hid/
H A Dhidraw.c432 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGFEATURE(0))) { hidraw_ioctl()

Completed in 135 milliseconds