Searched refs:_IOC_NR (Results 1 – 6 of 6) sorted by relevance
319 if ((_IOC_NR(code) & ~EV_MAX) == _IOC_NR(EVIOCGBIT(0, 0))) { in evdev_read_ioctl()320 switch (_IOC_NR(code) - 0x20) { in evdev_read_ioctl()364 if ((_IOC_NR(code) & ~ABS_MAX) == _IOC_NR(EVIOCGABS(0))) in evdev_read_ioctl()390 switch (_IOC_NR(code)) { in evdev_read_ioctl()392 case _IOC_NR(EVIOCGMTSLOTS(0)): in evdev_read_ioctl()395 case _IOC_NR(EVIOCGNAME(0)): in evdev_read_ioctl()396 case _IOC_NR(EVIOCGPHYS(0)): in evdev_read_ioctl()397 case _IOC_NR(EVIOCGUNIQ(0)): in evdev_read_ioctl()402 case _IOC_NR(EVIOCGPROP(0)): in evdev_read_ioctl()406 case _IOC_NR(EVIOCGSND(0)): in evdev_read_ioctl()[all …]
83 _IOC_TYPE(code), _IOC_NR(code), _IOC_SIZE(code)); in ioctl_print_code()89 const unsigned int nr = _IOC_NR(code); in evdev_decode_number()115 switch (_IOC_NR(nr)) { in evdev_decode_number()152 switch (_IOC_NR(code)) { in hiddev_decode_number()169 switch (_IOC_NR(code)) { in hiddev_decode_number()196 tprintf("MIXER_WRITE(%u)", _IOC_NR(code)); in ioctl_decode_command_number()199 tprintf("MIXER_READ(%u)", _IOC_NR(code)); in ioctl_decode_command_number()204 if (_IOC_DIR(code) == _IOC_READ && _IOC_NR(code) == 0x2c) { in ioctl_decode_command_number()210 if (_IOC_DIR(code) == _IOC_READ && _IOC_NR(code) == 0x13) { in ioctl_decode_command_number()216 if (_IOC_DIR(code) == _IOC_WRITE && _IOC_NR(code) == 0) { in ioctl_decode_command_number()
60 #define ANDROID_ALARM_IOCTL_TO_TYPE(cmd) (_IOC_NR(cmd) >> 4)
87 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) macro
52 #define DRM_IOCTL_NR(n) _IOC_NR(n)
961 COMPILER_CHECK(IOC_NR(0x12345678) == _IOC_NR(0x12345678));