H A D | v4l2-dev.c | 504 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()
|