Lines Matching refs:_IOC_NR
335 switch (_IOC_NR(code)) { in evdev_read_ioctl()
337 case _IOC_NR(EVIOCGMTSLOTS(0)): in evdev_read_ioctl()
340 case _IOC_NR(EVIOCGNAME(0)): in evdev_read_ioctl()
341 case _IOC_NR(EVIOCGPHYS(0)): in evdev_read_ioctl()
342 case _IOC_NR(EVIOCGUNIQ(0)): in evdev_read_ioctl()
350 case _IOC_NR(EVIOCGPROP(0)): in evdev_read_ioctl()
355 case _IOC_NR(EVIOCGSND(0)): in evdev_read_ioctl()
359 case _IOC_NR(EVIOCGSW(0)): in evdev_read_ioctl()
363 case _IOC_NR(EVIOCGKEY(0)): in evdev_read_ioctl()
366 case _IOC_NR(EVIOCGLED(0)): in evdev_read_ioctl()
372 if ((_IOC_NR(code) & ~ABS_MAX) == _IOC_NR(EVIOCGABS(0))) in evdev_read_ioctl()
376 if ((_IOC_NR(code) & ~EV_MAX) == _IOC_NR(EVIOCGBIT(0, 0))) in evdev_read_ioctl()
377 return bit_ioctl(tcp, _IOC_NR(code) & EV_MAX, arg); in evdev_read_ioctl()
422 if ((_IOC_NR(code) & ~ABS_MAX) == _IOC_NR(EVIOCSABS(0))) in evdev_write_ioctl()