Searched refs:valid_ioctls (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/media/v4l2-core/
H A Dv4l2-dev.c504 set_bit(_IOC_NR(cmd), valid_ioctls)
511 vdev->valid_ioctls. If an ioctl is marked as 1 when this function is
514 It does that by first setting up the local valid_ioctls bitmap, and
517 vdev->valid_ioctls = valid_ioctls & ~(vdev->valid_ioctls)
521 DECLARE_BITMAP(valid_ioctls, BASE_VIDIOC_PRIVATE); determine_valid_ioctls()
530 bitmap_zero(valid_ioctls, BASE_VIDIOC_PRIVATE); determine_valid_ioctls()
535 set_bit(_IOC_NR(VIDIOC_G_PRIORITY), valid_ioctls); determine_valid_ioctls() local
536 set_bit(_IOC_NR(VIDIOC_S_PRIORITY), valid_ioctls); determine_valid_ioctls() local
543 set_bit(_IOC_NR(VIDIOC_QUERYCTRL), valid_ioctls); determine_valid_ioctls() local
545 set_bit(_IOC_NR(VIDIOC_QUERY_EXT_CTRL), valid_ioctls); determine_valid_ioctls() local
547 set_bit(_IOC_NR(VIDIOC_G_CTRL), valid_ioctls); determine_valid_ioctls() local
549 set_bit(_IOC_NR(VIDIOC_S_CTRL), valid_ioctls); determine_valid_ioctls() local
551 set_bit(_IOC_NR(VIDIOC_G_EXT_CTRLS), valid_ioctls); determine_valid_ioctls() local
553 set_bit(_IOC_NR(VIDIOC_S_EXT_CTRLS), valid_ioctls); determine_valid_ioctls() local
555 set_bit(_IOC_NR(VIDIOC_TRY_EXT_CTRLS), valid_ioctls); determine_valid_ioctls() local
557 set_bit(_IOC_NR(VIDIOC_QUERYMENU), valid_ioctls); determine_valid_ioctls() local
562 set_bit(_IOC_NR(VIDIOC_DBG_G_CHIP_INFO), valid_ioctls); determine_valid_ioctls() local
563 set_bit(_IOC_NR(VIDIOC_DBG_G_REGISTER), valid_ioctls); determine_valid_ioctls() local
564 set_bit(_IOC_NR(VIDIOC_DBG_S_REGISTER), valid_ioctls); determine_valid_ioctls() local
571 set_bit(_IOC_NR(VIDIOC_ENUM_FREQ_BANDS), valid_ioctls); determine_valid_ioctls() local
580 set_bit(_IOC_NR(VIDIOC_ENUM_FMT), valid_ioctls); determine_valid_ioctls() local
587 set_bit(_IOC_NR(VIDIOC_G_FMT), valid_ioctls); determine_valid_ioctls() local
594 set_bit(_IOC_NR(VIDIOC_S_FMT), valid_ioctls); determine_valid_ioctls() local
601 set_bit(_IOC_NR(VIDIOC_TRY_FMT), valid_ioctls); determine_valid_ioctls() local
615 set_bit(_IOC_NR(VIDIOC_G_CROP), valid_ioctls); determine_valid_ioctls() local
617 set_bit(_IOC_NR(VIDIOC_S_CROP), valid_ioctls); determine_valid_ioctls() local
621 set_bit(_IOC_NR(VIDIOC_CROPCAP), valid_ioctls); determine_valid_ioctls() local
628 set_bit(_IOC_NR(VIDIOC_G_FMT), valid_ioctls); determine_valid_ioctls() local
633 set_bit(_IOC_NR(VIDIOC_S_FMT), valid_ioctls); determine_valid_ioctls() local
638 set_bit(_IOC_NR(VIDIOC_TRY_FMT), valid_ioctls); determine_valid_ioctls() local
643 set_bit(_IOC_NR(VIDIOC_ENUM_FMT), valid_ioctls); determine_valid_ioctls() local
645 set_bit(_IOC_NR(VIDIOC_G_FMT), valid_ioctls); determine_valid_ioctls() local
647 set_bit(_IOC_NR(VIDIOC_S_FMT), valid_ioctls); determine_valid_ioctls() local
649 set_bit(_IOC_NR(VIDIOC_TRY_FMT), valid_ioctls); determine_valid_ioctls() local
668 set_bit(_IOC_NR(VIDIOC_ENUMSTD), valid_ioctls); determine_valid_ioctls() local
692 set_bit(_IOC_NR(VIDIOC_G_PARM), valid_ioctls); determine_valid_ioctls() local
712 bitmap_andnot(vdev->valid_ioctls, valid_ioctls, vdev->valid_ioctls, determine_valid_ioctls()
H A Dv4l2-fh.c45 set_bit(_IOC_NR(VIDIOC_G_PRIORITY), vdev->valid_ioctls); v4l2_fh_init()
46 set_bit(_IOC_NR(VIDIOC_S_PRIORITY), vdev->valid_ioctls); v4l2_fh_init()
H A Dv4l2-ioctl.c40 #define is_valid_ioctl(vfd, cmd) test_bit(_IOC_NR(cmd), (vfd)->valid_ioctls)
2357 if (!test_bit(_IOC_NR(cmd), vfd->valid_ioctls) && __video_do_ioctl()
/linux-4.1.27/include/media/
H A Dv4l2-dev.h137 DECLARE_BITMAP(valid_ioctls, BASE_VIDIOC_PRIVATE);
203 set_bit(_IOC_NR(cmd), vdev->valid_ioctls); v4l2_disable_ioctl()

Completed in 186 milliseconds