Home
last modified time | relevance | path

Searched refs:vdev (Results 326 - 350 of 1086) sorted by relevance

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

/kernel/linux/linux-5.10/drivers/vfio/platform/reset/
H A Dvfio_platform_amdxgbe.c48 static int vfio_platform_amdxgbe_reset(struct vfio_platform_device *vdev) in vfio_platform_amdxgbe_reset() argument
50 struct vfio_platform_region *xgmac_regs = &vdev->regions[0]; in vfio_platform_amdxgbe_reset()
51 struct vfio_platform_region *xpcs_regs = &vdev->regions[1]; in vfio_platform_amdxgbe_reset()
81 dev_warn(vdev->device, "%s: XGBE PHY reset timeout\n", in vfio_platform_amdxgbe_reset()
107 dev_warn(vdev->device, "%s: MAC SW reset failed\n", __func__); in vfio_platform_amdxgbe_reset()
/kernel/linux/linux-6.6/drivers/vfio/platform/reset/
H A Dvfio_platform_amdxgbe.c48 static int vfio_platform_amdxgbe_reset(struct vfio_platform_device *vdev) in vfio_platform_amdxgbe_reset() argument
50 struct vfio_platform_region *xgmac_regs = &vdev->regions[0]; in vfio_platform_amdxgbe_reset()
51 struct vfio_platform_region *xpcs_regs = &vdev->regions[1]; in vfio_platform_amdxgbe_reset()
81 dev_warn(vdev->device, "%s: XGBE PHY reset timeout\n", in vfio_platform_amdxgbe_reset()
107 dev_warn(vdev->device, "%s: MAC SW reset failed\n", __func__); in vfio_platform_amdxgbe_reset()
/kernel/linux/linux-6.6/drivers/nvdimm/
H A Dnd_virtio.c15 struct virtio_pmem *vpmem = vq->vdev->priv; in virtio_pmem_host_ack()
40 struct virtio_device *vdev = nd_region->provider_data; in virtio_pmem_flush() local
41 struct virtio_pmem *vpmem = vdev->priv; in virtio_pmem_flush()
72 dev_info(&vdev->dev, "failed to send command to virtio pmem device, no free slots in the virtqueue\n"); in virtio_pmem_flush()
88 dev_info(&vdev->dev, "failed to send command to virtio pmem device\n"); in virtio_pmem_flush()
/kernel/linux/linux-5.10/drivers/media/radio/
H A Dradio-miropcm20.c64 struct video_device vdev; member
476 strscpy(dev->vdev.name, v4l2_dev->name, sizeof(dev->vdev.name)); in pcm20_init()
477 dev->vdev.v4l2_dev = v4l2_dev; in pcm20_init()
478 dev->vdev.fops = &pcm20_fops; in pcm20_init()
479 dev->vdev.ioctl_ops = &pcm20_ioctl_ops; in pcm20_init()
480 dev->vdev.release = video_device_release_empty; in pcm20_init()
481 dev->vdev.lock = &dev->lock; in pcm20_init()
482 dev->vdev.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO | in pcm20_init()
484 video_set_drvdata(&dev->vdev, de in pcm20_init()
[all...]
H A Dradio-ma901.c75 struct video_device vdev; member
178 video_unregister_device(&radio->vdev); in usb_ma901radio_disconnect()
392 strscpy(radio->vdev.name, radio->v4l2_dev.name, in usb_ma901radio_probe()
393 sizeof(radio->vdev.name)); in usb_ma901radio_probe()
394 radio->vdev.v4l2_dev = &radio->v4l2_dev; in usb_ma901radio_probe()
395 radio->vdev.fops = &usb_ma901radio_fops; in usb_ma901radio_probe()
396 radio->vdev.ioctl_ops = &usb_ma901radio_ioctl_ops; in usb_ma901radio_probe()
397 radio->vdev.release = video_device_release_empty; in usb_ma901radio_probe()
398 radio->vdev.lock = &radio->lock; in usb_ma901radio_probe()
399 radio->vdev in usb_ma901radio_probe()
[all...]
H A Dradio-isa.c234 isa->vdev.lock = &isa->lock; in radio_isa_common_probe()
235 strscpy(isa->vdev.name, v4l2_dev->name, sizeof(isa->vdev.name)); in radio_isa_common_probe()
236 isa->vdev.v4l2_dev = v4l2_dev; in radio_isa_common_probe()
237 isa->vdev.fops = &radio_isa_fops; in radio_isa_common_probe()
238 isa->vdev.ioctl_ops = &radio_isa_ioctl_ops; in radio_isa_common_probe()
239 isa->vdev.release = video_device_release_empty; in radio_isa_common_probe()
240 isa->vdev.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO; in radio_isa_common_probe()
241 video_set_drvdata(&isa->vdev, isa); in radio_isa_common_probe()
257 res = video_register_device(&isa->vdev, VFL_TYPE_RADI in radio_isa_common_probe()
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/
H A Dradio-miropcm20.c64 struct video_device vdev; member
476 strscpy(dev->vdev.name, v4l2_dev->name, sizeof(dev->vdev.name)); in pcm20_init()
477 dev->vdev.v4l2_dev = v4l2_dev; in pcm20_init()
478 dev->vdev.fops = &pcm20_fops; in pcm20_init()
479 dev->vdev.ioctl_ops = &pcm20_ioctl_ops; in pcm20_init()
480 dev->vdev.release = video_device_release_empty; in pcm20_init()
481 dev->vdev.lock = &dev->lock; in pcm20_init()
482 dev->vdev.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO | in pcm20_init()
484 video_set_drvdata(&dev->vdev, de in pcm20_init()
[all...]
H A Dradio-ma901.c75 struct video_device vdev; member
178 video_unregister_device(&radio->vdev); in usb_ma901radio_disconnect()
392 strscpy(radio->vdev.name, radio->v4l2_dev.name, in usb_ma901radio_probe()
393 sizeof(radio->vdev.name)); in usb_ma901radio_probe()
394 radio->vdev.v4l2_dev = &radio->v4l2_dev; in usb_ma901radio_probe()
395 radio->vdev.fops = &usb_ma901radio_fops; in usb_ma901radio_probe()
396 radio->vdev.ioctl_ops = &usb_ma901radio_ioctl_ops; in usb_ma901radio_probe()
397 radio->vdev.release = video_device_release_empty; in usb_ma901radio_probe()
398 radio->vdev.lock = &radio->lock; in usb_ma901radio_probe()
399 radio->vdev in usb_ma901radio_probe()
[all...]
H A Dradio-isa.c234 isa->vdev.lock = &isa->lock; in radio_isa_common_probe()
235 strscpy(isa->vdev.name, v4l2_dev->name, sizeof(isa->vdev.name)); in radio_isa_common_probe()
236 isa->vdev.v4l2_dev = v4l2_dev; in radio_isa_common_probe()
237 isa->vdev.fops = &radio_isa_fops; in radio_isa_common_probe()
238 isa->vdev.ioctl_ops = &radio_isa_ioctl_ops; in radio_isa_common_probe()
239 isa->vdev.release = video_device_release_empty; in radio_isa_common_probe()
240 isa->vdev.device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO; in radio_isa_common_probe()
241 video_set_drvdata(&isa->vdev, isa); in radio_isa_common_probe()
257 res = video_register_device(&isa->vdev, VFL_TYPE_RADI in radio_isa_common_probe()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
H A Dhantro_drv.c398 struct video_device *vdev = video_devdata(filp); in hantro_open() local
399 struct hantro_func *func = hantro_vdev_to_func(vdev); in hantro_open()
408 * as vdev and ctx->fh), which have proper locking done in respective in hantro_open()
434 v4l2_fh_init(&ctx->fh, vdev); in hantro_open()
501 int function, struct video_device *vdev) in hantro_register_entity()
509 entity->info.dev.minor = vdev->minor; in hantro_register_entity()
512 name = devm_kasprintf(mdev->dev, GFP_KERNEL, "%s-%s", vdev->name, in hantro_register_entity()
540 ret = hantro_register_entity(mdev, &func->vdev.entity, "source", in hantro_attach_func()
542 &func->vdev); in hantro_attach_func()
550 &func->vdev); in hantro_attach_func()
497 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-5.10/drivers/misc/
H A Dibmvmc.c144 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_release_crq_queue() local
147 free_irq(vdev->irq, (void *)adapter); in ibmvmc_release_crq_queue()
153 h_free_crq(vdev->unit_address); in ibmvmc_release_crq_queue()
174 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_reset_crq_queue() local
179 h_free_crq(vdev->unit_address); in ibmvmc_reset_crq_queue()
187 vdev->unit_address, in ibmvmc_reset_crq_queue()
243 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_send_crq() local
247 vdev->unit_address, word1, word2); in ibmvmc_send_crq()
254 rc = plpar_hcall_norets(H_SEND_CRQ, vdev->unit_address, word1, word2); in ibmvmc_send_crq()
263 * @vdev
272 alloc_dma_buffer(struct vio_dev *vdev, size_t size, dma_addr_t *dma_handle) alloc_dma_buffer() argument
306 free_dma_buffer(struct vio_dev *vdev, size_t size, void *vaddr, dma_addr_t dma_handle) free_dma_buffer() argument
482 struct vio_dev *vdev; ibmvmc_return_hmc() local
2071 struct vio_dev *vdev = to_vio_dev(adapter->dev); ibmvmc_task() local
2115 struct vio_dev *vdev = to_vio_dev(adapter->dev); ibmvmc_init_crq_queue() local
2188 read_dma_window(struct vio_dev *vdev, struct crq_server_adapter *adapter) read_dma_window() argument
2233 ibmvmc_probe(struct vio_dev *vdev, const struct vio_device_id *id) ibmvmc_probe() argument
2291 ibmvmc_remove(struct vio_dev *vdev) ibmvmc_remove() argument
[all...]
/kernel/linux/linux-6.6/drivers/misc/
H A Dibmvmc.c144 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_release_crq_queue() local
147 free_irq(vdev->irq, (void *)adapter); in ibmvmc_release_crq_queue()
153 h_free_crq(vdev->unit_address); in ibmvmc_release_crq_queue()
174 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_reset_crq_queue() local
179 h_free_crq(vdev->unit_address); in ibmvmc_reset_crq_queue()
187 vdev->unit_address, in ibmvmc_reset_crq_queue()
243 struct vio_dev *vdev = to_vio_dev(adapter->dev); in ibmvmc_send_crq() local
247 vdev->unit_address, word1, word2); in ibmvmc_send_crq()
254 rc = plpar_hcall_norets(H_SEND_CRQ, vdev->unit_address, word1, word2); in ibmvmc_send_crq()
263 * @vdev
272 alloc_dma_buffer(struct vio_dev *vdev, size_t size, dma_addr_t *dma_handle) alloc_dma_buffer() argument
306 free_dma_buffer(struct vio_dev *vdev, size_t size, void *vaddr, dma_addr_t dma_handle) free_dma_buffer() argument
482 struct vio_dev *vdev; ibmvmc_return_hmc() local
2073 struct vio_dev *vdev = to_vio_dev(adapter->dev); ibmvmc_task() local
2117 struct vio_dev *vdev = to_vio_dev(adapter->dev); ibmvmc_init_crq_queue() local
2190 read_dma_window(struct vio_dev *vdev, struct crq_server_adapter *adapter) read_dma_window() argument
2235 ibmvmc_probe(struct vio_dev *vdev, const struct vio_device_id *id) ibmvmc_probe() argument
2293 ibmvmc_remove(struct vio_dev *vdev) ibmvmc_remove() argument
[all...]
/kernel/linux/linux-6.6/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c1272 dev_name(&ndev->mvdev.vdev.dev), mvq->index); in alloc_vector()
2083 static void mlx5_vdpa_kick_vq(struct vdpa_device *vdev, u16 idx) in mlx5_vdpa_kick_vq() argument
2085 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_kick_vq()
2107 static int mlx5_vdpa_set_vq_address(struct vdpa_device *vdev, u16 idx, u64 desc_area, in mlx5_vdpa_set_vq_address() argument
2110 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_address()
2131 static void mlx5_vdpa_set_vq_num(struct vdpa_device *vdev, u16 idx, u32 num) in mlx5_vdpa_set_vq_num() argument
2133 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_num()
2151 static void mlx5_vdpa_set_vq_cb(struct vdpa_device *vdev, u16 idx, struct vdpa_callback *cb) in mlx5_vdpa_set_vq_cb() argument
2153 struct mlx5_vdpa_dev *mvdev = to_mvdev(vdev); in mlx5_vdpa_set_vq_cb()
2182 static void mlx5_vdpa_set_vq_ready(struct vdpa_device *vdev, u1 argument
2215 mlx5_vdpa_get_vq_ready(struct vdpa_device *vdev, u16 idx) mlx5_vdpa_get_vq_ready() argument
2229 mlx5_vdpa_set_vq_state(struct vdpa_device *vdev, u16 idx, const struct vdpa_vq_state *state) mlx5_vdpa_set_vq_state() argument
2255 mlx5_vdpa_get_vq_state(struct vdpa_device *vdev, u16 idx, struct vdpa_vq_state *state) mlx5_vdpa_get_vq_state() argument
2294 mlx5_vdpa_get_vq_align(struct vdpa_device *vdev) mlx5_vdpa_get_vq_align() argument
2299 mlx5_vdpa_get_vq_group(struct vdpa_device *vdev, u16 idx) mlx5_vdpa_get_vq_group() argument
2356 mlx5_vdpa_get_device_features(struct vdpa_device *vdev) mlx5_vdpa_get_device_features() argument
2547 mlx5_vdpa_set_driver_features(struct vdpa_device *vdev, u64 features) mlx5_vdpa_set_driver_features() argument
2579 mlx5_vdpa_set_config_cb(struct vdpa_device *vdev, struct vdpa_callback *cb) mlx5_vdpa_set_config_cb() argument
2588 mlx5_vdpa_get_vq_num_max(struct vdpa_device *vdev) mlx5_vdpa_get_vq_num_max() argument
2593 mlx5_vdpa_get_device_id(struct vdpa_device *vdev) mlx5_vdpa_get_device_id() argument
2598 mlx5_vdpa_get_vendor_id(struct vdpa_device *vdev) mlx5_vdpa_get_vendor_id() argument
2603 mlx5_vdpa_get_status(struct vdpa_device *vdev) mlx5_vdpa_get_status() argument
2818 mlx5_vdpa_set_status(struct vdpa_device *vdev, u8 status) mlx5_vdpa_set_status() argument
2869 mlx5_vdpa_reset(struct vdpa_device *vdev) mlx5_vdpa_reset() argument
2901 mlx5_vdpa_get_config_size(struct vdpa_device *vdev) mlx5_vdpa_get_config_size() argument
2906 mlx5_vdpa_get_config(struct vdpa_device *vdev, unsigned int offset, void *buf, unsigned int len) mlx5_vdpa_get_config() argument
2916 mlx5_vdpa_set_config(struct vdpa_device *vdev, unsigned int offset, const void *buf, unsigned int len) mlx5_vdpa_set_config() argument
2922 mlx5_vdpa_get_generation(struct vdpa_device *vdev) mlx5_vdpa_get_generation() argument
2947 mlx5_vdpa_set_map(struct vdpa_device *vdev, unsigned int asid, struct vhost_iotlb *iotlb) mlx5_vdpa_set_map() argument
2960 mlx5_get_vq_dma_dev(struct vdpa_device *vdev, u16 idx) mlx5_get_vq_dma_dev() argument
2989 mlx5_vdpa_free(struct vdpa_device *vdev) mlx5_vdpa_free() argument
3009 mlx5_get_vq_notification(struct vdpa_device *vdev, u16 idx) mlx5_get_vq_notification() argument
3033 mlx5_get_vq_irq(struct vdpa_device *vdev, u16 idx) mlx5_get_vq_irq() argument
3052 mlx5_vdpa_get_driver_features(struct vdpa_device *vdev) mlx5_vdpa_get_driver_features() argument
3091 mlx5_vdpa_get_vendor_vq_stats(struct vdpa_device *vdev, u16 idx, struct sk_buff *msg, struct netlink_ext_ack *extack) mlx5_vdpa_get_vendor_vq_stats() argument
3157 mlx5_vdpa_suspend(struct vdpa_device *vdev) mlx5_vdpa_suspend() argument
3178 mlx5_set_group_asid(struct vdpa_device *vdev, u32 group, unsigned int asid) mlx5_set_group_asid() argument
[all...]
/kernel/linux/linux-5.10/include/media/drv-intf/
H A Dexynos-fimc.h137 struct video_device vdev; member
147 struct video_device *vdev) in vdev_to_exynos_video_entity()
149 return container_of(vdev, struct exynos_video_entity, vdev); in vdev_to_exynos_video_entity()
146 vdev_to_exynos_video_entity( struct video_device *vdev) vdev_to_exynos_video_entity() argument
/kernel/linux/linux-6.6/include/media/drv-intf/
H A Dexynos-fimc.h137 struct video_device vdev; member
147 struct video_device *vdev) in vdev_to_exynos_video_entity()
149 return container_of(vdev, struct exynos_video_entity, vdev); in vdev_to_exynos_video_entity()
146 vdev_to_exynos_video_entity( struct video_device *vdev) vdev_to_exynos_video_entity() argument
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-subdev.c46 struct video_device *vdev = video_devdata(file); in subdev_open() local
47 struct v4l2_subdev *sd = vdev_to_v4l2_subdev(vdev); in subdev_open()
61 v4l2_fh_init(&subdev_fh->vfh, vdev); in subdev_open()
97 struct video_device *vdev = video_devdata(file); in subdev_close() local
98 struct v4l2_subdev *sd = vdev_to_v4l2_subdev(vdev); in subdev_close()
356 struct video_device *vdev = video_devdata(file); in subdev_do_ioctl() local
357 struct v4l2_subdev *sd = vdev_to_v4l2_subdev(vdev); in subdev_do_ioctl()
360 bool ro_subdev = test_bit(V4L2_FL_SUBDEV_RO_DEVNODE, &vdev->flags); in subdev_do_ioctl()
411 vdev, sd->v4l2_dev->mdev, arg); in subdev_do_ioctl()
417 vdev, s in subdev_do_ioctl()
669 struct video_device *vdev = video_devdata(file); subdev_do_ioctl_lock() local
692 struct video_device *vdev = video_devdata(file); subdev_compat_ioctl32() local
717 struct video_device *vdev = video_devdata(file); subdev_poll() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/imx/
H A Dimx-media-csc-scaler.c36 struct imx_media_video_dev vdev; member
46 #define vdev_to_priv(v) container_of(v, struct ipu_csc_scaler_priv, vdev)
134 v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, in device_run()
250 v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, "%s: queue busy\n", in ipu_csc_scaler_s_fmt()
520 v4l2_warn(ctx->priv->vdev.vfd->v4l2_dev, "removing old ICC\n"); in ipu_csc_scaler_start_streaming()
538 v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, "%s: error %d\n", in ipu_csc_scaler_start_streaming()
828 static void ipu_csc_scaler_video_device_release(struct video_device *vdev) in ipu_csc_scaler_video_device_release() argument
830 struct ipu_csc_scaler_priv *priv = video_get_drvdata(vdev); in ipu_csc_scaler_video_device_release()
833 video_device_release(vdev); in ipu_csc_scaler_video_device_release()
847 int imx_media_csc_scaler_device_register(struct imx_media_video_dev *vdev) in imx_media_csc_scaler_device_register() argument
867 imx_media_csc_scaler_device_unregister(struct imx_media_video_dev *vdev) imx_media_csc_scaler_device_unregister() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/imx/
H A Dimx-media-csc-scaler.c36 struct imx_media_video_dev vdev; member
46 #define vdev_to_priv(v) container_of(v, struct ipu_csc_scaler_priv, vdev)
134 v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, in device_run()
250 v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, "%s: queue busy\n", in ipu_csc_scaler_s_fmt()
520 v4l2_warn(ctx->priv->vdev.vfd->v4l2_dev, "removing old ICC\n"); in ipu_csc_scaler_start_streaming()
538 v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, "%s: error %d\n", in ipu_csc_scaler_start_streaming()
829 static void ipu_csc_scaler_video_device_release(struct video_device *vdev) in ipu_csc_scaler_video_device_release() argument
831 struct ipu_csc_scaler_priv *priv = video_get_drvdata(vdev); in ipu_csc_scaler_video_device_release()
834 video_device_release(vdev); in ipu_csc_scaler_video_device_release()
848 int imx_media_csc_scaler_device_register(struct imx_media_video_dev *vdev) in imx_media_csc_scaler_device_register() argument
868 imx_media_csc_scaler_device_unregister(struct imx_media_video_dev *vdev) imx_media_csc_scaler_device_unregister() argument
[all...]
/kernel/linux/linux-6.6/drivers/vfio/pci/pds/
H A Ddirty.h32 int pds_vfio_dma_logging_report(struct vfio_device *vdev, unsigned long iova,
35 int pds_vfio_dma_logging_start(struct vfio_device *vdev,
38 int pds_vfio_dma_logging_stop(struct vfio_device *vdev);
/kernel/linux/linux-6.6/drivers/vfio/fsl-mc/
H A Dvfio_fsl_mc_private.h34 struct vfio_device vdev; member
42 int vfio_fsl_mc_set_irqs_ioctl(struct vfio_fsl_mc_device *vdev,
47 void vfio_fsl_mc_irqs_cleanup(struct vfio_fsl_mc_device *vdev);
/kernel/linux/linux-6.6/drivers/virt/acrn/
H A Dhsm.c121 struct acrn_vdev *vdev; in acrn_dev_ioctl() local
281 vdev = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl()
283 if (IS_ERR(vdev)) in acrn_dev_ioctl()
284 return PTR_ERR(vdev); in acrn_dev_ioctl()
286 ret = hcall_create_vdev(vm->vmid, virt_to_phys(vdev)); in acrn_dev_ioctl()
290 kfree(vdev); in acrn_dev_ioctl()
293 vdev = memdup_user((void __user *)ioctl_param, in acrn_dev_ioctl()
295 if (IS_ERR(vdev)) in acrn_dev_ioctl()
296 return PTR_ERR(vdev); in acrn_dev_ioctl()
297 ret = hcall_destroy_vdev(vm->vmid, virt_to_phys(vdev)); in acrn_dev_ioctl()
[all...]
/kernel/linux/linux-5.10/drivers/block/
H A Dsunvdc.c864 g->first_minor = port->vio.vdev->dev_no << PARTITION_SHIFT; in probe_disk()
902 device_add_disk(&port->vio.vdev->dev, g, NULL); in probe_disk()
934 struct vio_dev *vdev = to_vio_dev(dev); in vdc_device_probed() local
939 if ((vdev->dev_no == port_data->dev_no) && in vdc_device_probed()
940 (!(strcmp((char *)&vdev->type, port_data->type))) && in vdc_device_probed()
960 static bool vdc_port_mpgroup_check(struct vio_dev *vdev) in vdc_port_mpgroup_check() argument
965 port_data.dev_no = vdev->dev_no; in vdc_port_mpgroup_check()
966 port_data.type = (char *)&vdev->type; in vdc_port_mpgroup_check()
968 dev = device_find_child(vdev->dev.parent, &port_data, in vdc_port_mpgroup_check()
977 static int vdc_port_probe(struct vio_dev *vdev, cons argument
1076 vdc_port_remove(struct vio_dev *vdev) vdc_port_remove() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/go7007/
H A Dgo7007-v4l2.c1076 struct video_device *vdev = &go->vdev; in go7007_v4l2_init() local
1094 *vdev = go7007_template; in go7007_v4l2_init()
1095 vdev->lock = &go->serialize_lock; in go7007_v4l2_init()
1096 vdev->queue = &go->vidq; in go7007_v4l2_init()
1097 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()
1103 video_set_drvdata(vdev, go); in go7007_v4l2_init()
1104 vdev in go7007_v4l2_init()
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/go7007/
H A Dgo7007-v4l2.c1072 struct video_device *vdev = &go->vdev; in go7007_v4l2_init() local
1090 *vdev = go7007_template; in go7007_v4l2_init()
1091 vdev->lock = &go->serialize_lock; in go7007_v4l2_init()
1092 vdev->queue = &go->vidq; in go7007_v4l2_init()
1093 vdev->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_READWRITE | in go7007_v4l2_init()
1096 vdev->device_caps |= V4L2_CAP_AUDIO; in go7007_v4l2_init()
1098 vdev->device_caps |= V4L2_CAP_TUNER; in go7007_v4l2_init()
1099 video_set_drvdata(vdev, go); in go7007_v4l2_init()
1100 vdev in go7007_v4l2_init()
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_uvc.c219 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_ep0_complete()
261 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_setup()
319 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_set_alt()
345 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_set_alt()
368 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_set_alt()
386 v4l2_event_queue(&uvc->vdev, &v4l2_event); in uvc_function_disable()
438 memset(&uvc->vdev, 0, sizeof(uvc->vdev)); in uvc_register_video()
439 uvc->vdev.v4l2_dev = &uvc->v4l2_dev; in uvc_register_video()
440 uvc->vdev in uvc_register_video()
[all...]

Completed in 23 milliseconds

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