Searched refs:_IOC_DIR (Results 1 – 5 of 5) sorted by relevance
81 printflags(ioctl_dirs, _IOC_DIR(code), "_IOC_???"); in ioctl_print_code()91 if (_IOC_DIR(code) == _IOC_WRITE) { in evdev_decode_number()100 if (_IOC_DIR(code) != _IOC_READ) in evdev_decode_number()151 if (_IOC_DIR(code) == _IOC_READ) { in hiddev_decode_number()168 } else if (_IOC_DIR(code) == (_IOC_READ | _IOC_WRITE)) { in hiddev_decode_number()195 if (_IOC_DIR(code) == _IOC_WRITE) { in ioctl_decode_command_number()198 } else if (_IOC_DIR(code) == _IOC_READ) { 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()
466 switch(_IOC_DIR(code)) { in evdev_ioctl()
85 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) macro
92 #define _SIOC_DIR _IOC_DIR
960 COMPILER_CHECK(IOC_DIR(0x12345678) == _IOC_DIR(0x12345678));