/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/ |
H A D | vivid-vid-common.c | 969 struct video_device *vdev = video_devdata(file); in vidioc_g_std() local 971 if (vdev->vfl_dir == VFL_DIR_RX) { in vidioc_g_std() 987 struct video_device *vdev = video_devdata(file); in vidioc_g_dv_timings() local 989 if (vdev->vfl_dir == VFL_DIR_RX) { in vidioc_g_dv_timings() 1005 struct video_device *vdev = video_devdata(file); in vidioc_enum_dv_timings() local 1007 if (vdev->vfl_dir == VFL_DIR_RX) { in vidioc_enum_dv_timings() 1022 struct video_device *vdev = video_devdata(file); in vidioc_dv_timings_cap() local 1024 if (vdev->vfl_dir == VFL_DIR_RX) { in vidioc_dv_timings_cap() 1039 struct video_device *vdev = video_devdata(file); in vidioc_g_edid() local 1043 if (vdev in vidioc_g_edid() [all...] |
/kernel/linux/linux-6.6/drivers/memory/ |
H A D | renesas-rpc-if.c | 177 struct platform_device *vdev; member 712 struct platform_device *vdev; in rpcif_probe() local 762 vdev = platform_device_alloc(name, pdev->id); in rpcif_probe() 763 if (!vdev) in rpcif_probe() 765 vdev->dev.parent = dev; in rpcif_probe() 768 rpc->vdev = vdev; in rpcif_probe() 771 ret = platform_device_add(vdev); in rpcif_probe() 773 platform_device_put(vdev); in rpcif_probe() 784 platform_device_unregister(rpc->vdev); in rpcif_remove() [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci.c | 1661 struct xhci_virt_device *vdev; in xhci_urb_dequeue() local 1674 vdev = xhci->devs[urb->dev->slot_id]; in xhci_urb_dequeue() 1676 if (!vdev || !urb_priv) in xhci_urb_dequeue() 1680 ep = &vdev->eps[ep_index]; in xhci_urb_dequeue() 2887 struct xhci_virt_device *vdev, int i) in xhci_check_bw_drop_ep_streams() 2889 struct xhci_virt_ep *ep = &vdev->eps[i]; in xhci_check_bw_drop_ep_streams() 3126 struct xhci_virt_device *vdev; in xhci_endpoint_disable() local 3140 vdev = xhci->devs[udev->slot_id]; in xhci_endpoint_disable() 3141 if (!vdev) in xhci_endpoint_disable() 3145 ep = &vdev in xhci_endpoint_disable() 2886 xhci_check_bw_drop_ep_streams(struct xhci_hcd *xhci, struct xhci_virt_device *vdev, int i) xhci_check_bw_drop_ep_streams() argument 3181 struct xhci_virt_device *vdev; xhci_endpoint_reset() local 3468 struct xhci_virt_device *vdev; xhci_alloc_streams() local 3635 struct xhci_virt_device *vdev; xhci_free_streams() local 4038 struct xhci_virt_device *vdev; xhci_alloc_dev() local 5104 struct xhci_virt_device *vdev; xhci_update_hub_device() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci.c | 1648 struct xhci_virt_device *vdev; in xhci_urb_dequeue() local 1661 vdev = xhci->devs[urb->dev->slot_id]; in xhci_urb_dequeue() 1663 if (!vdev || !urb_priv) in xhci_urb_dequeue() 1667 ep = &vdev->eps[ep_index]; in xhci_urb_dequeue() 2859 struct xhci_virt_device *vdev, int i) in xhci_check_bw_drop_ep_streams() 2861 struct xhci_virt_ep *ep = &vdev->eps[i]; in xhci_check_bw_drop_ep_streams() 3022 struct xhci_virt_device *vdev; in xhci_endpoint_disable() local 3036 vdev = xhci->devs[udev->slot_id]; in xhci_endpoint_disable() 3037 if (!vdev) in xhci_endpoint_disable() 3041 ep = &vdev in xhci_endpoint_disable() 2858 xhci_check_bw_drop_ep_streams(struct xhci_hcd *xhci, struct xhci_virt_device *vdev, int i) xhci_check_bw_drop_ep_streams() argument 3075 struct xhci_virt_device *vdev; xhci_endpoint_reset() local 3360 struct xhci_virt_device *vdev; xhci_alloc_streams() local 3527 struct xhci_virt_device *vdev; xhci_free_streams() local 3928 struct xhci_virt_device *vdev; xhci_alloc_dev() local 4976 struct xhci_virt_device *vdev; xhci_update_hub_device() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/ |
H A D | hva-v4l2.c | 261 strscpy(cap->card, hva->vdev->name, sizeof(cap->card)); in hva_querycap() 1286 struct video_device *vdev; in hva_register_device() local 1301 vdev = video_device_alloc(); in hva_register_device() 1302 if (!vdev) { in hva_register_device() 1309 vdev->fops = &hva_fops; in hva_register_device() 1310 vdev->ioctl_ops = &hva_ioctl_ops; in hva_register_device() 1311 vdev->release = video_device_release; in hva_register_device() 1312 vdev->lock = &hva->lock; in hva_register_device() 1313 vdev->vfl_dir = VFL_DIR_M2M; in hva_register_device() 1314 vdev in hva_register_device() [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/au0828/ |
H A D | au0828-video.c | 941 vb2_video_unregister_device(&dev->vdev); in au0828_analog_unregister() 1037 struct video_device *vdev = video_devdata(filp); in au0828_v4l2_close() local 1045 if (vdev->vfl_type == VFL_TYPE_VIDEO && dev->vid_timeout_running) { in au0828_v4l2_close() 1049 } else if (vdev->vfl_type == VFL_TYPE_VBI && in au0828_v4l2_close() 1089 ret = v4l_enable_media_source(vdev); in au0828_v4l2_close() 1346 input->std = dev->vdev.tvnorms; in vidioc_enum_input() 1670 struct video_device *vdev = video_devdata(file); in vidioc_log_status() local 1675 v4l2_device_call_all(vdev->v4l2_dev, 0, core, log_status); in vidioc_log_status() 1854 ret = media_entity_pads_init(&dev->vdev.entity, 1, &dev->video_pad); in au0828_analog_create_entities() 1976 dev->vdev in au0828_analog_register() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_v4l2.c | 460 video->vdev.fops = &atomisp_fops; in atomisp_video_init() 461 video->vdev.ioctl_ops = &atomisp_ioctl_ops; in atomisp_video_init() 466 video->vdev.fops = &atomisp_file_fops; in atomisp_video_init() 467 video->vdev.ioctl_ops = &atomisp_file_ioctl_ops; in atomisp_video_init() 473 ret = media_entity_pads_init(&video->vdev.entity, 1, &video->pad); in atomisp_video_init() 478 snprintf(video->vdev.name, sizeof(video->vdev.name), in atomisp_video_init() 480 video->vdev.release = video_device_release_empty; in atomisp_video_init() 481 video_set_drvdata(&video->vdev, video->isp); in atomisp_video_init() 489 video->vdev in atomisp_acc_init() [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/au0828/ |
H A D | au0828-video.c | 941 vb2_video_unregister_device(&dev->vdev); in au0828_analog_unregister() 1037 struct video_device *vdev = video_devdata(filp); in au0828_v4l2_close() local 1045 if (vdev->vfl_type == VFL_TYPE_VIDEO && dev->vid_timeout_running) { in au0828_v4l2_close() 1049 } else if (vdev->vfl_type == VFL_TYPE_VBI && in au0828_v4l2_close() 1089 ret = v4l_enable_media_source(vdev); in au0828_v4l2_close() 1346 input->std = dev->vdev.tvnorms; in vidioc_enum_input() 1670 struct video_device *vdev = video_devdata(file); in vidioc_log_status() local 1675 v4l2_device_call_all(vdev->v4l2_dev, 0, core, log_status); in vidioc_log_status() 1854 ret = media_entity_pads_init(&dev->vdev.entity, 1, &dev->video_pad); in au0828_analog_create_entities() 1976 dev->vdev in au0828_analog_register() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/hva/ |
H A D | hva-v4l2.c | 261 strscpy(cap->card, hva->vdev->name, sizeof(cap->card)); in hva_querycap() 1286 struct video_device *vdev; in hva_register_device() local 1301 vdev = video_device_alloc(); in hva_register_device() 1302 if (!vdev) { in hva_register_device() 1309 vdev->fops = &hva_fops; in hva_register_device() 1310 vdev->ioctl_ops = &hva_ioctl_ops; in hva_register_device() 1311 vdev->release = video_device_release; in hva_register_device() 1312 vdev->lock = &hva->lock; in hva_register_device() 1313 vdev->vfl_dir = VFL_DIR_M2M; in hva_register_device() 1314 vdev in hva_register_device() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_intr.h | 50 struct vnic_dev *vdev; member 103 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
|
H A D | enic_ethtool.c | 122 base->speed = vnic_dev_port_speed(enic->vdev); in enic_get_ksettings() 306 if (vnic_dev_get_intr_mode(enic->vdev) == VNIC_DEV_INTR_MODE_MSIX) in enic_get_coalesce() 320 u32 coalesce_usecs_max = vnic_dev_get_intr_coal_timer_max(enic->vdev); in enic_coalesce_valid() 326 if ((vnic_dev_get_intr_mode(enic->vdev) != VNIC_DEV_INTR_MODE_MSIX) && in enic_coalesce_valid() 361 coalesce_usecs_max = vnic_dev_get_intr_coal_timer_max(enic->vdev); in enic_set_coalesce() 372 if (vnic_dev_get_intr_mode(enic->vdev) == VNIC_DEV_INTR_MODE_MSIX) { in enic_set_coalesce() 462 (void)vnic_dev_capable_rss_hash_type(enic->vdev, &rss_hash_type); in enic_get_rx_flow_hash()
|
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
H A D | vnic_intr.h | 64 struct vnic_dev *vdev; member 112 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
|
/kernel/linux/linux-5.10/drivers/video/fbdev/via/ |
H A D | viafbdev.h | 36 struct viafb_dev *vdev; /* Global dev info */ member 91 int via_fb_pci_probe(struct viafb_dev *vdev);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_intr.h | 37 struct vnic_dev *vdev; member 90 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
|
H A D | enic_ethtool.c | 107 base->speed = vnic_dev_port_speed(enic->vdev); in enic_get_ksettings() 297 if (vnic_dev_get_intr_mode(enic->vdev) == VNIC_DEV_INTR_MODE_MSIX) in enic_get_coalesce() 311 u32 coalesce_usecs_max = vnic_dev_get_intr_coal_timer_max(enic->vdev); in enic_coalesce_valid() 317 if ((vnic_dev_get_intr_mode(enic->vdev) != VNIC_DEV_INTR_MODE_MSIX) && in enic_coalesce_valid() 354 coalesce_usecs_max = vnic_dev_get_intr_coal_timer_max(enic->vdev); in enic_set_coalesce() 365 if (vnic_dev_get_intr_mode(enic->vdev) == VNIC_DEV_INTR_MODE_MSIX) { in enic_set_coalesce() 455 (void)vnic_dev_capable_rss_hash_type(enic->vdev, &rss_hash_type); in enic_get_rx_flow_hash()
|
/kernel/linux/linux-6.6/include/media/ |
H A D | v4l2-event.h | 97 * @vdev: pointer to &struct video_device 106 void v4l2_event_queue(struct video_device *vdev, const struct v4l2_event *ev); 128 * @vdev: pointer to &struct video_device 130 void v4l2_event_wake_all(struct video_device *vdev);
|
/kernel/linux/linux-6.6/drivers/video/fbdev/via/ |
H A D | viafbdev.h | 36 struct viafb_dev *vdev; /* Global dev info */ member 91 int via_fb_pci_probe(struct viafb_dev *vdev);
|
/kernel/linux/linux-6.6/drivers/scsi/fnic/ |
H A D | vnic_intr.h | 52 struct vnic_dev *vdev; member 100 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
|
/kernel/linux/linux-5.10/drivers/media/platform/ |
H A D | fsl-viu.c | 124 struct video_device *vdev; member 933 inp->std = fh->dev->vdev->tvnorms; in vidioc_enum_input() 1158 struct video_device *vdev = video_devdata(file); in viu_open() local 1159 struct viu_dev *dev = video_get_drvdata(vdev); in viu_open() 1162 int minor = vdev->minor; in viu_open() 1191 v4l2_fh_init(&fh->fh, vdev); in viu_open() 1385 struct video_device *vdev; in viu_of_probe() local 1468 vdev = video_device_alloc(); in viu_of_probe() 1469 if (vdev == NULL) { in viu_of_probe() 1474 *vdev in viu_of_probe() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/mtk-jpeg/ |
H A D | mtk_jpeg_core.c | 1400 jpeg->vdev = video_device_alloc(); in mtk_jpeg_probe() 1401 if (!jpeg->vdev) { in mtk_jpeg_probe() 1405 snprintf(jpeg->vdev->name, sizeof(jpeg->vdev->name), in mtk_jpeg_probe() 1407 jpeg->vdev->fops = &mtk_jpeg_fops; in mtk_jpeg_probe() 1408 jpeg->vdev->ioctl_ops = jpeg->variant->ioctl_ops; in mtk_jpeg_probe() 1409 jpeg->vdev->minor = -1; in mtk_jpeg_probe() 1410 jpeg->vdev->release = video_device_release; in mtk_jpeg_probe() 1411 jpeg->vdev->lock = &jpeg->lock; in mtk_jpeg_probe() 1412 jpeg->vdev in mtk_jpeg_probe() [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-subdev.c | 72 struct video_device *vdev = video_devdata(file); in subdev_open() local 73 struct v4l2_subdev *sd = vdev_to_v4l2_subdev(vdev); in subdev_open() 87 v4l2_fh_init(&subdev_fh->vfh, vdev); in subdev_open() 122 struct video_device *vdev = video_devdata(file); in subdev_close() local 123 struct v4l2_subdev *sd = vdev_to_v4l2_subdev(vdev); in subdev_close() 495 struct video_device *vdev = video_devdata(file); in subdev_do_ioctl() local 496 struct v4l2_subdev *sd = vdev_to_v4l2_subdev(vdev); in subdev_do_ioctl() 499 bool ro_subdev = test_bit(V4L2_FL_SUBDEV_RO_DEVNODE, &vdev->flags); in subdev_do_ioctl() 562 vdev, sd->v4l2_dev->mdev, arg); in subdev_do_ioctl() 568 vdev, s in subdev_do_ioctl() 955 struct video_device *vdev = video_devdata(file); subdev_do_ioctl_lock() local 994 struct video_device *vdev = video_devdata(file); subdev_compat_ioctl32() local 1019 struct video_device *vdev = video_devdata(file); subdev_poll() local [all...] |
/kernel/linux/linux-6.6/drivers/vhost/ |
H A D | vdpa.c | 46 struct vhost_dev vdev; member 152 struct vhost_vdpa *v = container_of(vq->dev, struct vhost_vdpa, vdev); in handle_vq_kick() 230 return ops->bind_mm(vdpa, v->vdev.mm); in vhost_vdpa_bind_mm() 421 struct vhost_dev *d = &v->vdev; in vhost_vdpa_set_features() 632 r = vhost_vring_ioctl(&v->vdev, cmd, argp); in vhost_vdpa_vring_ioctl() 683 struct vhost_dev *d = &v->vdev; in vhost_vdpa_unlocked_ioctl() 703 vhost_set_backend_features(&v->vdev, features); in vhost_vdpa_unlocked_ioctl() 776 r = vhost_dev_ioctl(&v->vdev, cmd, argp); in vhost_vdpa_unlocked_ioctl() 811 struct vhost_dev *dev = &v->vdev; in vhost_vdpa_pa_unmap() 883 struct vhost_dev *dev = &v->vdev; in vhost_vdpa_map() [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | viohs.c | 169 vio->vdev->channel_id); in process_unknown() 743 cfg.tx_irq = vio->vdev->tx_irq; in vio_ldc_alloc() 744 cfg.rx_irq = vio->vdev->rx_irq; in vio_ldc_alloc() 746 lp = ldc_alloc(vio->vdev->channel_id, &cfg, event_arg, vio->name); in vio_ldc_alloc() 782 vio->name, vio->vdev->channel_id, err); in vio_port_up() 794 vio->name, vio->vdev->channel_id, err); in vio_port_up() 814 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev, in vio_driver_init() argument 851 vio->vdev = vdev; in vio_driver_init()
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | viohs.c | 169 vio->vdev->channel_id); in process_unknown() 741 cfg.tx_irq = vio->vdev->tx_irq; in vio_ldc_alloc() 742 cfg.rx_irq = vio->vdev->rx_irq; in vio_ldc_alloc() 744 lp = ldc_alloc(vio->vdev->channel_id, &cfg, event_arg, vio->name); in vio_ldc_alloc() 780 vio->name, vio->vdev->channel_id, err); in vio_port_up() 792 vio->name, vio->vdev->channel_id, err); in vio_port_up() 812 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev, in vio_driver_init() argument 849 vio->vdev = vdev; in vio_driver_init()
|
/kernel/linux/linux-5.10/drivers/memory/ |
H A D | renesas-rpc-if.c | 624 struct platform_device *vdev; in rpcif_probe() local 646 vdev = platform_device_alloc(name, pdev->id); in rpcif_probe() 647 if (!vdev) in rpcif_probe() 649 vdev->dev.parent = &pdev->dev; in rpcif_probe() 650 platform_set_drvdata(pdev, vdev); in rpcif_probe() 652 ret = platform_device_add(vdev); in rpcif_probe() 654 platform_device_put(vdev); in rpcif_probe() 663 struct platform_device *vdev = platform_get_drvdata(pdev); in rpcif_remove() local 665 platform_device_unregister(vdev); in rpcif_remove()
|