Home
last modified time | relevance | path

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

12

/linux/drivers/media/v4l2-core/
A Dv4l2-dev.c577 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 Dv4l2-fh.c33 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 Dv4l2-ioctl.c2720 [_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 Dhidraw.c420 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 Dioctl.c24 [_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 Dcompress_offload.c973 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 Devdev.c1199 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 Dv4l2-dev.h471 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 Dbinder_trace.h401 _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 Dbinder_internal.h158 atomic_t br[_IOC_NR(BR_ONEWAY_SPAM_SUSPECT) + 1];
159 atomic_t bc[_IOC_NR(BC_REPLY_SG) + 1];
/linux/fs/autofs/
A Ddev-ioctl.c138 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 Droot.c872 _IOC_NR(cmd) - _IOC_NR(AUTOFS_IOC_FIRST) >= AUTOFS_IOC_COUNT) in autofs_root_ioctl_unlocked()
/linux/drivers/misc/habanalabs/common/
A Dhabanalabs_ioctl.c633 [_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 Dspidev.c328 || _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 Dvchiq_dev.c589 ((_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 Ddrm_ioctl.h70 #define DRM_IOCTL_NR(n) _IOC_NR(n)
/linux/arch/alpha/include/uapi/asm/
A Dioctl.h56 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) macro
/linux/fs/orangefs/
A 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/drivers/char/pcmcia/
A Dcm4000_cs.c1413 [_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 Dioctl.h56 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) macro
/linux/drivers/media/mc/
A Dmc-device.c409 [_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 Dioctl.h96 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) macro
/linux/drivers/hid/usbhid/
A Dhiddev.c823 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 Ddma-heap.c132 int nr = _IOC_NR(ucmd); in dma_heap_ioctl()
/linux/kernel/power/
A Duser.c249 if (_IOC_NR(cmd) > SNAPSHOT_IOC_MAXNR) in snapshot_ioctl()

Completed in 45 milliseconds

12