/linux/drivers/media/v4l2-core/ |
A D | v4l2-dev.c | 577 set_bit(_IOC_NR(VIDIOC_G_CTRL), valid_ioctls); in determine_valid_ioctls() 579 set_bit(_IOC_NR(VIDIOC_S_CTRL), valid_ioctls); in determine_valid_ioctls() 617 set_bit(_IOC_NR(VIDIOC_G_FMT), valid_ioctls); in determine_valid_ioctls() 624 set_bit(_IOC_NR(VIDIOC_S_FMT), valid_ioctls); in determine_valid_ioctls() 645 set_bit(_IOC_NR(VIDIOC_G_CROP), valid_ioctls); in determine_valid_ioctls() 646 set_bit(_IOC_NR(VIDIOC_CROPCAP), valid_ioctls); in determine_valid_ioctls() 649 set_bit(_IOC_NR(VIDIOC_S_CROP), valid_ioctls); in determine_valid_ioctls() 672 set_bit(_IOC_NR(VIDIOC_G_FMT), valid_ioctls); in determine_valid_ioctls() 677 set_bit(_IOC_NR(VIDIOC_S_FMT), valid_ioctls); in determine_valid_ioctls() 682 set_bit(_IOC_NR(VIDIOC_TRY_FMT), valid_ioctls); in determine_valid_ioctls() [all …]
|
A D | v4l2-fh.c | 33 set_bit(_IOC_NR(VIDIOC_G_PRIORITY), vdev->valid_ioctls); in v4l2_fh_init() 34 set_bit(_IOC_NR(VIDIOC_S_PRIORITY), vdev->valid_ioctls); in v4l2_fh_init()
|
A D | v4l2-ioctl.c | 2720 [_IOC_NR(_ioctl)] = { \ 2843 if (_IOC_NR(cmd) >= V4L2_IOCTLS) in v4l2_is_known_ioctl() 2845 return v4l2_ioctls[_IOC_NR(cmd)].ioctl == cmd; in v4l2_is_known_ioctl() 2852 if (_IOC_NR(cmd) >= V4L2_IOCTLS) in v4l2_ioctl_get_lock() 2860 (v4l2_ioctls[_IOC_NR(cmd)].flags & INFO_FL_QUEUE)) in v4l2_ioctl_get_lock() 2879 if (_IOC_NR(cmd) >= V4L2_IOCTLS) { in v4l_printk_ioctl() 2883 pr_cont("%s", v4l2_ioctls[_IOC_NR(cmd)].name); in v4l_printk_ioctl() 2898 type, _IOC_TYPE(cmd), dir, _IOC_NR(cmd), cmd); in v4l_printk_ioctl() 2954 info = &v4l2_ioctls[_IOC_NR(cmd)]; in __video_do_ioctl() 2956 if (!test_bit(_IOC_NR(cmd), vfd->valid_ioctls) && in __video_do_ioctl() [all …]
|
/linux/drivers/hid/ |
A D | hidraw.c | 420 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCSFEATURE(0))) { in hidraw_ioctl() 425 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGFEATURE(0))) { in hidraw_ioctl() 431 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCSINPUT(0))) { in hidraw_ioctl() 436 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGINPUT(0))) { in hidraw_ioctl() 442 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCSOUTPUT(0))) { in hidraw_ioctl() 447 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGOUTPUT(0))) { in hidraw_ioctl() 459 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGRAWNAME(0))) { in hidraw_ioctl() 468 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGRAWPHYS(0))) { in hidraw_ioctl() 477 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGRAWUNIQ(0))) { in hidraw_ioctl()
|
/linux/tools/perf/trace/beauty/ |
A D | ioctl.c | 24 [_IOC_NR(TCGETS)] = "TCGETS", "TCSETS", "TCSETSW", "TCSETSF", "TCGETA", "TCSETA", "TCSETAW", in ioctl__scnprintf_tty_cmd() 30 [_IOC_NR(TIOCSBRK)] = "TIOCSBRK", "TIOCCBRK", "TIOCGSID", "TCGETS2", "TCSETS2", in ioctl__scnprintf_tty_cmd() 33 "TIOCGPTLCK", [_IOC_NR(TIOCGEXCL)] = "TIOCGEXCL", "TIOCGPTPEER", in ioctl__scnprintf_tty_cmd() 35 [_IOC_NR(FIONCLEX)] = "FIONCLEX", "FIOCLEX", "FIOASYNC", "TIOCSERCONFIG", in ioctl__scnprintf_tty_cmd() 131 nr = _IOC_NR(cmd), in ioctl__scnprintf_cmd() 183 return ioctl__scnprintf_usbdevfs_cmd(_IOC_NR(cmd), _IOC_DIR(cmd), bf, size); in syscall_arg__scnprintf_ioctl_cmd()
|
/linux/sound/core/ |
A D | compress_offload.c | 973 switch (_IOC_NR(cmd)) { in snd_compr_ioctl() 978 case _IOC_NR(SNDRV_COMPRESS_GET_CAPS): in snd_compr_ioctl() 986 case _IOC_NR(SNDRV_COMPRESS_SET_PARAMS): in snd_compr_ioctl() 989 case _IOC_NR(SNDRV_COMPRESS_GET_PARAMS): in snd_compr_ioctl() 998 case _IOC_NR(SNDRV_COMPRESS_TSTAMP): in snd_compr_ioctl() 1001 case _IOC_NR(SNDRV_COMPRESS_AVAIL): in snd_compr_ioctl() 1004 case _IOC_NR(SNDRV_COMPRESS_PAUSE): in snd_compr_ioctl() 1007 case _IOC_NR(SNDRV_COMPRESS_RESUME): in snd_compr_ioctl() 1010 case _IOC_NR(SNDRV_COMPRESS_START): in snd_compr_ioctl() 1013 case _IOC_NR(SNDRV_COMPRESS_STOP): in snd_compr_ioctl() [all …]
|
/linux/drivers/input/ |
A D | evdev.c | 1199 if ((_IOC_NR(cmd) & ~EV_MAX) == _IOC_NR(EVIOCGBIT(0, 0))) in evdev_do_ioctl() 1201 _IOC_NR(cmd) & EV_MAX, size, in evdev_do_ioctl() 1204 if ((_IOC_NR(cmd) & ~ABS_MAX) == _IOC_NR(EVIOCGABS(0))) { in evdev_do_ioctl() 1209 t = _IOC_NR(cmd) & ABS_MAX; in evdev_do_ioctl() 1222 if ((_IOC_NR(cmd) & ~ABS_MAX) == _IOC_NR(EVIOCSABS(0))) { in evdev_do_ioctl() 1227 t = _IOC_NR(cmd) & ABS_MAX; in evdev_do_ioctl()
|
/linux/include/media/ |
A D | v4l2-dev.h | 471 if (_IOC_NR(cmd) < BASE_VIDIOC_PRIVATE) in v4l2_disable_ioctl() 472 set_bit(_IOC_NR(cmd), vdev->valid_ioctls); in v4l2_disable_ioctl()
|
/linux/drivers/android/ |
A D | binder_trace.h | 401 _IOC_NR(__entry->cmd) < ARRAY_SIZE(binder_command_strings) ? 402 binder_command_strings[_IOC_NR(__entry->cmd)] : 417 _IOC_NR(__entry->cmd) < ARRAY_SIZE(binder_return_strings) ? 418 binder_return_strings[_IOC_NR(__entry->cmd)] :
|
A D | binder_internal.h | 158 atomic_t br[_IOC_NR(BR_ONEWAY_SPAM_SUSPECT) + 1]; 159 atomic_t bc[_IOC_NR(BC_REPLY_SG) + 1];
|
/linux/fs/autofs/ |
A D | dev-ioctl.c | 138 unsigned int inr = _IOC_NR(cmd); in validate_dev_ioctl() 564 #define cmd_idx(cmd) (cmd - _IOC_NR(AUTOFS_DEV_IOCTL_IOC_FIRST)) 603 cmd_first = _IOC_NR(AUTOFS_DEV_IOCTL_IOC_FIRST); in _autofs_dev_ioctl() 604 cmd = _IOC_NR(command); in _autofs_dev_ioctl()
|
A D | root.c | 872 _IOC_NR(cmd) - _IOC_NR(AUTOFS_IOC_FIRST) >= AUTOFS_IOC_COUNT) in autofs_root_ioctl_unlocked()
|
/linux/drivers/misc/habanalabs/common/ |
A D | habanalabs_ioctl.c | 633 [_IOC_NR(ioctl)] = {.cmd = ioctl, .func = _func} 653 unsigned int nr = _IOC_NR(cmd); in _hl_ioctl() 725 unsigned int nr = _IOC_NR(cmd); in hl_ioctl() 748 unsigned int nr = _IOC_NR(cmd); in hl_ioctl_control() 755 if (nr == _IOC_NR(HL_IOCTL_INFO)) { in hl_ioctl_control()
|
/linux/drivers/spi/ |
A D | spidev.c | 328 || _IOC_NR(cmd) != _IOC_NR(SPI_IOC_MESSAGE(0)) in spidev_get_ioc_message() 552 && _IOC_NR(cmd) == _IOC_NR(SPI_IOC_MESSAGE(0)) in spidev_compat_ioctl()
|
/linux/drivers/staging/vc04_services/interface/vchiq_arm/ |
A D | vchiq_dev.c | 589 ((_IOC_TYPE(cmd) == VCHIQ_IOC_MAGIC) && (_IOC_NR(cmd) <= VCHIQ_IOC_MAX)) ? in vchiq_ioctl() 590 ioctl_names[_IOC_NR(cmd)] : "<invalid>", arg); in vchiq_ioctl() 876 instance, (_IOC_NR(cmd) <= VCHIQ_IOC_MAX) ? in vchiq_ioctl() 877 ioctl_names[_IOC_NR(cmd)] : "<invalid>", status, ret); in vchiq_ioctl() 881 instance, (_IOC_NR(cmd) <= VCHIQ_IOC_MAX) ? in vchiq_ioctl() 882 ioctl_names[_IOC_NR(cmd)] : "<invalid>", status, ret); in vchiq_ioctl()
|
/linux/include/drm/ |
A D | drm_ioctl.h | 70 #define DRM_IOCTL_NR(n) _IOC_NR(n)
|
/linux/arch/alpha/include/uapi/asm/ |
A D | ioctl.h | 56 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) macro
|
/linux/fs/orangefs/ |
A D | devorangefs-req.c | 583 if (_IOC_NR(command) >= ORANGEFS_DEV_MAXNR || _IOC_NR(command) <= 0) { in check_ioctl_command() 585 _IOC_NR(command), ORANGEFS_DEV_MAXNR); in check_ioctl_command()
|
/linux/drivers/char/pcmcia/ |
A D | cm4000_cs.c | 1413 [_IOC_NR(CM_IOCGSTATUS)] "CM_IOCGSTATUS", in cmm_ioctl() 1414 [_IOC_NR(CM_IOCGATR)] "CM_IOCGATR", in cmm_ioctl() 1415 [_IOC_NR(CM_IOCARDOFF)] "CM_IOCARDOFF", in cmm_ioctl() 1416 [_IOC_NR(CM_IOCSPTS)] "CM_IOCSPTS", in cmm_ioctl() 1417 [_IOC_NR(CM_IOSDBGLVL)] "CM4000_DBGLVL", in cmm_ioctl() 1420 iminor(inode), ioctl_names[_IOC_NR(cmd)]); in cmm_ioctl() 1441 if (_IOC_NR(cmd) > CM_IOC_MAXNR) { in cmm_ioctl()
|
/linux/arch/sparc/include/uapi/asm/ |
A D | ioctl.h | 56 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) macro
|
/linux/drivers/media/mc/ |
A D | mc-device.c | 409 [_IOC_NR(MEDIA_IOC_##__cmd)] = { \ 448 if (_IOC_NR(cmd) >= ARRAY_SIZE(ioctl_info) in media_device_ioctl() 449 || ioctl_info[_IOC_NR(cmd)].cmd != cmd) in media_device_ioctl() 452 info = &ioctl_info[_IOC_NR(cmd)]; in media_device_ioctl()
|
/linux/include/uapi/asm-generic/ |
A D | ioctl.h | 96 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) macro
|
/linux/drivers/hid/usbhid/ |
A D | hiddev.c | 823 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGNAME(0))) { in hiddev_ioctl() 832 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGPHYS(0))) { in hiddev_ioctl()
|
/linux/drivers/dma-buf/ |
A D | dma-heap.c | 132 int nr = _IOC_NR(ucmd); in dma_heap_ioctl()
|
/linux/kernel/power/ |
A D | user.c | 249 if (_IOC_NR(cmd) > SNAPSHOT_IOC_MAXNR) in snapshot_ioctl()
|