Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/vdpa/virtio_pci/
Dvp_vdpa.c34 struct vdpa_device vdpa; member
44 static struct vp_vdpa *vdpa_to_vp(struct vdpa_device *vdpa) in vdpa_to_vp()
49 static struct virtio_pci_modern_device *vdpa_to_mdev(struct vdpa_device *vdpa) in vdpa_to_mdev()
56 static u64 vp_vdpa_get_features(struct vdpa_device *vdpa) in vp_vdpa_get_features()
63 static int vp_vdpa_set_features(struct vdpa_device *vdpa, u64 features) in vp_vdpa_set_features()
72 static u8 vp_vdpa_get_status(struct vdpa_device *vdpa) in vp_vdpa_get_status()
180 static void vp_vdpa_set_status(struct vdpa_device *vdpa, u8 status) in vp_vdpa_set_status()
194 static int vp_vdpa_reset(struct vdpa_device *vdpa) in vp_vdpa_reset()
208 static u16 vp_vdpa_get_vq_num_max(struct vdpa_device *vdpa) in vp_vdpa_get_vq_num_max()
213 static int vp_vdpa_get_vq_state(struct vdpa_device *vdpa, u16 qid, in vp_vdpa_get_vq_state()
[all …]
/Linux-v5.15/drivers/vdpa/vdpa_sim/
Dvdpa_sim.c42 static struct vdpasim *vdpa_to_sim(struct vdpa_device *vdpa) in vdpa_to_sim()
49 struct vdpa_device *vdpa = dev_to_vdpa(dev); in dev_to_sim() local
311 static int vdpasim_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_address()
325 static void vdpasim_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vdpasim_set_vq_num()
333 static void vdpasim_kick_vq(struct vdpa_device *vdpa, u16 idx) in vdpasim_kick_vq()
342 static void vdpasim_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_cb()
352 static void vdpasim_set_vq_ready(struct vdpa_device *vdpa, u16 idx, bool ready) in vdpasim_set_vq_ready()
364 static bool vdpasim_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vdpasim_get_vq_ready()
372 static int vdpasim_set_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_state()
386 static int vdpasim_get_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_get_vq_state()
[all …]
Dvdpa_sim.h52 struct vdpa_device vdpa; member
/Linux-v5.15/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
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
102 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_reset() local
109 struct vdpa_device *vdpa = vd_get_vdpa(vq->vdev); in virtio_vdpa_notify() local
139 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_setup_vq() local
236 struct vdpa_device *vdpa = vd_dev->vdpa; in virtio_vdpa_del_vq() local
[all …]
/Linux-v5.15/drivers/vhost/
Dvdpa.c41 struct vdpa_device *vdpa; member
93 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_setup_vq_irq() local
121 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_reset() local
130 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_device_id() local
144 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_status() local
158 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_set_status() local
197 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_config_validate() local
212 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_config() local
239 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_set_config() local
262 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_features() local
[all …]
/Linux-v5.15/drivers/vdpa/vdpa_user/
Dvduse_dev.c63 struct vdpa_device vdpa; member
125 static inline struct vduse_dev *vdpa_to_vduse(struct vdpa_device *vdpa) in vdpa_to_vduse()
134 struct vdpa_device *vdpa = dev_to_vdpa(dev); in dev_to_vduse() local
453 static int vduse_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_address()
489 static void vduse_vdpa_kick_vq(struct vdpa_device *vdpa, u16 idx) in vduse_vdpa_kick_vq()
501 static void vduse_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_cb()
513 static void vduse_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vduse_vdpa_set_vq_num()
521 static void vduse_vdpa_set_vq_ready(struct vdpa_device *vdpa, in vduse_vdpa_set_vq_ready()
530 static bool vduse_vdpa_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vduse_vdpa_get_vq_ready()
538 static int vduse_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_state()
[all …]
/Linux-v5.15/drivers/vdpa/ifcvf/
Difcvf_base.h83 struct vdpa_device vdpa; member