Searched refs:vp_dev (Results 1 – 4 of 4) sorted by relevance
30 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_synchronize_vectors() local33 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() local54 virtio_config_changed(&vp_dev->vdev); in vp_config_changed()61 struct virtio_pci_device *vp_dev = opaque; in vp_vring_interrupt() local66 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 …]
23 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_get_features() local27 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() local42 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() local52 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() local68 void __iomem *ioaddr = vp_dev->ldev.ioaddr + in vp_set()69 VIRTIO_PCI_CONFIG_OFF(vp_dev->msix_enabled) + in vp_set()[all …]
24 struct virtio_pci_device *vp_dev = to_vp_device(vdev); in vp_get_features() local26 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() local32 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() local60 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() local70 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() local108 struct virtio_pci_modern_device *mdev = &vp_dev->mdev; in vp_set()[all …]
78 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() argument134 static inline void virtio_pci_legacy_remove(struct virtio_pci_device *vp_dev) in virtio_pci_legacy_remove() argument