Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/virtio/
Dvirtio_pci_common.c30 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_synchronize_vectors() local
33 if (vp_dev->intx_enabled) in vp_synchronize_vectors()
34 synchronize_irq(vp_dev->pci_dev->irq); in vp_synchronize_vectors()
36 for (i = 0; i < vp_dev->msix_vectors; ++i) in vp_synchronize_vectors()
37 synchronize_irq(pci_irq_vector(vp_dev->pci_dev, i)); in vp_synchronize_vectors()
52 struct virtio_pci_device *vp_dev = opaque; in vp_config_changed() local
54 virtio_config_changed(&vp_dev->vdev); in vp_config_changed()
61 struct virtio_pci_device *vp_dev = opaque; in vp_vring_interrupt() local
66 spin_lock_irqsave(&vp_dev->lock, flags); in vp_vring_interrupt()
67 list_for_each_entry(info, &vp_dev->virtqueues, node) { in vp_vring_interrupt()
[all …]
Dvirtio_pci_legacy.c23 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_get_features() local
27 return vp_legacy_get_features(&vp_dev->ldev); in vp_get_features()
33 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_finalize_features() local
42 vp_legacy_set_features(&vp_dev->ldev, vdev->features); in vp_finalize_features()
51 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_get() local
52 void __iomem *ioaddr = vp_dev->ldev.ioaddr + in vp_get()
53 VIRTIO_PCI_CONFIG_OFF(vp_dev->msix_enabled) + in vp_get()
67 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_set() local
68 void __iomem *ioaddr = vp_dev->ldev.ioaddr + in vp_set()
69 VIRTIO_PCI_CONFIG_OFF(vp_dev->msix_enabled) + in vp_set()
[all …]
Dvirtio_pci_modern.c24 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_get_features() local
26 return vp_modern_get_features(&vp_dev->mdev); in vp_get_features()
31 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_transport_features() local
32 struct pci_dev *pci_dev = vp_dev->pci_dev; in vp_transport_features()
45 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_finalize_features() local
60 vp_modern_set_features(&vp_dev->mdev, vdev->features); in vp_finalize_features()
69 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_get() local
70 struct virtio_pci_modern_device *mdev = &vp_dev->mdev; in vp_get()
107 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_set() local
108 struct virtio_pci_modern_device *mdev = &vp_dev->mdev; in vp_set()
[all …]
Dvirtio_pci_common.h78 struct virtqueue *(*setup_vq)(struct virtio_pci_device *vp_dev,
87 u16 (*config_vector)(struct virtio_pci_device *vp_dev, u16 vector);
130 static inline int virtio_pci_legacy_probe(struct virtio_pci_device *vp_dev) in virtio_pci_legacy_probe() argument
134 static inline void virtio_pci_legacy_remove(struct virtio_pci_device *vp_dev) in virtio_pci_legacy_remove() argument