Home
last modified time | relevance | path

Searched refs:_IOC_NR (Results 1 – 17 of 17) sorted by relevance

/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-dev.c509 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 …]
Dv4l2-fh.c41 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()
Dv4l2-ioctl.c42 #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 …]
Dv4l2-compat-ioctl32.c1453 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/
Dhidraw.c431 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/
Dv4l2-dev.h456 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/
Ddrm_ioctl.h70 #define DRM_IOCTL_NR(n) _IOC_NR(n)
/linux-4.19.296/fs/autofs/
Ddev-ioctl.c139 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()
Droot.c899 _IOC_NR(cmd) - _IOC_NR(AUTOFS_IOC_FIRST) >= AUTOFS_IOC_COUNT) in autofs_root_ioctl_unlocked()
/linux-4.19.296/include/uapi/asm-generic/
Dioctl.h96 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) macro
/linux-4.19.296/fs/orangefs/
Ddevorangefs-req.c583 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/
Dcm4000_cs.c1414 [_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/
Dhiddev.c837 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/
Dphantom.c204 if (_IOC_NR(cmd) <= 3 && _IOC_SIZE(cmd) == sizeof(compat_uptr_t)) { in phantom_compat_ioctl()
/linux-4.19.296/drivers/virt/
Dfsl_hypervisor.c445 _IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), in fsl_hv_ioctl()
/linux-4.19.296/fs/xfs/
Dxfs_ioctl32.c31 _IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(type))
/linux-4.19.296/drivers/media/dvb-core/
Ddvb_frontend.c2012 dev_dbg(fe->dvb->device, "%s: (%d)\n", __func__, _IOC_NR(cmd)); in dvb_frontend_do_ioctl()