Home
last modified time | relevance | path

Searched defs:vdpa (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/vdpa/vdpa_sim/
Dvdpa_sim.c43 static struct vdpasim *vdpa_to_sim(struct vdpa_device *vdpa) in vdpa_to_sim()
50 struct vdpa_device *vdpa = dev_to_vdpa(dev); in dev_to_sim() local
332 static int vdpasim_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_address()
346 static void vdpasim_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vdpasim_set_vq_num()
354 static void vdpasim_kick_vq(struct vdpa_device *vdpa, u16 idx) in vdpasim_kick_vq()
363 static void vdpasim_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_cb()
373 static void vdpasim_set_vq_ready(struct vdpa_device *vdpa, u16 idx, bool ready) in vdpasim_set_vq_ready()
388 static bool vdpasim_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vdpasim_get_vq_ready()
396 static int vdpasim_set_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_state()
410 static int vdpasim_get_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_get_vq_state()
[all …]
Dvdpa_sim.h54 struct vdpa_device vdpa; member
/linux-6.1.9/drivers/vdpa/alibaba/
Deni_vdpa.c39 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 …]
/linux-6.1.9/drivers/vdpa/virtio_pci/
Dvp_vdpa.c35 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 …]
/linux-6.1.9/drivers/virtio/
Dvirtio_vdpa.c28 struct vdpa_device *vdpa; member
59 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_get() local
67 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_set() local
74 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_generation() local
85 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_get_status() local
93 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_set_status() local
100 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_reset() local
107 struct vdpa_device *vdpa = vd_get_vdpa(vq->vdev); in virtio_vdpa_notify() local
137 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_setup_vq() local
242 struct vdpa_device *vdpa = vd_dev->vdpa; in virtio_vdpa_del_vq() local
[all …]
/linux-6.1.9/drivers/vhost/
Dvdpa.c50 struct vdpa_device *vdpa; member
184 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_setup_vq_irq() local
215 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_reset() local
224 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_device_id() local
238 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_status() local
252 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_set_status() local
292 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_config_validate() local
307 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_config() local
334 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_set_config() local
356 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_can_suspend() local
[all …]
/linux-6.1.9/drivers/vdpa/vdpa_user/
Dvduse_dev.c65 struct vdpa_device vdpa; member
136 static inline struct vduse_dev *vdpa_to_vduse(struct vdpa_device *vdpa) in vdpa_to_vduse()
145 struct vdpa_device *vdpa = dev_to_vdpa(dev); in dev_to_vduse() local
464 static int vduse_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_address()
500 static void vduse_vdpa_kick_vq(struct vdpa_device *vdpa, u16 idx) in vduse_vdpa_kick_vq()
512 static void vduse_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_cb()
524 static void vduse_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vduse_vdpa_set_vq_num()
532 static void vduse_vdpa_set_vq_ready(struct vdpa_device *vdpa, in vduse_vdpa_set_vq_ready()
541 static bool vduse_vdpa_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vduse_vdpa_get_vq_ready()
549 static int vduse_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_state()
[all …]
/linux-6.1.9/drivers/vdpa/ifcvf/
Difcvf_base.h95 struct vdpa_device vdpa; member
Difcvf_main.c629 static u32 ifcvf_vdpa_get_vq_group(struct vdpa_device *vdpa, u16 idx) in ifcvf_vdpa_get_vq_group()