/kernel/linux/linux-6.6/drivers/media/platform/renesas/rcar-vin/ |
H A D | rcar-core.c | 242 !video_is_registered(&vin->group->vin[i]->vdev)) { in rvin_group_notify_complete() 437 vin->vdev.ctrl_handler = NULL; in rvin_free_controls() 468 vin->vdev.ctrl_handler = &vin->ctrl_handler; in rvin_create_controls() 547 ret = v4l2_subdev_call(subdev, video, g_tvnorms, &vin->vdev.tvnorms); in rvin_parallel_subdevice_attach() 589 if (!video_is_registered(&vin->vdev)) { in rvin_parallel_notify_complete() 600 sink = &vin->vdev.entity; in rvin_parallel_notify_complete() 772 struct video_device *vdev; in rvin_csi2_link_notify() local 795 vdev = media_entity_to_video_device(link->sink->entity); in rvin_csi2_link_notify() 796 vin = container_of(vdev, struct rvin_dev, vdev); in rvin_csi2_link_notify() [all...] |
/kernel/linux/linux-5.10/tools/virtio/linux/ |
H A D | virtio.h | 23 struct virtio_device *vdev; member 60 struct virtio_device *vdev,
|
/kernel/linux/linux-5.10/drivers/vfio/platform/reset/ |
H A D | vfio_platform_calxedaxgmac.c | 49 static int vfio_platform_calxedaxgmac_reset(struct vfio_platform_device *vdev) in vfio_platform_calxedaxgmac_reset() argument 51 struct vfio_platform_region *reg = &vdev->regions[0]; in vfio_platform_calxedaxgmac_reset()
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_histo.h | 54 static inline struct vsp1_histogram *vdev_to_histo(struct video_device *vdev) in vdev_to_histo() argument 56 return container_of(vdev, struct vsp1_histogram, video); in vdev_to_histo()
|
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/ |
H A D | xilinx-dma.h | 98 #define to_xvip_dma(vdev) container_of(vdev, struct xvip_dma, video)
|
/kernel/linux/linux-6.6/drivers/vfio/platform/reset/ |
H A D | vfio_platform_calxedaxgmac.c | 49 static int vfio_platform_calxedaxgmac_reset(struct vfio_platform_device *vdev) in vfio_platform_calxedaxgmac_reset() argument 51 struct vfio_platform_region *reg = &vdev->regions[0]; in vfio_platform_calxedaxgmac_reset()
|
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_histo.h | 54 static inline struct vsp1_histogram *vdev_to_histo(struct video_device *vdev) in vdev_to_histo() argument 56 return container_of(vdev, struct vsp1_histogram, video); in vdev_to_histo()
|
/kernel/linux/linux-6.6/tools/virtio/linux/ |
H A D | virtio.h | 24 struct virtio_device *vdev; member 63 struct virtio_device *vdev,
|
/kernel/linux/linux-5.10/drivers/media/usb/uvc/ |
H A D | uvc_driver.c | 2015 static void uvc_release(struct video_device *vdev) in uvc_release() argument 2017 struct uvc_streaming *stream = video_get_drvdata(vdev); in uvc_release() 2031 if (!video_is_registered(&stream->vdev)) in uvc_unregister_video() 2034 video_unregister_device(&stream->vdev); in uvc_unregister_video() 2035 video_unregister_device(&stream->meta.vdev); in uvc_unregister_video() 2042 if (dev->vdev.dev) in uvc_unregister_video() 2043 v4l2_device_unregister(&dev->vdev); in uvc_unregister_video() 2052 struct video_device *vdev, in uvc_register_video_device() 2072 vdev->v4l2_dev = &dev->vdev; in uvc_register_video_device() 2050 uvc_register_video_device(struct uvc_device *dev, struct uvc_streaming *stream, struct video_device *vdev, struct uvc_video_queue *queue, enum v4l2_buf_type type, const struct v4l2_file_operations *fops, const struct v4l2_ioctl_ops *ioctl_ops) uvc_register_video_device() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/uvc/ |
H A D | uvc_driver.c | 1895 static void uvc_release(struct video_device *vdev) in uvc_release() argument 1897 struct uvc_streaming *stream = video_get_drvdata(vdev); in uvc_release() 1911 if (!video_is_registered(&stream->vdev)) in uvc_unregister_video() 1914 video_unregister_device(&stream->vdev); in uvc_unregister_video() 1915 video_unregister_device(&stream->meta.vdev); in uvc_unregister_video() 1922 if (dev->vdev.dev) in uvc_unregister_video() 1923 v4l2_device_unregister(&dev->vdev); in uvc_unregister_video() 1932 struct video_device *vdev, in uvc_register_video_device() 1952 vdev->v4l2_dev = &dev->vdev; in uvc_register_video_device() 1930 uvc_register_video_device(struct uvc_device *dev, struct uvc_streaming *stream, struct video_device *vdev, struct uvc_video_queue *queue, enum v4l2_buf_type type, const struct v4l2_file_operations *fops, const struct v4l2_ioctl_ops *ioctl_ops) uvc_register_video_device() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/dt3155/ |
H A D | dt3155.c | 508 pd->vdev = dt3155_vdev; in dt3155_probe() 509 pd->vdev.v4l2_dev = &pd->v4l2_dev; in dt3155_probe() 510 video_set_drvdata(&pd->vdev, pd); /* for use in video_fops */ in dt3155_probe() 518 pd->vdev.lock = &pd->mux; /* for locking v4l2_file_operations */ in dt3155_probe() 529 pd->vdev.queue = &pd->vidq; in dt3155_probe() 553 err = video_register_device(&pd->vdev, VFL_TYPE_VIDEO, -1); in dt3155_probe() 556 dev_info(&pdev->dev, "/dev/video%i is ready\n", pd->vdev.minor); in dt3155_probe() 578 vb2_video_unregister_device(&pd->vdev); in dt3155_remove()
|
/kernel/linux/linux-6.6/drivers/media/pci/dt3155/ |
H A D | dt3155.c | 505 pd->vdev = dt3155_vdev; in dt3155_probe() 506 pd->vdev.v4l2_dev = &pd->v4l2_dev; in dt3155_probe() 507 video_set_drvdata(&pd->vdev, pd); /* for use in video_fops */ in dt3155_probe() 515 pd->vdev.lock = &pd->mux; /* for locking v4l2_file_operations */ in dt3155_probe() 526 pd->vdev.queue = &pd->vidq; in dt3155_probe() 550 err = video_register_device(&pd->vdev, VFL_TYPE_VIDEO, -1); in dt3155_probe() 553 dev_info(&pdev->dev, "/dev/video%i is ready\n", pd->vdev.minor); in dt3155_probe() 575 vb2_video_unregister_device(&pd->vdev); in dt3155_remove()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.c | 453 struct device *dev = &adapter->vdev->dev; in alloc_long_term_buff() 522 struct device *dev = &adapter->vdev->dev; in free_long_term_buff() 586 struct device *dev = &adapter->vdev->dev; in alloc_ltb_set() 759 struct device *dev = &adapter->vdev->dev; in replenish_rx_pool() 929 struct device *dev = &adapter->vdev->dev; in release_stats_token() 942 struct device *dev = &adapter->vdev->dev; in init_stats_token() 1056 struct device *dev = &adapter->vdev->dev; in init_rx_pools() 1297 struct device *dev = &adapter->vdev->dev; in init_tx_pools() 1653 dma_unmap_single(&adapter->vdev->dev, adapter->login_buf_token, in release_login_buffer() 1664 dma_unmap_single(&adapter->vdev in release_login_rsp_buffer() 6091 struct vio_dev *vdev = adapter->vdev; ibmvnic_reenable_crq_queue() local 6108 struct vio_dev *vdev = adapter->vdev; ibmvnic_reset_crq() local 6140 struct vio_dev *vdev = adapter->vdev; release_crq_queue() local 6164 struct vio_dev *vdev = adapter->vdev; init_crq_queue() local 6582 ibmvnic_get_desired_dma(struct vio_dev *vdev) ibmvnic_get_desired_dma() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_wq.h | 82 struct vnic_dev *vdev; member 179 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, 189 int enic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq,
|
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
H A D | vnic_wq.h | 89 struct vnic_dev *vdev; member 166 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, 168 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_wq.h | 69 struct vnic_dev *vdev; member 166 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, 176 int enic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq,
|
/kernel/linux/linux-6.6/drivers/scsi/fnic/ |
H A D | vnic_wq.h | 77 struct vnic_dev *vdev; member 154 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, 156 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq,
|
/kernel/linux/linux-6.6/drivers/vfio/pci/pds/ |
H A D | pci_drv.c | 135 pds_vfio = vfio_alloc_device(pds_vfio_pci_device, vfio_coredev.vdev, in pds_vfio_pci_probe() 164 vfio_put_device(&pds_vfio->vfio_coredev.vdev); in pds_vfio_pci_probe() 175 vfio_put_device(&pds_vfio->vfio_coredev.vdev); in pds_vfio_pci_remove()
|
/kernel/linux/linux-5.10/drivers/media/platform/ |
H A D | sh_vou.c | 75 struct video_device vdev; member 784 a->std = vou_dev->vdev.tvnorms; in sh_vou_enum_output() 1224 struct video_device *vdev; in sh_vou_probe() local 1281 vdev = &vou_dev->vdev; in sh_vou_probe() 1282 *vdev = sh_vou_video_template; in sh_vou_probe() 1284 vdev->tvnorms |= V4L2_STD_PAL; in sh_vou_probe() 1285 vdev->v4l2_dev = &vou_dev->v4l2_dev; in sh_vou_probe() 1286 vdev->release = video_device_release_empty; in sh_vou_probe() 1287 vdev in sh_vou_probe() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/ |
H A D | sh_vou.c | 75 struct video_device vdev; member 784 a->std = vou_dev->vdev.tvnorms; in sh_vou_enum_output() 1224 struct video_device *vdev; in sh_vou_probe() local 1281 vdev = &vou_dev->vdev; in sh_vou_probe() 1282 *vdev = sh_vou_video_template; in sh_vou_probe() 1284 vdev->tvnorms |= V4L2_STD_PAL; in sh_vou_probe() 1285 vdev->v4l2_dev = &vou_dev->v4l2_dev; in sh_vou_probe() 1286 vdev->release = video_device_release_empty; in sh_vou_probe() 1287 vdev in sh_vou_probe() [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/cobalt/ |
H A D | cobalt-v4l2.c | 1204 struct video_device *vdev = &s->vdev; in cobalt_node_register() local 1211 snprintf(vdev->name, sizeof(vdev->name), in cobalt_node_register() 1233 vdev->v4l2_dev = &cobalt->v4l2_dev; in cobalt_node_register() 1235 vdev->fops = &cobalt_empty_fops; in cobalt_node_register() 1237 vdev->fops = s->is_output ? &cobalt_out_fops : in cobalt_node_register() 1239 vdev->release = video_device_release_empty; in cobalt_node_register() 1240 vdev->vfl_dir = s->is_output ? VFL_DIR_TX : VFL_DIR_RX; in cobalt_node_register() 1241 vdev in cobalt_node_register() 1311 struct video_device *vdev = &s->vdev; cobalt_nodes_unregister() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/ |
H A D | delta-v4l2.c | 389 strscpy(cap->card, delta->vdev->name, sizeof(cap->card)); in delta_querycap() 1755 struct video_device *vdev; in delta_register_device() local 1768 vdev = video_device_alloc(); in delta_register_device() 1769 if (!vdev) { in delta_register_device() 1776 vdev->fops = &delta_fops; in delta_register_device() 1777 vdev->ioctl_ops = &delta_ioctl_ops; in delta_register_device() 1778 vdev->release = video_device_release; in delta_register_device() 1779 vdev->lock = &delta->lock; in delta_register_device() 1780 vdev->vfl_dir = VFL_DIR_M2M; in delta_register_device() 1781 vdev in delta_register_device() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/delta/ |
H A D | delta-v4l2.c | 389 strscpy(cap->card, delta->vdev->name, sizeof(cap->card)); in delta_querycap() 1748 struct video_device *vdev; in delta_register_device() local 1761 vdev = video_device_alloc(); in delta_register_device() 1762 if (!vdev) { in delta_register_device() 1769 vdev->fops = &delta_fops; in delta_register_device() 1770 vdev->ioctl_ops = &delta_ioctl_ops; in delta_register_device() 1771 vdev->release = video_device_release; in delta_register_device() 1772 vdev->lock = &delta->lock; in delta_register_device() 1773 vdev->vfl_dir = VFL_DIR_M2M; in delta_register_device() 1774 vdev in delta_register_device() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cobalt/ |
H A D | cobalt-v4l2.c | 1209 struct video_device *vdev = &s->vdev; in cobalt_node_register() local 1216 snprintf(vdev->name, sizeof(vdev->name), in cobalt_node_register() 1238 vdev->v4l2_dev = &cobalt->v4l2_dev; in cobalt_node_register() 1240 vdev->fops = &cobalt_empty_fops; in cobalt_node_register() 1242 vdev->fops = s->is_output ? &cobalt_out_fops : in cobalt_node_register() 1244 vdev->release = video_device_release_empty; in cobalt_node_register() 1245 vdev->vfl_dir = s->is_output ? VFL_DIR_TX : VFL_DIR_RX; in cobalt_node_register() 1246 vdev in cobalt_node_register() 1316 struct video_device *vdev = &s->vdev; cobalt_nodes_unregister() local [all...] |
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-common.c | 954 struct video_device *vdev = video_devdata(file); in vidioc_g_std() local 956 if (vdev->vfl_dir == VFL_DIR_RX) { in vidioc_g_std() 972 struct video_device *vdev = video_devdata(file); in vidioc_g_dv_timings() local 974 if (vdev->vfl_dir == VFL_DIR_RX) { in vidioc_g_dv_timings() 990 struct video_device *vdev = video_devdata(file); in vidioc_enum_dv_timings() local 992 if (vdev->vfl_dir == VFL_DIR_RX) { in vidioc_enum_dv_timings() 1007 struct video_device *vdev = video_devdata(file); in vidioc_dv_timings_cap() local 1009 if (vdev->vfl_dir == VFL_DIR_RX) { in vidioc_dv_timings_cap() 1024 struct video_device *vdev = video_devdata(file); in vidioc_g_edid() local 1028 if (vdev in vidioc_g_edid() [all...] |