Home
last modified time | relevance | path

Searched refs:vdev (Results 276 - 300 of 1086) sorted by relevance

1...<<11121314151617181920>>...44

/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/
H A Drkisp1-capture.c340 rkisp1_vdev_to_node(struct video_device *vdev) in rkisp1_vdev_to_node() argument
342 return container_of(vdev, struct rkisp1_vdev_node, vdev); in rkisp1_vdev_to_node()
924 media_pipeline_stop(&node->vdev.entity); in rkisp1_vb2_stop_streaming()
925 ret = rkisp1_pipeline_sink_walk(&node->vdev.entity, NULL, in rkisp1_vb2_stop_streaming()
933 v4l2_pipeline_pm_put(&node->vdev.entity); in rkisp1_vb2_stop_streaming()
984 struct media_entity *entity = &cap->vnode.vdev.entity; in rkisp1_vb2_start_streaming()
1200 rkisp1_vdev_to_node(&cap->vnode.vdev); in rkisp1_s_fmt_vid_cap_mplane()
1254 struct video_device *vdev = in rkisp1_capture_link_validate() local
1258 struct rkisp1_capture *cap = video_get_drvdata(vdev); in rkisp1_capture_link_validate()
1315 struct video_device *vdev = &cap->vnode.vdev; rkisp1_register_capture() local
[all...]
/kernel/linux/linux-5.10/drivers/media/radio/
H A Dradio-sf16fmi.c51 struct video_device vdev; member
341 strscpy(fmi->vdev.name, v4l2_dev->name, sizeof(fmi->vdev.name)); in fmi_init()
342 fmi->vdev.v4l2_dev = v4l2_dev; in fmi_init()
343 fmi->vdev.fops = &fmi_fops; in fmi_init()
344 fmi->vdev.ioctl_ops = &fmi_ioctl_ops; in fmi_init()
345 fmi->vdev.release = video_device_release_empty; in fmi_init()
346 fmi->vdev.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO; in fmi_init()
347 video_set_drvdata(&fmi->vdev, fmi); in fmi_init()
356 if (video_register_device(&fmi->vdev, VFL_TYPE_RADI in fmi_init()
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/
H A Dradio-sf16fmi.c51 struct video_device vdev; member
341 strscpy(fmi->vdev.name, v4l2_dev->name, sizeof(fmi->vdev.name)); in fmi_init()
342 fmi->vdev.v4l2_dev = v4l2_dev; in fmi_init()
343 fmi->vdev.fops = &fmi_fops; in fmi_init()
344 fmi->vdev.ioctl_ops = &fmi_ioctl_ops; in fmi_init()
345 fmi->vdev.release = video_device_release_empty; in fmi_init()
346 fmi->vdev.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO; in fmi_init()
347 video_set_drvdata(&fmi->vdev, fmi); in fmi_init()
356 if (video_register_device(&fmi->vdev, VFL_TYPE_RADI in fmi_init()
[all...]
/kernel/linux/linux-5.10/drivers/media/radio/si4713/
H A Dradio-usb-si4713.c51 struct video_device vdev; member
465 radio->vdev.ctrl_handler = sd->ctrl_handler; in usb_si4713_probe()
467 strscpy(radio->vdev.name, radio->v4l2_dev.name, in usb_si4713_probe()
468 sizeof(radio->vdev.name)); in usb_si4713_probe()
469 radio->vdev.v4l2_dev = &radio->v4l2_dev; in usb_si4713_probe()
470 radio->vdev.fops = &usb_si4713_fops; in usb_si4713_probe()
471 radio->vdev.ioctl_ops = &usb_si4713_ioctl_ops; in usb_si4713_probe()
472 radio->vdev.lock = &radio->lock; in usb_si4713_probe()
473 radio->vdev.release = video_device_release_empty; in usb_si4713_probe()
474 radio->vdev in usb_si4713_probe()
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/si4713/
H A Dradio-usb-si4713.c51 struct video_device vdev; member
465 radio->vdev.ctrl_handler = sd->ctrl_handler; in usb_si4713_probe()
467 strscpy(radio->vdev.name, radio->v4l2_dev.name, in usb_si4713_probe()
468 sizeof(radio->vdev.name)); in usb_si4713_probe()
469 radio->vdev.v4l2_dev = &radio->v4l2_dev; in usb_si4713_probe()
470 radio->vdev.fops = &usb_si4713_fops; in usb_si4713_probe()
471 radio->vdev.ioctl_ops = &usb_si4713_ioctl_ops; in usb_si4713_probe()
472 radio->vdev.lock = &radio->lock; in usb_si4713_probe()
473 radio->vdev.release = video_device_release_empty; in usb_si4713_probe()
474 radio->vdev in usb_si4713_probe()
[all...]
/kernel/linux/linux-5.10/block/
H A Dblk-mq-virtio.c15 * @vdev: virtio device to provide a mapping for.
18 * This function assumes the virtio device @vdev has at least as many available
25 struct virtio_device *vdev, int first_vec) in blk_mq_virtio_map_queues()
30 if (!vdev->config->get_vq_affinity) in blk_mq_virtio_map_queues()
34 mask = vdev->config->get_vq_affinity(vdev, first_vec + queue); in blk_mq_virtio_map_queues()
24 blk_mq_virtio_map_queues(struct blk_mq_queue_map *qmap, struct virtio_device *vdev, int first_vec) blk_mq_virtio_map_queues() argument
/kernel/linux/linux-6.6/block/
H A Dblk-mq-virtio.c14 * @vdev: virtio device to provide a mapping for.
17 * This function assumes the virtio device @vdev has at least as many available
24 struct virtio_device *vdev, int first_vec) in blk_mq_virtio_map_queues()
29 if (!vdev->config->get_vq_affinity) in blk_mq_virtio_map_queues()
33 mask = vdev->config->get_vq_affinity(vdev, first_vec + queue); in blk_mq_virtio_map_queues()
23 blk_mq_virtio_map_queues(struct blk_mq_queue_map *qmap, struct virtio_device *vdev, int first_vec) blk_mq_virtio_map_queues() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/
H A Dibmveth.c43 static unsigned long ibmveth_get_desired_dma(struct vio_dev *vdev);
240 dma_addr = dma_map_single(&adapter->vdev->dev, skb->data, in ibmveth_replenish_buffer_pool()
243 if (dma_mapping_error(&adapter->vdev->dev, dma_addr)) in ibmveth_replenish_buffer_pool()
262 lpar_rc = h_add_logical_lan_buffer(adapter->vdev->unit_address, in ibmveth_replenish_buffer_pool()
284 if (!dma_mapping_error(&adapter->vdev->dev, dma_addr)) in ibmveth_replenish_buffer_pool()
285 dma_unmap_single(&adapter->vdev->dev, in ibmveth_replenish_buffer_pool()
338 dma_unmap_single(&adapter->vdev->dev, in ibmveth_free_buffer_pool()
377 dma_unmap_single(&adapter->vdev->dev, in ibmveth_remove_buffer_from_pool()
431 lpar_rc = h_add_logical_lan_buffer(adapter->vdev->unit_address, desc.desc); in ibmveth_rxq_recycle_buffer()
470 rc = h_register_logical_lan(adapter->vdev in ibmveth_register_logical_lan()
1565 ibmveth_get_desired_dma(struct vio_dev *vdev) ibmveth_get_desired_dma() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/rcar-vin/
H A Drcar-v4l2.c566 i->std = vin->vdev.tvnorms; in rvin_enum_input()
897 ret = v4l2_pipeline_pm_get(&vin->vdev.entity); in rvin_open()
913 v4l2_pipeline_pm_put(&vin->vdev.entity); in rvin_open()
941 v4l2_pipeline_pm_put(&vin->vdev.entity); in rvin_release()
966 if (!video_is_registered(&vin->vdev)) in rvin_v4l2_unregister()
970 video_device_node_name(&vin->vdev)); in rvin_v4l2_unregister()
972 /* Checks internally if vdev have been init or not */ in rvin_v4l2_unregister()
973 video_unregister_device(&vin->vdev); in rvin_v4l2_unregister()
984 v4l2_event_queue(&vin->vdev, arg); in rvin_notify()
993 struct video_device *vdev in rvin_v4l2_register() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-video.c500 video_device_pipeline_stop(&cru->vdev); in rzg2l_cru_set_stream()
520 pipe = media_entity_pipeline(&sd->entity) ? : &cru->vdev.pipe; in rzg2l_cru_set_stream()
521 ret = video_device_pipeline_start(&cru->vdev, pipe); in rzg2l_cru_set_stream()
543 video_device_pipeline_stop(&cru->vdev); in rzg2l_cru_set_stream()
1002 struct video_device *vdev = &cru->vdev; in rzg2l_cru_v4l2_init() local
1004 vdev->v4l2_dev = &cru->v4l2_dev; in rzg2l_cru_v4l2_init()
1005 vdev->queue = &cru->queue; in rzg2l_cru_v4l2_init()
1006 snprintf(vdev->name, sizeof(vdev in rzg2l_cru_v4l2_init()
1031 struct video_device *vdev = &cru->vdev; rzg2l_cru_video_register() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Datomisp_subdev.c133 uint16_t atomisp_subdev_source_pad(struct video_device *vdev) in atomisp_subdev_source_pad() argument
138 list_for_each_entry(link, &vdev->entity.links, list) { in atomisp_subdev_source_pad()
1283 &asd->video_out_preview.vdev.entity, in atomisp_create_pads_links()
1289 &asd->video_out_vf.vdev.entity, 0, in atomisp_create_pads_links()
1295 &asd->video_out_capture.vdev.entity, in atomisp_create_pads_links()
1301 &asd->video_out_video_capture.vdev. in atomisp_create_pads_links()
1311 ret = media_create_pad_link(&asd->video_in.vdev.entity, in atomisp_create_pads_links()
1354 struct v4l2_device *vdev) in atomisp_subdev_register_entities()
1369 ret = v4l2_device_register_subdev(vdev, &asd->subdev); in atomisp_subdev_register_entities()
1373 asd->video_out_capture.vdev in atomisp_subdev_register_entities()
1353 atomisp_subdev_register_entities(struct atomisp_sub_device *asd, struct v4l2_device *vdev) atomisp_subdev_register_entities() argument
[all...]
/kernel/linux/linux-5.10/samples/v4l/
H A Dv4l2-pci-skeleton.c51 * @vdev: video node structure
67 struct video_device vdev; member
642 skel->vdev.tvnorms = i ? 0 : SKEL_TVNORMS; in skeleton_s_input()
760 struct video_device *vdev; in skeleton_probe() local
859 vdev = &skel->vdev; in skeleton_probe()
860 strlcpy(vdev->name, KBUILD_MODNAME, sizeof(vdev->name)); in skeleton_probe()
865 vdev->release = video_device_release_empty; in skeleton_probe()
866 vdev in skeleton_probe()
[all...]
/kernel/linux/linux-6.6/samples/v4l/
H A Dv4l2-pci-skeleton.c39 * @vdev: video node structure
55 struct video_device vdev; member
630 skel->vdev.tvnorms = i ? 0 : SKEL_TVNORMS; in skeleton_s_input()
748 struct video_device *vdev; in skeleton_probe() local
847 vdev = &skel->vdev; in skeleton_probe()
848 strlcpy(vdev->name, KBUILD_MODNAME, sizeof(vdev->name)); in skeleton_probe()
853 vdev->release = video_device_release_empty; in skeleton_probe()
854 vdev in skeleton_probe()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A Dfnic_main.c179 u32 port_speed = vnic_dev_port_speed(fnic->vdev); in fnic_get_host_speed()
219 ret = vnic_dev_stats_dump(fnic->vdev, &fnic->stats); in fnic_get_stats()
331 ret = vnic_dev_stats_clear(fnic->vdev); in fnic_reset_host_stats()
395 switch (vnic_dev_get_intr_mode(fnic->vdev)) { in fnic_notify_set()
397 err = vnic_dev_notify_set(fnic->vdev, FNIC_INTX_NOTIFY); in fnic_notify_set()
400 err = vnic_dev_notify_set(fnic->vdev, -1); in fnic_notify_set()
403 err = vnic_dev_notify_set(fnic->vdev, FNIC_MSIX_ERR_NOTIFY); in fnic_notify_set()
409 vnic_dev_get_intr_mode(fnic->vdev)); in fnic_notify_set()
435 switch (vnic_dev_get_intr_mode(fnic->vdev)) { in fnic_notify_timer_start()
449 static int fnic_dev_wait(struct vnic_dev *vdev, in fnic_dev_wait() argument
[all...]
H A Dvnic_intr.c32 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, in vnic_intr_alloc() argument
36 intr->vdev = vdev; in vnic_intr_alloc()
38 intr->ctrl = vnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); in vnic_intr_alloc()
/kernel/linux/linux-6.6/drivers/scsi/fnic/
H A Dfnic_main.c168 u32 port_speed = vnic_dev_port_speed(fnic->vdev); in fnic_get_host_speed()
208 ret = vnic_dev_stats_dump(fnic->vdev, &fnic->stats); in fnic_get_stats()
320 ret = vnic_dev_stats_clear(fnic->vdev); in fnic_reset_host_stats()
384 switch (vnic_dev_get_intr_mode(fnic->vdev)) { in fnic_notify_set()
386 err = vnic_dev_notify_set(fnic->vdev, FNIC_INTX_NOTIFY); in fnic_notify_set()
389 err = vnic_dev_notify_set(fnic->vdev, -1); in fnic_notify_set()
392 err = vnic_dev_notify_set(fnic->vdev, FNIC_MSIX_ERR_NOTIFY); in fnic_notify_set()
398 vnic_dev_get_intr_mode(fnic->vdev)); in fnic_notify_set()
424 switch (vnic_dev_get_intr_mode(fnic->vdev)) { in fnic_notify_timer_start()
438 static int fnic_dev_wait(struct vnic_dev *vdev, in fnic_dev_wait() argument
[all...]
H A Dvnic_intr.c20 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, in vnic_intr_alloc() argument
24 intr->vdev = vdev; in vnic_intr_alloc()
26 intr->ctrl = vnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); in vnic_intr_alloc()
/kernel/linux/linux-6.6/samples/vfio-mdev/
H A Dmbochs.c172 struct vfio_device vdev; member
489 dev_dbg(mdev_state->vdev.dev, "%s: %s @0x%llx (unhandled)\n", in mdev_access()
516 static int mbochs_init_dev(struct vfio_device *vdev) in mbochs_init_dev() argument
519 container_of(vdev, struct mdev_state, vdev); in mbochs_init_dev()
520 struct mdev_device *mdev = to_mdev_device(vdev->dev); in mbochs_init_dev()
557 dev_info(vdev->dev, "%s: %s, %d MB, %ld pages\n", __func__, in mbochs_init_dev()
573 mdev_state = vfio_alloc_device(mdev_state, vdev, &mdev->dev, in mbochs_probe()
578 ret = vfio_register_emulated_iommu_dev(&mdev_state->vdev); in mbochs_probe()
585 vfio_put_device(&mdev_state->vdev); in mbochs_probe()
589 mbochs_release_dev(struct vfio_device *vdev) mbochs_release_dev() argument
607 mbochs_read(struct vfio_device *vdev, char __user *buf, size_t count, loff_t *ppos) mbochs_read() argument
668 mbochs_write(struct vfio_device *vdev, const char __user *buf, size_t count, loff_t *ppos) mbochs_write() argument
795 mbochs_mmap(struct vfio_device *vdev, struct vm_area_struct *vma) mbochs_mmap() argument
1185 mbochs_ioctl(struct vfio_device *vdev, unsigned int cmd, unsigned long arg) mbochs_ioctl() argument
1305 mbochs_close_device(struct vfio_device *vdev) mbochs_close_device() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/snic/
H A Dvnic_intr.c31 int svnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, in svnic_intr_alloc() argument
35 intr->vdev = vdev; in svnic_intr_alloc()
37 intr->ctrl = svnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); in svnic_intr_alloc()
/kernel/linux/linux-5.10/include/media/
H A Dv4l2-mc.h46 * @vdev: pointer to struct video_device
58 int v4l_enable_media_source(struct video_device *vdev);
63 * @vdev: pointer to struct video_device
72 void v4l_disable_media_source(struct video_device *vdev);
188 static inline int v4l_enable_media_source(struct video_device *vdev) in v4l_enable_media_source() argument
193 static inline void v4l_disable_media_source(struct video_device *vdev) in v4l_disable_media_source() argument
/kernel/linux/linux-6.6/include/media/
H A Dv4l2-mc.h46 * @vdev: pointer to struct video_device
58 int v4l_enable_media_source(struct video_device *vdev);
63 * @vdev: pointer to struct video_device
72 void v4l_disable_media_source(struct video_device *vdev);
194 static inline int v4l_enable_media_source(struct video_device *vdev) in v4l_enable_media_source() argument
199 static inline void v4l_disable_media_source(struct video_device *vdev) in v4l_disable_media_source() argument
/kernel/linux/linux-6.6/drivers/scsi/snic/
H A Dvnic_intr.c17 int svnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, in svnic_intr_alloc() argument
21 intr->vdev = vdev; in svnic_intr_alloc()
23 intr->ctrl = svnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); in svnic_intr_alloc()
/kernel/linux/linux-6.6/sound/virtio/
H A Dvirtio_chmap.c62 struct virtio_device *vdev = snd->vdev; in virtsnd_chmap_parse_cfg() local
66 virtio_cread_le(vdev, struct virtio_snd_config, chmaps, &snd->nchmaps); in virtsnd_chmap_parse_cfg()
70 snd->chmaps = devm_kcalloc(&vdev->dev, snd->nchmaps, in virtsnd_chmap_parse_cfg()
100 dev_err(&vdev->dev, in virtsnd_chmap_parse_cfg()
144 struct virtio_device *vdev = snd->vdev; in virtsnd_chmap_build_devs() local
158 vs->chmaps = devm_kcalloc(&vdev->dev, vs->nchmaps + 1, in virtsnd_chmap_build_devs()
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-ctrls-api.c216 struct video_device *vdev, in prepare_ext_ctrls()
235 dprintk(vdev, in prepare_ext_ctrls()
246 dprintk(vdev, in prepare_ext_ctrls()
252 dprintk(vdev, "cannot find control id 0x%x\n", id); in prepare_ext_ctrls()
258 dprintk(vdev, "control id 0x%x is disabled\n", id); in prepare_ext_ctrls()
302 dprintk(vdev, in prepare_ext_ctrls()
386 struct video_device *vdev) in v4l2_g_ext_ctrls_common()
413 ret = prepare_ext_ctrls(hdl, cs, helpers, vdev, true); in v4l2_g_ext_ctrls_common()
485 int v4l2_g_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct video_device *vdev, in v4l2_g_ext_ctrls() argument
489 return v4l2_g_ext_ctrls_request(hdl, vdev, mde in v4l2_g_ext_ctrls()
213 prepare_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct v4l2_ext_controls *cs, struct v4l2_ctrl_helper *helpers, struct video_device *vdev, bool get) prepare_ext_ctrls() argument
384 v4l2_g_ext_ctrls_common(struct v4l2_ctrl_handler *hdl, struct v4l2_ext_controls *cs, struct video_device *vdev) v4l2_g_ext_ctrls_common() argument
502 validate_ctrls(struct v4l2_ext_controls *cs, struct v4l2_ctrl_helper *helpers, struct video_device *vdev, bool set) validate_ctrls() argument
555 try_set_ext_ctrls_common(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, struct v4l2_ext_controls *cs, struct video_device *vdev, bool set) try_set_ext_ctrls_common() argument
690 try_set_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, struct video_device *vdev, struct media_device *mdev, struct v4l2_ext_controls *cs, bool set) try_set_ext_ctrls() argument
710 v4l2_try_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct video_device *vdev, struct media_device *mdev, struct v4l2_ext_controls *cs) v4l2_try_ext_ctrls() argument
719 v4l2_s_ext_ctrls(struct v4l2_fh *fh, struct v4l2_ctrl_handler *hdl, struct video_device *vdev, struct media_device *mdev, struct v4l2_ext_controls *cs) v4l2_s_ext_ctrls() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-video.c1050 video->vdev.ctrl_handler = handler; in mxc_isi_video_ctrls_create()
1172 pipe = media_entity_pipeline(&video->vdev.entity) ? : &video->pipe->pipe; in mxc_isi_video_streamon()
1174 ret = __video_device_pipeline_start(&video->vdev, pipe); in mxc_isi_video_streamon()
1203 video_device_pipeline_stop(&video->vdev); in mxc_isi_video_streamon()
1217 video_device_pipeline_stop(&video->vdev); in mxc_isi_video_cleanup_streaming()
1411 struct video_device *vdev = &video->vdev; in mxc_isi_video_register() local
1429 memset(vdev, 0, sizeof(*vdev)); in mxc_isi_video_register()
1430 snprintf(vdev in mxc_isi_video_register()
1501 struct video_device *vdev = &video->vdev; mxc_isi_video_unregister() local
[all...]

Completed in 21 milliseconds

1...<<11121314151617181920>>...44