Home
last modified time | relevance | path

Searched refs:vp_vdpa (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/vdpa/virtio_pci/
Dvp_vdpa.c33 struct vp_vdpa { struct
47 struct vp_vdpa *vp_vdpa; argument
50 static struct vp_vdpa *vdpa_to_vp(struct vdpa_device *vdpa) in vdpa_to_vp()
52 return container_of(vdpa, struct vp_vdpa, vdpa); in vdpa_to_vp()
57 struct vp_vdpa *vp_vdpa = vdpa_to_vp(vdpa); in vdpa_to_mdev() local
59 return vp_vdpa->mdev; in vdpa_to_mdev()
62 static struct virtio_pci_modern_device *vp_vdpa_to_mdev(struct vp_vdpa *vp_vdpa) in vp_vdpa_to_mdev() argument
64 return vp_vdpa->mdev; in vp_vdpa_to_mdev()
99 struct vp_vdpa *vp_vdpa = vdpa_to_vp(vdpa); in vp_vdpa_get_vq_irq() local
100 int irq = vp_vdpa->vring[idx].irq; in vp_vdpa_get_vq_irq()
[all …]
DMakefile2 obj-$(CONFIG_VP_VDPA) += vp_vdpa.o