Home
last modified time | relevance | path

Searched refs:vdev (Results 1 – 20 of 20) sorted by relevance

/include/linux/
Dvirtio_config.h81 void (*enable_cbs)(struct virtio_device *vdev);
82 void (*get)(struct virtio_device *vdev, unsigned offset,
84 void (*set)(struct virtio_device *vdev, unsigned offset,
86 u32 (*generation)(struct virtio_device *vdev);
87 u8 (*get_status)(struct virtio_device *vdev);
88 void (*set_status)(struct virtio_device *vdev, u8 status);
89 void (*reset)(struct virtio_device *vdev);
95 u64 (*get_features)(struct virtio_device *vdev);
96 int (*finalize_features)(struct virtio_device *vdev);
97 const char *(*bus_name)(struct virtio_device *vdev);
[all …]
Dvdpa.h244 int (*set_vq_address)(struct vdpa_device *vdev,
247 void (*set_vq_num)(struct vdpa_device *vdev, u16 idx, u32 num);
248 void (*kick_vq)(struct vdpa_device *vdev, u16 idx);
249 void (*set_vq_cb)(struct vdpa_device *vdev, u16 idx,
251 void (*set_vq_ready)(struct vdpa_device *vdev, u16 idx, bool ready);
252 bool (*get_vq_ready)(struct vdpa_device *vdev, u16 idx);
253 int (*set_vq_state)(struct vdpa_device *vdev, u16 idx,
255 int (*get_vq_state)(struct vdpa_device *vdev, u16 idx,
258 (*get_vq_notification)(struct vdpa_device *vdev, u16 idx);
263 u32 (*get_vq_align)(struct vdpa_device *vdev);
[all …]
Dvfio_pci_core.h37 struct vfio_pci_core_device *vdev; member
60 ssize_t (*rw)(struct vfio_pci_core_device *vdev, char __user *buf,
62 void (*release)(struct vfio_pci_core_device *vdev,
64 int (*mmap)(struct vfio_pci_core_device *vdev,
67 int (*add_capability)(struct vfio_pci_core_device *vdev,
99 struct vfio_device vdev; member
144 #define is_intx(vdev) (vdev->irq_type == VFIO_PCI_INTX_IRQ_INDEX) argument
145 #define is_msi(vdev) (vdev->irq_type == VFIO_PCI_MSI_IRQ_INDEX) argument
146 #define is_msix(vdev) (vdev->irq_type == VFIO_PCI_MSIX_IRQ_INDEX) argument
147 #define is_irq_none(vdev) (!(is_intx(vdev) || is_msi(vdev) || is_msix(vdev))) argument
[all …]
Dvirtio_ring.h71 struct virtio_device *vdev,
82 struct virtio_device *vdev,
96 struct virtio_device *vdev,
111 void vring_transport_features(struct virtio_device *vdev);
Dvfio.h61 int (*open_device)(struct vfio_device *vdev);
62 void (*close_device)(struct vfio_device *vdev);
63 ssize_t (*read)(struct vfio_device *vdev, char __user *buf,
65 ssize_t (*write)(struct vfio_device *vdev, const char __user *buf,
67 long (*ioctl)(struct vfio_device *vdev, unsigned int cmd,
69 int (*mmap)(struct vfio_device *vdev, struct vm_area_struct *vma);
70 void (*request)(struct vfio_device *vdev, unsigned int count);
71 int (*match)(struct vfio_device *vdev, char *buf);
Dvirtio.h31 struct virtio_device *vdev; member
141 size_t virtio_max_dma_size(struct virtio_device *vdev);
143 #define virtio_device_for_each_vq(vdev, vq) \ argument
144 list_for_each_entry(vq, &vdev->vqs, list)
Dblk-mq-virtio.h9 struct virtio_device *vdev, int first_vec);
Dremoteproc.h690 static inline struct rproc_vdev *vdev_to_rvdev(struct virtio_device *vdev) in vdev_to_rvdev() argument
692 return container_of(vdev->dev.parent, struct rproc_vdev, dev); in vdev_to_rvdev()
695 static inline struct rproc *vdev_to_rproc(struct virtio_device *vdev) in vdev_to_rproc() argument
697 struct rproc_vdev *rvdev = vdev_to_rvdev(vdev); in vdev_to_rproc()
Dvringh.h71 int (*find_vrhs)(struct virtio_device *vdev, unsigned nhvrs,
73 void (*del_vrhs)(struct virtio_device *vdev);
/include/media/
Dv4l2-dev.h308 void (*release)(struct video_device *vdev);
364 int __must_check __video_register_device(struct video_device *vdev,
386 static inline int __must_check video_register_device(struct video_device *vdev, in video_register_device() argument
390 return __video_register_device(vdev, type, nr, 1, vdev->fops->owner); in video_register_device()
414 video_register_device_no_warn(struct video_device *vdev, in video_register_device_no_warn() argument
417 return __video_register_device(vdev, type, nr, 0, vdev->fops->owner); in video_register_device_no_warn()
427 void video_unregister_device(struct video_device *vdev);
443 void video_device_release(struct video_device *vdev);
458 void video_device_release_empty(struct video_device *vdev);
475 static inline void v4l2_disable_ioctl(struct video_device *vdev, in v4l2_disable_ioctl() argument
[all …]
Dv4l2-mc.h58 int v4l_enable_media_source(struct video_device *vdev);
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
Dv4l2-fh.h44 struct video_device *vdev; member
70 void v4l2_fh_init(struct v4l2_fh *fh, struct video_device *vdev);
Dv4l2-event.h106 void v4l2_event_queue(struct video_device *vdev, const struct v4l2_event *ev);
130 void v4l2_event_wake_all(struct video_device *vdev);
Dv4l2-ctrls.h1398 int v4l2_g_ext_ctrls(struct v4l2_ctrl_handler *hdl, struct video_device *vdev,
1413 struct video_device *vdev,
1430 struct video_device *vdev,
Dvideobuf2-v4l2.h356 void vb2_video_unregister_device(struct video_device *vdev);
Dv4l2-mem2mem.h512 struct video_device *vdev, int function);
521 struct video_device *vdev, int function) in v4l2_m2m_register_media_controller() argument
Dv4l2-common.h436 int v4l2_g_parm_cap(struct video_device *vdev,
449 int v4l2_s_parm_cap(struct video_device *vdev,
Dv4l2-subdev.h956 #define vdev_to_v4l2_subdev(vdev) \ argument
957 ((struct v4l2_subdev *)video_get_drvdata(vdev))
/include/media/drv-intf/
Dexynos-fimc.h137 struct video_device vdev; member
147 struct video_device *vdev) in vdev_to_exynos_video_entity() argument
149 return container_of(vdev, struct exynos_video_entity, vdev); in vdev_to_exynos_video_entity()
/include/trace/events/
Dv4l2.h207 __entry->minor = owner ? owner->vdev->minor : -1;