Home
last modified time | relevance | path

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

12345678

/Linux-v6.6/drivers/media/common/saa7146/
Dsaa7146_fops.c367 vfd->device_caps = V4L2_CAP_VIDEO_CAPTURE | in saa7146_register_device()
369 vfd->device_caps |= dev->ext_vv_data->capabilities; in saa7146_register_device()
371 vfd->device_caps &= in saa7146_register_device()
373 } else if (vfd->device_caps & V4L2_CAP_SLICED_VBI_OUTPUT) { in saa7146_register_device()
375 vfd->device_caps &= ~(V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING | in saa7146_register_device()
378 vfd->device_caps &= ~V4L2_CAP_VIDEO_CAPTURE; in saa7146_register_device()
/Linux-v6.6/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-v6.6/drivers/media/v4l2-core/
Dv4l2-ioctl.c214 p->version, p->capabilities, p->device_caps); in v4l_print_querycap()
924 (vfd->device_caps & vid_caps); in check_fmt()
929 (vfd->device_caps & meta_caps); in check_fmt()
1089 cap->device_caps = vfd->device_caps; in v4l_querycap()
1090 cap->capabilities = vfd->device_caps | V4L2_CAP_DEVICE_CAPS; in v4l_querycap()
1101 WARN_ON(cap->device_caps != vfd->device_caps); in v4l_querycap()
1107 (vfd->device_caps | V4L2_CAP_DEVICE_CAPS)) != in v4l_querycap()
1108 (vfd->device_caps | V4L2_CAP_DEVICE_CAPS)); in v4l_querycap()
1110 cap->device_caps |= V4L2_CAP_EXT_PIX_FORMAT; in v4l_querycap()
1120 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()
559 bool has_streaming = vdev->device_caps & V4L2_CAP_STREAMING; in determine_valid_ioctls()
902 if (WARN_ON(type != VFL_TYPE_SUBDEV && !vdev->device_caps)) in __video_register_device()
/Linux-v6.6/include/uapi/rdma/
Defa-abi.h134 __u32 device_caps; member
/Linux-v6.6/drivers/media/pci/saa7134/
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()
Dsaa7134-core.c1182 dev->video_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in saa7134_initdev()
1185 dev->video_dev->device_caps |= V4L2_CAP_TUNER; in saa7134_initdev()
1201 dev->vbi_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in saa7134_initdev()
1204 dev->vbi_dev->device_caps |= V4L2_CAP_TUNER; in saa7134_initdev()
1217 dev->radio_dev->device_caps = V4L2_CAP_RADIO | V4L2_CAP_TUNER; in saa7134_initdev()
1219 dev->radio_dev->device_caps |= V4L2_CAP_RDS_CAPTURE; in saa7134_initdev()
/Linux-v6.6/drivers/media/test-drivers/vivid/
Dvivid-core.c1396 vfd->device_caps = dev->vid_cap_caps; in vivid_create_devnodes()
1447 vfd->device_caps = dev->vid_out_caps; in vivid_create_devnodes()
1499 vfd->device_caps = dev->vbi_cap_caps; in vivid_create_devnodes()
1531 vfd->device_caps = dev->vbi_out_caps; in vivid_create_devnodes()
1562 vfd->device_caps = dev->sdr_cap_caps; in vivid_create_devnodes()
1589 vfd->device_caps = dev->radio_rx_caps; in vivid_create_devnodes()
1609 vfd->device_caps = dev->radio_tx_caps; in vivid_create_devnodes()
1628 vfd->device_caps = dev->meta_cap_caps; in vivid_create_devnodes()
1658 vfd->device_caps = dev->meta_out_caps; in vivid_create_devnodes()
1687 vfd->device_caps = dev->touch_cap_caps; in vivid_create_devnodes()
/Linux-v6.6/drivers/media/pci/cx23885/
Dcx23885-video.c1358 dev->video_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx23885_video_register()
1365 dev->video_dev->device_caps |= V4L2_CAP_TUNER; in cx23885_video_register()
1369 dev->video_dev->device_caps |= V4L2_CAP_TUNER; in cx23885_video_register()
1386 dev->vbi_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx23885_video_register()
1393 dev->vbi_dev->device_caps |= V4L2_CAP_TUNER; in cx23885_video_register()
1397 dev->vbi_dev->device_caps |= V4L2_CAP_TUNER; in cx23885_video_register()
/Linux-v6.6/drivers/media/platform/xilinx/
Dxilinx-dma.c675 dma->video.device_caps = V4L2_CAP_STREAMING; in xvip_dma_init()
677 dma->video.device_caps |= V4L2_CAP_VIDEO_CAPTURE; in xvip_dma_init()
679 dma->video.device_caps |= V4L2_CAP_VIDEO_OUTPUT; in xvip_dma_init()
/Linux-v6.6/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-v6.6/include/media/
Dv4l2-dev.h271 u32 device_caps; member
/Linux-v6.6/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()
/Linux-v6.6/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-v6.6/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-v6.6/drivers/media/pci/ivtv/
Divtvfb.c1221 itv->streams[IVTV_DEC_STREAM_TYPE_YUV].vdev.device_caps |= in ivtvfb_init_card()
1223 itv->streams[IVTV_DEC_STREAM_TYPE_MPG].vdev.device_caps |= in ivtvfb_init_card()
1252 itv->streams[IVTV_DEC_STREAM_TYPE_YUV].vdev.device_caps &= in ivtvfb_callback_cleanup()
1254 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-v6.6/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-m2m.c386 cap->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_M2M_MPLANE; in mxc_isi_m2m_querycap()
387 cap->capabilities = cap->device_caps | V4L2_CAP_DEVICE_CAPS; in mxc_isi_m2m_querycap()
751 vdev->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_M2M_MPLANE; in mxc_isi_m2m_register()
/Linux-v6.6/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-v6.6/drivers/infiniband/hw/efa/
Defa_verbs.c173 ((dev)->dev_attr.device_caps & \
250 resp.device_caps |= EFA_QUERY_DEVICE_CAPS_CQ_WITH_SGID; in efa_query_device()
252 resp.device_caps |= EFA_QUERY_DEVICE_CAPS_RDMA_READ; in efa_query_device()
255 resp.device_caps |= EFA_QUERY_DEVICE_CAPS_RNR_RETRY; in efa_query_device()
258 resp.device_caps |= EFA_QUERY_DEVICE_CAPS_DATA_POLLING_128; in efa_query_device()
261 resp.device_caps |= EFA_QUERY_DEVICE_CAPS_RDMA_WRITE; in efa_query_device()
264 resp.device_caps |= EFA_QUERY_DEVICE_CAPS_CQ_NOTIFICATIONS; in efa_query_device()
Defa_com_cmd.h132 u32 device_caps; member
/Linux-v6.6/drivers/staging/media/omap4iss/
Diss_video.c1258 video->video.device_caps = V4L2_CAP_VIDEO_CAPTURE; in omap4iss_video_register()
1260 video->video.device_caps = V4L2_CAP_VIDEO_OUTPUT; in omap4iss_video_register()
1261 video->video.device_caps |= V4L2_CAP_STREAMING; in omap4iss_video_register()
/Linux-v6.6/drivers/media/usb/go7007/
Dgo7007-v4l2.c1093 vdev->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_READWRITE | in go7007_v4l2_init()
1096 vdev->device_caps |= V4L2_CAP_AUDIO; in go7007_v4l2_init()
1098 vdev->device_caps |= V4L2_CAP_TUNER; in go7007_v4l2_init()

12345678