Home
last modified time | relevance | path

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

1234567

/drivers/staging/media/atomisp/pci/
Datomisp_subdev.c1343 u32 device_caps; in atomisp_subdev_register_entities() local
1350 device_caps = V4L2_CAP_VIDEO_CAPTURE | in atomisp_subdev_register_entities()
1360 asd->video_out_capture.vdev.device_caps = device_caps | in atomisp_subdev_register_entities()
1368 asd->video_out_vf.vdev.device_caps = device_caps | in atomisp_subdev_register_entities()
1375 asd->video_out_preview.vdev.device_caps = device_caps | in atomisp_subdev_register_entities()
1382 asd->video_out_video_capture.vdev.device_caps = device_caps | in atomisp_subdev_register_entities()
1389 asd->video_acc.vdev.device_caps = device_caps | in atomisp_subdev_register_entities()
1404 asd->video_in.vdev.device_caps = device_caps | in atomisp_subdev_register_entities()
/drivers/net/ethernet/mellanox/mlx5/core/accel/
Dipsec.c78 if (!ipsec_ops || !ipsec_ops->device_caps) in mlx5_accel_ipsec_device_caps()
81 return ipsec_ops->device_caps(mdev); in mlx5_accel_ipsec_device_caps()
Dipsec.h58 u32 (*device_caps)(struct mlx5_core_dev *mdev); member
/drivers/media/v4l2-core/
Dv4l2-ioctl.c218 p->version, p->capabilities, p->device_caps); in v4l_print_querycap()
932 (vfd->device_caps & vid_caps); in check_fmt()
937 (vfd->device_caps & meta_caps); in check_fmt()
1052 cap->device_caps = vfd->device_caps; in v4l_querycap()
1053 cap->capabilities = vfd->device_caps | V4L2_CAP_DEVICE_CAPS; in v4l_querycap()
1061 WARN_ON(cap->device_caps != vfd->device_caps); in v4l_querycap()
1067 (vfd->device_caps | V4L2_CAP_DEVICE_CAPS)) != in v4l_querycap()
1068 (vfd->device_caps | V4L2_CAP_DEVICE_CAPS)); in v4l_querycap()
1070 cap->device_caps |= V4L2_CAP_EXT_PIX_FORMAT; in v4l_querycap()
1080 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()
Dv4l2-common.c196 if (vdev->device_caps & V4L2_CAP_READWRITE) in v4l2_g_parm_cap()
220 if (vdev->device_caps & V4L2_CAP_READWRITE) in v4l2_s_parm_cap()
/drivers/media/common/saa7146/
Dsaa7146_fops.c608 vfd->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OVERLAY | in saa7146_register_device()
610 vfd->device_caps |= dev->ext_vv_data->capabilities; in saa7146_register_device()
612 vfd->device_caps &= in saa7146_register_device()
615 vfd->device_caps &= in saa7146_register_device()
/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()
/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()
/drivers/media/test-drivers/vivid/
Dvivid-core.c1416 vfd->device_caps = dev->vid_cap_caps; in vivid_create_devnodes()
1467 vfd->device_caps = dev->vid_out_caps; in vivid_create_devnodes()
1519 vfd->device_caps = dev->vbi_cap_caps; in vivid_create_devnodes()
1551 vfd->device_caps = dev->vbi_out_caps; in vivid_create_devnodes()
1582 vfd->device_caps = dev->sdr_cap_caps; in vivid_create_devnodes()
1609 vfd->device_caps = dev->radio_rx_caps; in vivid_create_devnodes()
1629 vfd->device_caps = dev->radio_tx_caps; in vivid_create_devnodes()
1648 vfd->device_caps = dev->meta_cap_caps; in vivid_create_devnodes()
1678 vfd->device_caps = dev->meta_out_caps; in vivid_create_devnodes()
1707 vfd->device_caps = dev->touch_cap_caps; in vivid_create_devnodes()
/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()
/drivers/media/platform/xilinx/
Dxilinx-dma.c691 dma->video.device_caps = V4L2_CAP_STREAMING; in xvip_dma_init()
693 dma->video.device_caps |= V4L2_CAP_VIDEO_CAPTURE; in xvip_dma_init()
695 dma->video.device_caps |= V4L2_CAP_VIDEO_OUTPUT; in xvip_dma_init()
/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()
1386 if (!(s->vdev.device_caps & V4L2_CAP_VIDEO_OUTPUT_OVERLAY)) in ivtv_g_fbuf()
1453 if (!(s->vdev.device_caps & V4L2_CAP_VIDEO_OUTPUT_OVERLAY)) in ivtv_s_fbuf()
1473 if (!(s->vdev.device_caps & V4L2_CAP_VIDEO_OUTPUT_OVERLAY)) in ivtv_overlay()
/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-sf16fmi.c346 fmi->vdev.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO; in fmi_init()
/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()
/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()
/drivers/infiniband/hw/efa/
Defa_com_cmd.h127 u32 device_caps; member
Defa_admin_cmds_defs.h605 u32 device_caps; member
/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()
/drivers/staging/media/omap4iss/
Diss_video.c1271 video->video.device_caps = V4L2_CAP_VIDEO_CAPTURE; in omap4iss_video_register()
1273 video->video.device_caps = V4L2_CAP_VIDEO_OUTPUT; in omap4iss_video_register()
1274 video->video.device_caps |= V4L2_CAP_STREAMING; in omap4iss_video_register()
/drivers/media/usb/em28xx/
Dem28xx-video.c2764 v4l2->vdev.device_caps = V4L2_CAP_READWRITE | V4L2_CAP_VIDEO_CAPTURE | in em28xx_v4l2_init()
2767 v4l2->vdev.device_caps |= V4L2_CAP_AUDIO; in em28xx_v4l2_init()
2769 v4l2->vdev.device_caps |= V4L2_CAP_TUNER; in em28xx_v4l2_init()
2807 v4l2->vbi_dev.device_caps = V4L2_CAP_STREAMING | in em28xx_v4l2_init()
2810 v4l2->vbi_dev.device_caps |= V4L2_CAP_TUNER; in em28xx_v4l2_init()
2838 v4l2->radio_dev.device_caps = V4L2_CAP_RADIO | V4L2_CAP_TUNER; in em28xx_v4l2_init()

1234567