/linux-4.19.296/drivers/media/v4l2-core/ |
D | v4l2-dev.c | 509 set_bit(_IOC_NR(cmd), valid_ioctls) 541 set_bit(_IOC_NR(VIDIOC_G_PRIORITY), valid_ioctls); in determine_valid_ioctls() 542 set_bit(_IOC_NR(VIDIOC_S_PRIORITY), valid_ioctls); in determine_valid_ioctls() 549 set_bit(_IOC_NR(VIDIOC_QUERYCTRL), valid_ioctls); in determine_valid_ioctls() 551 set_bit(_IOC_NR(VIDIOC_QUERY_EXT_CTRL), valid_ioctls); in determine_valid_ioctls() 553 set_bit(_IOC_NR(VIDIOC_G_CTRL), valid_ioctls); in determine_valid_ioctls() 555 set_bit(_IOC_NR(VIDIOC_S_CTRL), valid_ioctls); in determine_valid_ioctls() 557 set_bit(_IOC_NR(VIDIOC_G_EXT_CTRLS), valid_ioctls); in determine_valid_ioctls() 559 set_bit(_IOC_NR(VIDIOC_S_EXT_CTRLS), valid_ioctls); in determine_valid_ioctls() 561 set_bit(_IOC_NR(VIDIOC_TRY_EXT_CTRLS), valid_ioctls); in determine_valid_ioctls() [all …]
|
D | v4l2-fh.c | 41 set_bit(_IOC_NR(VIDIOC_G_PRIORITY), vdev->valid_ioctls); in v4l2_fh_init() 42 set_bit(_IOC_NR(VIDIOC_S_PRIORITY), vdev->valid_ioctls); in v4l2_fh_init()
|
D | v4l2-ioctl.c | 42 #define is_valid_ioctl(vfd, cmd) test_bit(_IOC_NR(cmd), (vfd)->valid_ioctls) 2555 [_IOC_NR(_ioctl)] = { \ 2680 if (_IOC_NR(cmd) >= V4L2_IOCTLS) in v4l2_is_known_ioctl() 2682 return v4l2_ioctls[_IOC_NR(cmd)].ioctl == cmd; in v4l2_is_known_ioctl() 2728 if (_IOC_NR(cmd) >= V4L2_IOCTLS) in v4l2_ioctl_get_lock() 2732 (v4l2_ioctls[_IOC_NR(cmd)].flags & INFO_FL_QUEUE)) { in v4l2_ioctl_get_lock() 2742 (v4l2_ioctls[_IOC_NR(cmd)].flags & INFO_FL_QUEUE)) in v4l2_ioctl_get_lock() 2761 if (_IOC_NR(cmd) >= V4L2_IOCTLS) { in v4l_printk_ioctl() 2765 pr_cont("%s", v4l2_ioctls[_IOC_NR(cmd)].name); in v4l_printk_ioctl() 2780 type, _IOC_TYPE(cmd), dir, _IOC_NR(cmd), cmd); in v4l_printk_ioctl() [all …]
|
D | v4l2-compat-ioctl32.c | 1453 if (_IOC_TYPE(cmd) == 'V' && _IOC_NR(cmd) < BASE_VIDIOC_PRIVATE) in v4l2_compat_ioctl32() 1460 _IOC_TYPE(cmd), _IOC_DIR(cmd), _IOC_NR(cmd), cmd); in v4l2_compat_ioctl32()
|
/linux-4.19.296/drivers/hid/ |
D | hidraw.c | 431 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCSFEATURE(0))) { in hidraw_ioctl() 436 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGFEATURE(0))) { in hidraw_ioctl() 448 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGRAWNAME(0))) { in hidraw_ioctl() 457 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGRAWPHYS(0))) { in hidraw_ioctl()
|
/linux-4.19.296/include/media/ |
D | v4l2-dev.h | 456 if (_IOC_NR(cmd) < BASE_VIDIOC_PRIVATE) in v4l2_disable_ioctl() 457 set_bit(_IOC_NR(cmd), vdev->valid_ioctls); in v4l2_disable_ioctl()
|
/linux-4.19.296/include/drm/ |
D | drm_ioctl.h | 70 #define DRM_IOCTL_NR(n) _IOC_NR(n)
|
/linux-4.19.296/fs/autofs/ |
D | dev-ioctl.c | 139 unsigned int inr = _IOC_NR(cmd); in validate_dev_ioctl() 581 #define cmd_idx(cmd) (cmd - _IOC_NR(AUTOFS_DEV_IOCTL_IOC_FIRST)) 617 cmd_first = _IOC_NR(AUTOFS_DEV_IOCTL_IOC_FIRST); in _autofs_dev_ioctl() 618 cmd = _IOC_NR(command); in _autofs_dev_ioctl()
|
D | root.c | 899 _IOC_NR(cmd) - _IOC_NR(AUTOFS_IOC_FIRST) >= AUTOFS_IOC_COUNT) in autofs_root_ioctl_unlocked()
|
/linux-4.19.296/include/uapi/asm-generic/ |
D | ioctl.h | 96 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) macro
|
/linux-4.19.296/fs/orangefs/ |
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-4.19.296/drivers/char/pcmcia/ |
D | cm4000_cs.c | 1414 [_IOC_NR(CM_IOCGSTATUS)] "CM_IOCGSTATUS", in cmm_ioctl() 1415 [_IOC_NR(CM_IOCGATR)] "CM_IOCGATR", in cmm_ioctl() 1416 [_IOC_NR(CM_IOCARDOFF)] "CM_IOCARDOFF", in cmm_ioctl() 1417 [_IOC_NR(CM_IOCSPTS)] "CM_IOCSPTS", in cmm_ioctl() 1418 [_IOC_NR(CM_IOSDBGLVL)] "CM4000_DBGLVL", in cmm_ioctl() 1421 iminor(inode), ioctl_names[_IOC_NR(cmd)]); in cmm_ioctl() 1442 if (_IOC_NR(cmd) > CM_IOC_MAXNR) { in cmm_ioctl()
|
/linux-4.19.296/drivers/hid/usbhid/ |
D | hiddev.c | 837 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGNAME(0))) { in hiddev_ioctl() 846 if (_IOC_NR(cmd) == _IOC_NR(HIDIOCGPHYS(0))) { in hiddev_ioctl()
|
/linux-4.19.296/drivers/misc/ |
D | phantom.c | 204 if (_IOC_NR(cmd) <= 3 && _IOC_SIZE(cmd) == sizeof(compat_uptr_t)) { in phantom_compat_ioctl()
|
/linux-4.19.296/drivers/virt/ |
D | fsl_hypervisor.c | 445 _IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), in fsl_hv_ioctl()
|
/linux-4.19.296/fs/xfs/ |
D | xfs_ioctl32.c | 31 _IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(type))
|
/linux-4.19.296/drivers/media/dvb-core/ |
D | dvb_frontend.c | 2012 dev_dbg(fe->dvb->device, "%s: (%d)\n", __func__, _IOC_NR(cmd)); in dvb_frontend_do_ioctl()
|