/kernel/linux/linux-5.10/drivers/media/platform/coda/ |
H A D | trace.h | 25 __entry->minor = ctx->fh.vdev->minor; 45 __entry->minor = ctx->fh.vdev->minor; 64 __entry->minor = ctx->fh.vdev->minor; 98 __entry->minor = ctx->fh.vdev->minor; 129 __entry->minor = ctx->fh.vdev->minor;
|
/kernel/linux/linux-6.6/drivers/media/platform/chips-media/ |
H A D | trace.h | 25 __entry->minor = ctx->fh.vdev->minor; 45 __entry->minor = ctx->fh.vdev->minor; 64 __entry->minor = ctx->fh.vdev->minor; 98 __entry->minor = ctx->fh.vdev->minor; 129 __entry->minor = ctx->fh.vdev->minor;
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_gem.c | 235 struct vmw_private *vdev = (struct vmw_private *)m->private; in vmw_debugfs_gem_info_show() local 236 struct drm_device *dev = &vdev->drm; in vmw_debugfs_gem_info_show() 280 void vmw_debugfs_gem_init(struct vmw_private *vdev) in vmw_debugfs_gem_init() argument 283 struct drm_minor *minor = vdev->drm.primary; in vmw_debugfs_gem_init() 286 debugfs_create_file("vmwgfx_gem_info", 0444, root, vdev, in vmw_debugfs_gem_init()
|
/kernel/linux/linux-6.6/sound/virtio/ |
H A D | virtio_ctl_msg.c | 125 struct virtio_device *vdev = snd->vdev; in virtsnd_ctl_msg_send() local 161 dev_err(&vdev->dev, "failed to send control message (0x%08x)\n", in virtsnd_ctl_msg_send() 182 dev_err(&vdev->dev, in virtsnd_ctl_msg_send() 295 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_ctl_notify_cb()
|
/kernel/linux/linux-5.10/drivers/vfio/platform/reset/ |
H A D | vfio_platform_bcmflexrm.c | 77 static int vfio_platform_bcmflexrm_reset(struct vfio_platform_device *vdev) in vfio_platform_bcmflexrm_reset() argument 81 struct vfio_platform_region *reg = &vdev->regions[0]; in vfio_platform_bcmflexrm_reset() 96 dev_warn(vdev->device, in vfio_platform_bcmflexrm_reset()
|
/kernel/linux/linux-6.6/drivers/vfio/platform/reset/ |
H A D | vfio_platform_bcmflexrm.c | 69 static int vfio_platform_bcmflexrm_reset(struct vfio_platform_device *vdev) in vfio_platform_bcmflexrm_reset() argument 73 struct vfio_platform_region *reg = &vdev->regions[0]; in vfio_platform_bcmflexrm_reset() 88 dev_warn(vdev->device, in vfio_platform_bcmflexrm_reset()
|
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/ |
H A D | gsc-m2m.c | 752 gsc->vdev.fops = &gsc_m2m_fops; in gsc_register_m2m_device() 753 gsc->vdev.ioctl_ops = &gsc_m2m_ioctl_ops; in gsc_register_m2m_device() 754 gsc->vdev.release = video_device_release_empty; in gsc_register_m2m_device() 755 gsc->vdev.lock = &gsc->lock; in gsc_register_m2m_device() 756 gsc->vdev.vfl_dir = VFL_DIR_M2M; in gsc_register_m2m_device() 757 gsc->vdev.v4l2_dev = &gsc->v4l2_dev; in gsc_register_m2m_device() 758 gsc->vdev.device_caps = V4L2_CAP_STREAMING | in gsc_register_m2m_device() 760 snprintf(gsc->vdev.name, sizeof(gsc->vdev.name), "%s.%d:m2m", in gsc_register_m2m_device() 763 video_set_drvdata(&gsc->vdev, gs in gsc_register_m2m_device() [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/cx25821/ |
H A D | cx25821-video.c | 661 if (video_is_registered(&dev->channels[chan_num].vdev)) { in cx25821_video_unregister() 662 video_unregister_device(&dev->channels[chan_num].vdev); in cx25821_video_unregister() 679 struct video_device *vdev = &chan->vdev; in cx25821_video_register() local 749 *vdev = is_output ? cx25821_video_out_device : cx25821_video_device; in cx25821_video_register() 750 vdev->v4l2_dev = &dev->v4l2_dev; in cx25821_video_register() 752 vdev->ctrl_handler = hdl; in cx25821_video_register() 754 vdev->vfl_dir = VFL_DIR_TX; in cx25821_video_register() 755 vdev->lock = &dev->lock; in cx25821_video_register() 756 vdev in cx25821_video_register() [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/usbtv/ |
H A D | usbtv-video.c | 626 i->std = dev->vdev.tvnorms; in usbtv_enum_input() 932 strscpy(usbtv->vdev.name, "usbtv", sizeof(usbtv->vdev.name)); in usbtv_video_init() 933 usbtv->vdev.v4l2_dev = &usbtv->v4l2_dev; in usbtv_video_init() 934 usbtv->vdev.release = video_device_release_empty; in usbtv_video_init() 935 usbtv->vdev.fops = &usbtv_fops; in usbtv_video_init() 936 usbtv->vdev.ioctl_ops = &usbtv_ioctl_ops; in usbtv_video_init() 937 usbtv->vdev.tvnorms = USBTV_TV_STD; in usbtv_video_init() 938 usbtv->vdev.queue = &usbtv->vb2q; in usbtv_video_init() 939 usbtv->vdev in usbtv_video_init() [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/pwc/ |
H A D | pwc-if.c | 32 vdev: struct video_device (member of pwc_dev) 1072 pdev->vdev = pwc_template; in usb_pwc_probe() 1073 strscpy(pdev->vdev.name, name, sizeof(pdev->vdev.name)); in usb_pwc_probe() 1074 pdev->vdev.queue = &pdev->vb_queue; in usb_pwc_probe() 1075 pdev->vdev.queue->lock = &pdev->vb_queue_lock; in usb_pwc_probe() 1076 video_set_drvdata(&pdev->vdev, pdev); in usb_pwc_probe() 1093 pdev->vdev.name, in usb_pwc_probe() 1126 pdev->vdev.v4l2_dev = &pdev->v4l2_dev; in usb_pwc_probe() 1127 pdev->vdev in usb_pwc_probe() [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/pwc/ |
H A D | pwc-if.c | 32 vdev: struct video_device (member of pwc_dev) 1064 pdev->vdev = pwc_template; in usb_pwc_probe() 1065 strscpy(pdev->vdev.name, name, sizeof(pdev->vdev.name)); in usb_pwc_probe() 1066 pdev->vdev.queue = &pdev->vb_queue; in usb_pwc_probe() 1067 pdev->vdev.queue->lock = &pdev->vb_queue_lock; in usb_pwc_probe() 1068 video_set_drvdata(&pdev->vdev, pdev); in usb_pwc_probe() 1085 pdev->vdev.name, in usb_pwc_probe() 1118 pdev->vdev.v4l2_dev = &pdev->v4l2_dev; in usb_pwc_probe() 1119 pdev->vdev in usb_pwc_probe() [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/usbtv/ |
H A D | usbtv-video.c | 629 i->std = dev->vdev.tvnorms; in usbtv_enum_input() 935 strscpy(usbtv->vdev.name, "usbtv", sizeof(usbtv->vdev.name)); in usbtv_video_init() 936 usbtv->vdev.v4l2_dev = &usbtv->v4l2_dev; in usbtv_video_init() 937 usbtv->vdev.release = video_device_release_empty; in usbtv_video_init() 938 usbtv->vdev.fops = &usbtv_fops; in usbtv_video_init() 939 usbtv->vdev.ioctl_ops = &usbtv_ioctl_ops; in usbtv_video_init() 940 usbtv->vdev.tvnorms = USBTV_TV_STD; in usbtv_video_init() 941 usbtv->vdev.queue = &usbtv->vb2q; in usbtv_video_init() 942 usbtv->vdev in usbtv_video_init() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-m2m.c | 747 gsc->vdev.fops = &gsc_m2m_fops; in gsc_register_m2m_device() 748 gsc->vdev.ioctl_ops = &gsc_m2m_ioctl_ops; in gsc_register_m2m_device() 749 gsc->vdev.release = video_device_release_empty; in gsc_register_m2m_device() 750 gsc->vdev.lock = &gsc->lock; in gsc_register_m2m_device() 751 gsc->vdev.vfl_dir = VFL_DIR_M2M; in gsc_register_m2m_device() 752 gsc->vdev.v4l2_dev = &gsc->v4l2_dev; in gsc_register_m2m_device() 753 gsc->vdev.device_caps = V4L2_CAP_STREAMING | in gsc_register_m2m_device() 755 snprintf(gsc->vdev.name, sizeof(gsc->vdev.name), "%s.%d:m2m", in gsc_register_m2m_device() 758 video_set_drvdata(&gsc->vdev, gs in gsc_register_m2m_device() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cx25821/ |
H A D | cx25821-video.c | 661 if (video_is_registered(&dev->channels[chan_num].vdev)) { in cx25821_video_unregister() 662 video_unregister_device(&dev->channels[chan_num].vdev); in cx25821_video_unregister() 679 struct video_device *vdev = &chan->vdev; in cx25821_video_register() local 749 *vdev = is_output ? cx25821_video_out_device : cx25821_video_device; in cx25821_video_register() 750 vdev->v4l2_dev = &dev->v4l2_dev; in cx25821_video_register() 752 vdev->ctrl_handler = hdl; in cx25821_video_register() 754 vdev->vfl_dir = VFL_DIR_TX; in cx25821_video_register() 755 vdev->lock = &dev->lock; in cx25821_video_register() 756 vdev in cx25821_video_register() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/stm32/ |
H A D | stm32-dcmi.c | 141 struct video_device *vdev; member 590 struct media_entity *entity = &dcmi->vdev->entity; in dcmi_find_source() 683 struct media_entity *entity = &dcmi->vdev->entity; in dcmi_pipeline_s_stream() 740 ret = media_pipeline_start(&dcmi->vdev->entity, &dcmi->pipeline); in dcmi_start_streaming() 837 media_pipeline_stop(&dcmi->vdev->entity); in dcmi_start_streaming() 863 media_pipeline_stop(&dcmi->vdev->entity); in dcmi_stop_streaming() 1698 dcmi->vdev->ctrl_handler = dcmi->entity.source->ctrl_handler; in dcmi_graph_notify_complete() 1741 dev_dbg(dcmi->dev, "Removing %s\n", video_device_node_name(dcmi->vdev)); in dcmi_graph_notify_unbind() 1743 /* Checks internally if vdev has been init or not */ in dcmi_graph_notify_unbind() 1744 video_unregister_device(dcmi->vdev); in dcmi_graph_notify_unbind() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/atmel/ |
H A D | atmel-isi.c | 121 struct video_device *vdev; member 1083 isi->vdev->ctrl_handler = isi->entity.subdev->ctrl_handler; in isi_graph_notify_complete() 1097 ret = video_register_device(isi->vdev, VFL_TYPE_VIDEO, -1); in isi_graph_notify_complete() 1104 video_device_node_name(isi->vdev)); in isi_graph_notify_complete() 1114 dev_dbg(isi->dev, "Removing %s\n", video_device_node_name(isi->vdev)); in isi_graph_notify_unbind() 1116 /* Checks internally if vdev have been init or not */ in isi_graph_notify_unbind() 1117 video_unregister_device(isi->vdev); in isi_graph_notify_unbind() 1226 isi->vdev = video_device_alloc(); in atmel_isi_probe() 1227 if (!isi->vdev) { in atmel_isi_probe() 1233 isi->vdev in atmel_isi_probe() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/ |
H A D | renesas-ceu.c | 173 struct video_device vdev; member 1375 static void ceu_vdev_release(struct video_device *vdev) in ceu_vdev_release() argument 1377 struct ceu_device *ceudev = video_get_drvdata(vdev); in ceu_vdev_release() 1400 struct video_device *vdev = &ceudev->vdev; in ceu_notify_complete() local 1441 strscpy(vdev->name, DRIVER_NAME, sizeof(vdev->name)); in ceu_notify_complete() 1442 vdev->v4l2_dev = v4l2_dev; in ceu_notify_complete() 1443 vdev->lock = &ceudev->mlock; in ceu_notify_complete() 1444 vdev in ceu_notify_complete() [all...] |
/kernel/linux/linux-5.10/drivers/vhost/ |
H A D | vdpa.c | 37 struct vhost_dev vdev; member 61 struct vhost_vdpa *v = container_of(vq->dev, struct vhost_vdpa, vdev); in handle_vq_kick() 402 r = vhost_vring_ioctl(&v->vdev, cmd, argp); in vhost_vdpa_vring_ioctl() 445 struct vhost_dev *d = &v->vdev; in vhost_vdpa_unlocked_ioctl() 456 vhost_set_backend_features(&v->vdev, features); in vhost_vdpa_unlocked_ioctl() 503 r = vhost_dev_ioctl(&v->vdev, cmd, argp); in vhost_vdpa_unlocked_ioctl() 515 struct vhost_dev *dev = &v->vdev; in vhost_vdpa_iotlb_unmap() 537 struct vhost_dev *dev = &v->vdev; in vhost_vdpa_iotlb_free() 569 struct vhost_dev *dev = &v->vdev; in vhost_vdpa_map() 599 struct vhost_dev *dev = &v->vdev; in vhost_vdpa_unmap() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/ |
H A D | hantro_drv.c | 627 struct video_device *vdev = video_devdata(filp); in hantro_open() local 628 struct hantro_func *func = hantro_vdev_to_func(vdev); in hantro_open() 637 * as vdev and ctx->fh), which have proper locking done in respective in hantro_open() 663 v4l2_fh_init(&ctx->fh, vdev); in hantro_open() 745 int function, struct video_device *vdev) in hantro_register_entity() 753 entity->info.dev.minor = vdev->minor; in hantro_register_entity() 756 name = devm_kasprintf(mdev->dev, GFP_KERNEL, "%s-%s", vdev->name, in hantro_register_entity() 784 ret = hantro_register_entity(mdev, &func->vdev.entity, "source", in hantro_attach_func() 786 &func->vdev); in hantro_attach_func() 794 &func->vdev); in hantro_attach_func() 741 hantro_register_entity(struct media_device *mdev, struct media_entity *entity, const char *entity_name, struct media_pad *pads, int num_pads, int function, struct video_device *vdev) hantro_register_entity() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/atmel/ |
H A D | atmel-isi.c | 120 struct video_device *vdev; member 1092 isi->vdev->ctrl_handler = isi->entity.subdev->ctrl_handler; in isi_graph_notify_complete() 1110 ret = video_register_device(isi->vdev, VFL_TYPE_VIDEO, -1); in isi_graph_notify_complete() 1117 video_device_node_name(isi->vdev)); in isi_graph_notify_complete() 1127 dev_dbg(isi->dev, "Removing %s\n", video_device_node_name(isi->vdev)); in isi_graph_notify_unbind() 1129 /* Checks internally if vdev have been init or not */ in isi_graph_notify_unbind() 1130 video_unregister_device(isi->vdev); in isi_graph_notify_unbind() 1218 isi->vdev = video_device_alloc(); in atmel_isi_probe() 1219 if (!isi->vdev) { in atmel_isi_probe() 1225 isi->vdev in atmel_isi_probe() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/ |
H A D | renesas-ceu.c | 172 struct video_device vdev; member 1368 static void ceu_vdev_release(struct video_device *vdev) in ceu_vdev_release() argument 1370 struct ceu_device *ceudev = video_get_drvdata(vdev); in ceu_vdev_release() 1393 struct video_device *vdev = &ceudev->vdev; in ceu_notify_complete() local 1434 strscpy(vdev->name, DRIVER_NAME, sizeof(vdev->name)); in ceu_notify_complete() 1435 vdev->v4l2_dev = v4l2_dev; in ceu_notify_complete() 1436 vdev->lock = &ceudev->mlock; in ceu_notify_complete() 1437 vdev in ceu_notify_complete() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
H A D | snic_isr.c | 108 intr_mode = svnic_dev_get_intr_mode(snic->vdev); in snic_request_intr() 182 svnic_dev_set_intr_mode(snic->vdev, VNIC_DEV_INTR_MODE_MSIX); in snic_set_intr_mode() 185 svnic_dev_set_intr_mode(snic->vdev, VNIC_DEV_INTR_MODE_UNKNOWN); in snic_set_intr_mode() 193 svnic_dev_set_intr_mode(snic->vdev, VNIC_DEV_INTR_MODE_INTX); in snic_clear_intr_mode()
|
/kernel/linux/linux-6.6/drivers/scsi/snic/ |
H A D | snic_isr.c | 94 intr_mode = svnic_dev_get_intr_mode(snic->vdev); in snic_request_intr() 168 svnic_dev_set_intr_mode(snic->vdev, VNIC_DEV_INTR_MODE_MSIX); in snic_set_intr_mode() 171 svnic_dev_set_intr_mode(snic->vdev, VNIC_DEV_INTR_MODE_UNKNOWN); in snic_set_intr_mode() 179 svnic_dev_set_intr_mode(snic->vdev, VNIC_DEV_INTR_MODE_INTX); in snic_clear_intr_mode()
|
/kernel/linux/linux-6.6/drivers/media/platform/st/stm32/ |
H A D | stm32-dcmi.c | 134 struct video_device *vdev; member 606 struct media_entity *entity = &dcmi->vdev->entity; in dcmi_find_source() 710 ret = video_device_pipeline_start(dcmi->vdev, &dcmi->pipeline); in dcmi_start_streaming() 827 video_device_pipeline_stop(dcmi->vdev); in dcmi_start_streaming() 858 video_device_pipeline_stop(dcmi->vdev); in dcmi_stop_streaming() 1764 dcmi->vdev->ctrl_handler = dcmi->source->ctrl_handler; in dcmi_graph_notify_complete() 1807 dev_dbg(dcmi->dev, "Removing %s\n", video_device_node_name(dcmi->vdev)); in dcmi_graph_notify_unbind() 1809 /* Checks internally if vdev has been init or not */ in dcmi_graph_notify_unbind() 1810 video_unregister_device(dcmi->vdev); in dcmi_graph_notify_unbind() 1832 &dcmi->vdev in dcmi_graph_notify_bound() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/ |
H A D | usnic_vnic.c | 43 struct vnic_dev *vdev; member 308 cnt = vnic_dev_get_res_count(vnic->vdev, _to_vnic_res_type(type)); in usnic_vnic_alloc_res_chunk() 328 res->ctrl = vnic_dev_get_res(vnic->vdev, in usnic_vnic_alloc_res_chunk() 371 vnic->vdev = vnic_dev_register(NULL, pdev, pdev, vnic->bar, in usnic_vnic_discover_resources() 373 if (!vnic->vdev) { in usnic_vnic_discover_resources() 393 vnic_dev_unregister(vnic->vdev); in usnic_vnic_discover_resources() 409 return vnic_dev_get_pdev(vnic->vdev); in usnic_vnic_get_pdev() 430 vnic_dev_unregister(vnic->vdev); in usnic_vnic_release_resources()
|