Home
last modified time | relevance | path

Searched refs:device_caps (Results 1 – 25 of 179) sorted by relevance

12345678

/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dvidioc-querycap.rst119 - ``device_caps``
123 ``device_caps`` of a radio device will only contain radio related
128 ``device_caps`` will never set ``V4L2_CAP_DEVICE_CAPS``.
264 - The driver fills the ``device_caps`` field. This capability can
266 ``device_caps`` field.
Ddev-meta.rst24 ``V4L2_CAP_META_CAPTURE`` flag in the ``device_caps`` field of the
28 ``V4L2_CAP_META_OUTPUT`` flag in the ``device_caps`` field of
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-ioctl.c219 p->version, p->capabilities, p->device_caps); in v4l_print_querycap()
933 (vfd->device_caps & vid_caps); in check_fmt()
938 (vfd->device_caps & meta_caps); in check_fmt()
1098 cap->device_caps = vfd->device_caps; in v4l_querycap()
1099 cap->capabilities = vfd->device_caps | V4L2_CAP_DEVICE_CAPS; in v4l_querycap()
1110 WARN_ON(cap->device_caps != vfd->device_caps); in v4l_querycap()
1116 (vfd->device_caps | V4L2_CAP_DEVICE_CAPS)) != in v4l_querycap()
1117 (vfd->device_caps | V4L2_CAP_DEVICE_CAPS)); in v4l_querycap()
1119 cap->device_caps |= V4L2_CAP_EXT_PIX_FORMAT; in v4l_querycap()
1129 if (vfd->device_caps & V4L2_CAP_IO_MC) { in v4l_g_input()
[all …]
Dv4l2-dev.c549 (vdev->device_caps & vid_caps); in determine_valid_ioctls()
555 (vdev->device_caps & meta_caps); in determine_valid_ioctls()
558 bool is_io_mc = vdev->device_caps & V4L2_CAP_IO_MC; in determine_valid_ioctls()
901 if (WARN_ON(type != VFL_TYPE_SUBDEV && !vdev->device_caps)) in __video_register_device()
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/common/
Dsaa7146_fops.c611 vfd->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OVERLAY | in saa7146_register_device()
613 vfd->device_caps |= dev->ext_vv_data->capabilities; in saa7146_register_device()
615 vfd->device_caps &= in saa7146_register_device()
618 vfd->device_caps &= in saa7146_register_device()
/linux-6.1.9/include/uapi/rdma/
Defa-abi.h132 __u32 device_caps; member
/linux-6.1.9/drivers/media/pci/saa7134/
Dsaa7134-core.c1208 dev->video_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in saa7134_initdev()
1211 dev->video_dev->device_caps |= V4L2_CAP_TUNER; in saa7134_initdev()
1214 dev->video_dev->device_caps |= V4L2_CAP_VIDEO_OVERLAY; in saa7134_initdev()
1230 dev->vbi_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in saa7134_initdev()
1233 dev->vbi_dev->device_caps |= V4L2_CAP_TUNER; in saa7134_initdev()
1246 dev->radio_dev->device_caps = V4L2_CAP_RADIO | V4L2_CAP_TUNER; in saa7134_initdev()
1248 dev->radio_dev->device_caps |= V4L2_CAP_RDS_CAPTURE; in saa7134_initdev()
Dsaa7134-empress.c294 dev->empress_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in empress_init()
297 dev->empress_dev->device_caps |= V4L2_CAP_TUNER; in empress_init()
/linux-6.1.9/drivers/media/pci/cx23885/
Dcx23885-video.c1357 dev->video_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx23885_video_register()
1364 dev->video_dev->device_caps |= V4L2_CAP_TUNER; in cx23885_video_register()
1368 dev->video_dev->device_caps |= V4L2_CAP_TUNER; in cx23885_video_register()
1385 dev->vbi_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx23885_video_register()
1392 dev->vbi_dev->device_caps |= V4L2_CAP_TUNER; in cx23885_video_register()
1396 dev->vbi_dev->device_caps |= V4L2_CAP_TUNER; in cx23885_video_register()
/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-core.c1426 vfd->device_caps = dev->vid_cap_caps; in vivid_create_devnodes()
1477 vfd->device_caps = dev->vid_out_caps; in vivid_create_devnodes()
1529 vfd->device_caps = dev->vbi_cap_caps; in vivid_create_devnodes()
1561 vfd->device_caps = dev->vbi_out_caps; in vivid_create_devnodes()
1592 vfd->device_caps = dev->sdr_cap_caps; in vivid_create_devnodes()
1619 vfd->device_caps = dev->radio_rx_caps; in vivid_create_devnodes()
1639 vfd->device_caps = dev->radio_tx_caps; in vivid_create_devnodes()
1658 vfd->device_caps = dev->meta_cap_caps; in vivid_create_devnodes()
1688 vfd->device_caps = dev->meta_out_caps; in vivid_create_devnodes()
1717 vfd->device_caps = dev->touch_cap_caps; in vivid_create_devnodes()
/linux-6.1.9/drivers/media/platform/xilinx/
Dxilinx-dma.c690 dma->video.device_caps = V4L2_CAP_STREAMING; in xvip_dma_init()
692 dma->video.device_caps |= V4L2_CAP_VIDEO_CAPTURE; in xvip_dma_init()
694 dma->video.device_caps |= V4L2_CAP_VIDEO_OUTPUT; in xvip_dma_init()
/linux-6.1.9/drivers/media/usb/cx231xx/
Dcx231xx-video.c1819 dev->vdev.device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx231xx_register_analog_devices()
1828 dev->vdev.device_caps |= V4L2_CAP_TUNER; in cx231xx_register_analog_devices()
1832 dev->vdev.device_caps |= V4L2_CAP_TUNER; in cx231xx_register_analog_devices()
1879 dev->vbi_dev.device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx231xx_register_analog_devices()
1887 dev->vbi_dev.device_caps |= V4L2_CAP_TUNER; in cx231xx_register_analog_devices()
1891 dev->vbi_dev.device_caps |= V4L2_CAP_TUNER; in cx231xx_register_analog_devices()
1909 dev->radio_dev.device_caps = V4L2_CAP_RADIO | V4L2_CAP_TUNER; in cx231xx_register_analog_devices()
/linux-6.1.9/drivers/media/radio/
Dradio-timb.c115 tr->video_dev.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO; in timbradio_probe()
Dtea575x.c528 tea->vd.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO; in snd_tea575x_init()
530 tea->vd.device_caps |= V4L2_CAP_HW_FREQ_SEEK; in snd_tea575x_init()
Dradio-raremono.c357 radio->vdev.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO; in usb_raremono_probe()
Dradio-sf16fmi.c346 fmi->vdev.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO; in fmi_init()
/linux-6.1.9/drivers/media/radio/si4713/
Dradio-platform-si4713.c175 rsdev->radio_dev.device_caps = V4L2_CAP_MODULATOR | V4L2_CAP_RDS_OUTPUT; in radio_si4713_pdriver_probe()
/linux-6.1.9/include/media/
Dv4l2-dev.h271 u32 device_caps; member
/linux-6.1.9/Documentation/userspace-api/media/
Dglossary.rst132 Such drivers have ``V4L2_CAP_IO_MC`` device_caps field set
197 Such drivers have the ``V4L2_CAP_IO_MC`` device_caps field unset
/linux-6.1.9/drivers/staging/media/atomisp/pci/
Datomisp_subdev.c1300 asd->video_out_preview.vdev.device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING; in atomisp_subdev_register_video_nodes()
1307 asd->video_out_capture.vdev.device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING; in atomisp_subdev_register_video_nodes()
1314 asd->video_out_vf.vdev.device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING; in atomisp_subdev_register_video_nodes()
1321 asd->video_out_video_capture.vdev.device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING; in atomisp_subdev_register_video_nodes()
/linux-6.1.9/drivers/media/pci/ivtv/
Divtvfb.c1222 itv->streams[IVTV_DEC_STREAM_TYPE_YUV].vdev.device_caps |= in ivtvfb_init_card()
1224 itv->streams[IVTV_DEC_STREAM_TYPE_MPG].vdev.device_caps |= in ivtvfb_init_card()
1253 itv->streams[IVTV_DEC_STREAM_TYPE_YUV].vdev.device_caps &= in ivtvfb_callback_cleanup()
1255 itv->streams[IVTV_DEC_STREAM_TYPE_MPG].vdev.device_caps &= in ivtvfb_callback_cleanup()
Divtv-ioctl.c441 if (!(s->vdev.device_caps & V4L2_CAP_VIDEO_OUTPUT_OVERLAY)) in ivtv_g_fmt_vid_out_overlay()
552 if (!(s->vdev.device_caps & V4L2_CAP_VIDEO_OUTPUT_OVERLAY)) in ivtv_try_fmt_vid_out_overlay()
1385 if (!(s->vdev.device_caps & V4L2_CAP_VIDEO_OUTPUT_OVERLAY)) in ivtv_g_fbuf()
1452 if (!(s->vdev.device_caps & V4L2_CAP_VIDEO_OUTPUT_OVERLAY)) in ivtv_s_fbuf()
1472 if (!(s->vdev.device_caps & V4L2_CAP_VIDEO_OUTPUT_OVERLAY)) in ivtv_overlay()
/linux-6.1.9/drivers/infiniband/hw/efa/
Defa_com_cmd.h132 u32 device_caps; member
/linux-6.1.9/drivers/media/pci/cx88/
Dcx88-video.c1450 dev->video_dev.device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx8800_initdev()
1453 dev->video_dev.device_caps |= V4L2_CAP_TUNER; in cx8800_initdev()
1467 dev->vbi_dev.device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx8800_initdev()
1470 dev->vbi_dev.device_caps |= V4L2_CAP_TUNER; in cx8800_initdev()
1485 dev->radio_dev.device_caps = V4L2_CAP_RADIO | V4L2_CAP_TUNER; in cx8800_initdev()
/linux-6.1.9/drivers/media/usb/go7007/
Dgo7007-v4l2.c1097 vdev->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_READWRITE | in go7007_v4l2_init()
1100 vdev->device_caps |= V4L2_CAP_AUDIO; in go7007_v4l2_init()
1102 vdev->device_caps |= V4L2_CAP_TUNER; in go7007_v4l2_init()

12345678