Home
last modified time | relevance | path

Searched refs:virtio_pci_device (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/drivers/virtio/
Dvirtio_pci_common.h46 struct virtio_pci_device { struct
100 struct virtqueue *(*setup_vq)(struct virtio_pci_device *vp_dev, argument
109 u16 (*config_vector)(struct virtio_pci_device *vp_dev, u16 vector); argument
121 static struct virtio_pci_device *to_vp_device(struct virtio_device *vdev) in to_vp_device()
123 return container_of(vdev, struct virtio_pci_device, vdev); in to_vp_device()
149 int virtio_pci_legacy_probe(struct virtio_pci_device *);
150 void virtio_pci_legacy_remove(struct virtio_pci_device *);
152 static inline int virtio_pci_legacy_probe(struct virtio_pci_device *vp_dev) in virtio_pci_legacy_probe()
156 static inline void virtio_pci_legacy_remove(struct virtio_pci_device *vp_dev) in virtio_pci_legacy_remove()
160 int virtio_pci_modern_probe(struct virtio_pci_device *);
[all …]
Dvirtio_pci_legacy.c25 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_get_features()
35 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_finalize_features()
53 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_get()
68 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_set()
81 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_get_status()
87 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_set_status()
95 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_reset()
105 static u16 vp_config_vector(struct virtio_pci_device *vp_dev, u16 vector) in vp_config_vector()
114 static struct virtqueue *setup_vq(struct virtio_pci_device *vp_dev, in setup_vq()
180 struct virtio_pci_device *vp_dev = to_vp_device(vq->vdev); in del_vq()
[all …]
Dvirtio_pci_common.c33 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_synchronize_vectors()
55 struct virtio_pci_device *vp_dev = opaque; in vp_config_changed()
64 struct virtio_pci_device *vp_dev = opaque; in vp_vring_interrupt()
87 struct virtio_pci_device *vp_dev = opaque; in vp_interrupt()
108 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_request_msix_vectors()
183 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_setup_vq()
216 struct virtio_pci_device *vp_dev = to_vp_device(vq->vdev); in vp_del_vq()
231 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_del_vqs()
287 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_find_vqs_msix()
359 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_find_vqs_intx()
[all …]
Dvirtio_pci_modern.c145 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_get_features()
158 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_transport_features()
169 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_finalize_features()
196 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_get()
232 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_set()
265 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_generation()
272 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_get_status()
278 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_set_status()
286 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_reset()
300 static u16 vp_config_vector(struct virtio_pci_device *vp_dev, u16 vector) in vp_config_vector()
[all …]