/openbmc/linux/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim.c | 77 static struct vdpasim *vdpa_to_sim(struct vdpa_device *vdpa) in vdpa_to_sim() 195 struct vdpa_device *vdpa; in vdpasim_create() local 286 static int vdpasim_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_address() 300 static void vdpasim_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vdpasim_set_vq_num() 308 static void vdpasim_kick_vq(struct vdpa_device *vdpa, u16 idx) in vdpasim_kick_vq() 323 static void vdpasim_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_cb() 333 static void vdpasim_set_vq_ready(struct vdpa_device *vdpa, u16 idx, bool ready) in vdpasim_set_vq_ready() 348 static bool vdpasim_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vdpasim_get_vq_ready() 356 static int vdpasim_set_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_state() 370 static int vdpasim_get_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_get_vq_state() [all …]
|
H A D | vdpa_sim.h | 58 struct vdpa_device vdpa; member
|
/openbmc/linux/drivers/vdpa/alibaba/ |
H A D | eni_vdpa.c | 39 struct vdpa_device vdpa; member 49 static struct eni_vdpa *vdpa_to_eni(struct vdpa_device *vdpa) in vdpa_to_eni() 54 static struct virtio_pci_legacy_device *vdpa_to_ldev(struct vdpa_device *vdpa) in vdpa_to_ldev() 61 static u64 eni_vdpa_get_device_features(struct vdpa_device *vdpa) in eni_vdpa_get_device_features() 72 static int eni_vdpa_set_driver_features(struct vdpa_device *vdpa, u64 features) in eni_vdpa_set_driver_features() 87 static u64 eni_vdpa_get_driver_features(struct vdpa_device *vdpa) in eni_vdpa_get_driver_features() 94 static u8 eni_vdpa_get_status(struct vdpa_device *vdpa) in eni_vdpa_get_status() 101 static int eni_vdpa_get_vq_irq(struct vdpa_device *vdpa, u16 idx) in eni_vdpa_get_vq_irq() 211 static void eni_vdpa_set_status(struct vdpa_device *vdpa, u8 status) in eni_vdpa_set_status() 229 static int eni_vdpa_reset(struct vdpa_device *vdpa) in eni_vdpa_reset() [all …]
|
/openbmc/linux/drivers/vdpa/virtio_pci/ |
H A D | vp_vdpa.c | 35 struct vdpa_device vdpa; member 52 static struct vp_vdpa *vdpa_to_vp(struct vdpa_device *vdpa) in vdpa_to_vp() 57 static struct virtio_pci_modern_device *vdpa_to_mdev(struct vdpa_device *vdpa) in vdpa_to_mdev() 69 static u64 vp_vdpa_get_device_features(struct vdpa_device *vdpa) in vp_vdpa_get_device_features() 76 static int vp_vdpa_set_driver_features(struct vdpa_device *vdpa, u64 features) in vp_vdpa_set_driver_features() 85 static u64 vp_vdpa_get_driver_features(struct vdpa_device *vdpa) in vp_vdpa_get_driver_features() 92 static u8 vp_vdpa_get_status(struct vdpa_device *vdpa) in vp_vdpa_get_status() 99 static int vp_vdpa_get_vq_irq(struct vdpa_device *vdpa, u16 idx) in vp_vdpa_get_vq_irq() 211 static void vp_vdpa_set_status(struct vdpa_device *vdpa, u8 status) in vp_vdpa_set_status() 225 static int vp_vdpa_reset(struct vdpa_device *vdpa) in vp_vdpa_reset() [all …]
|
/openbmc/linux/drivers/virtio/ |
H A D | virtio_vdpa.c | 29 struct vdpa_device *vdpa; member 60 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_get() local 68 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_set() local 75 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_generation() local 86 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_get_status() local 94 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_set_status() local 101 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_reset() local 108 struct vdpa_device *vdpa = vd_get_vdpa(vq->vdev); in virtio_vdpa_notify() local 118 struct vdpa_device *vdpa = vd_get_vdpa(vq->vdev); in virtio_vdpa_notify_with_data() local 149 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_setup_vq() local [all …]
|
/openbmc/linux/drivers/vhost/ |
H A D | vdpa.c | 50 struct vdpa_device *vdpa; member 184 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_setup_vq_irq() local 213 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_reset() local 222 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_bind_mm() local 233 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_unbind_mm() local 244 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_device_id() local 258 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_status() local 272 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_set_status() local 312 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_config_validate() local 327 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_config() local [all …]
|
/openbmc/linux/drivers/vdpa/vdpa_user/ |
H A D | vduse_dev.c | 75 struct vdpa_device vdpa; member 149 static inline struct vduse_dev *vdpa_to_vduse(struct vdpa_device *vdpa) in vdpa_to_vduse() 158 struct vdpa_device *vdpa = dev_to_vdpa(dev); in dev_to_vduse() local 478 static int vduse_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_address() 514 static void vduse_vdpa_kick_vq(struct vdpa_device *vdpa, u16 idx) in vduse_vdpa_kick_vq() 526 static void vduse_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_cb() 539 static void vduse_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vduse_vdpa_set_vq_num() 547 static void vduse_vdpa_set_vq_ready(struct vdpa_device *vdpa, in vduse_vdpa_set_vq_ready() 556 static bool vduse_vdpa_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vduse_vdpa_get_vq_ready() 564 static int vduse_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_state() [all …]
|
/openbmc/qemu/include/hw/virtio/ |
H A D | vdpa-dev.h | 34 struct vhost_vdpa vdpa; member
|
/openbmc/linux/drivers/vdpa/ifcvf/ |
H A D | ifcvf_base.h | 93 struct vdpa_device vdpa; member
|
H A D | ifcvf_main.c | 557 static u32 ifcvf_vdpa_get_vq_group(struct vdpa_device *vdpa, u16 idx) in ifcvf_vdpa_get_vq_group()
|
/openbmc/linux/drivers/vdpa/solidrun/ |
H A D | snet_vdpa.h | 56 struct vdpa_device vdpa; member
|
H A D | snet_main.c | 33 static struct snet *vdpa_to_snet(struct vdpa_device *vdpa) in vdpa_to_snet()
|
/openbmc/linux/include/linux/pds/ |
H A D | pds_adminq.h | 1199 struct pds_vdpa_cmd vdpa; member
|