| /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() 197 struct vdpa_device *vdpa; in vdpasim_create() local 290 static int vdpasim_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_address() 304 static void vdpasim_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vdpasim_set_vq_num() 312 static u16 vdpasim_get_vq_size(struct vdpa_device *vdpa, u16 idx) in vdpasim_get_vq_size() 323 static void vdpasim_kick_vq(struct vdpa_device *vdpa, u16 idx) in vdpasim_kick_vq() 338 static void vdpasim_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_cb() 348 static void vdpasim_set_vq_ready(struct vdpa_device *vdpa, u16 idx, bool ready) in vdpasim_set_vq_ready() 363 static bool vdpasim_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vdpasim_get_vq_ready() 371 static int vdpasim_set_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_state() [all …]
|
| H A D | vdpa_sim.h | 58 struct vdpa_device vdpa; member
|
| /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() 221 static void vp_vdpa_set_status(struct vdpa_device *vdpa, u8 status) in vp_vdpa_set_status() 238 static int vp_vdpa_reset(struct vdpa_device *vdpa) in vp_vdpa_reset() [all …]
|
| /linux/drivers/virtio/ |
| H A D | virtio_vdpa.c | 29 struct vdpa_device *vdpa; member 47 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_get() local 55 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_set() local 62 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_generation() local 73 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_get_status() local 81 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_set_status() local 88 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_reset() local 95 struct vdpa_device *vdpa = vd_get_vdpa(vq->vdev); in virtio_vdpa_notify() local 105 struct vdpa_device *vdpa = vd_get_vdpa(vq->vdev); in virtio_vdpa_notify_with_data() local 135 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_setup_vq() local [all …]
|
| /linux/drivers/vhost/ |
| H A D | vdpa.c | 50 struct vdpa_device *vdpa; member 137 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_reset_map() local 202 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_setup_vq_irq() local 231 struct vdpa_device *vdpa = v->vdpa; in _compat_vdpa_reset() local 253 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_bind_mm() local 264 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_unbind_mm() local 275 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_device_id() local 289 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_status() local 303 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_set_status() local 343 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_config_validate() local [all …]
|
| /linux/drivers/vdpa/vdpa_user/ |
| H A D | vduse_dev.c | 89 struct vdpa_device vdpa; member 177 static inline struct vduse_dev *vdpa_to_vduse(struct vdpa_device *vdpa) in vdpa_to_vduse() 186 struct vdpa_device *vdpa = dev_to_vdpa(dev); in dev_to_vduse() local 515 static int vduse_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_address() 551 static void vduse_vdpa_kick_vq(struct vdpa_device *vdpa, u16 idx) in vduse_vdpa_kick_vq() 563 static void vduse_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_cb() 576 static void vduse_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vduse_vdpa_set_vq_num() 584 static u16 vduse_vdpa_get_vq_size(struct vdpa_device *vdpa, u16 idx) in vduse_vdpa_get_vq_size() 595 static void vduse_vdpa_set_vq_ready(struct vdpa_device *vdpa, in vduse_vdpa_set_vq_ready() 604 static bool vduse_vdpa_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vduse_vdpa_get_vq_ready() [all …]
|
| /linux/drivers/vdpa/ifcvf/ |
| H A D | ifcvf_base.h | 94 struct vdpa_device vdpa; member
|
| H A D | ifcvf_main.c | 562 static u32 ifcvf_vdpa_get_vq_group(struct vdpa_device *vdpa, u16 idx) in ifcvf_vdpa_get_vq_group()
|
| /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()
|
| /linux/drivers/vdpa/octeon_ep/ |
| H A D | octep_vdpa_main.c | 23 struct vdpa_device vdpa; member
|
| /linux/drivers/vdpa/mlx5/net/ |
| H A D | mlx5_vnet.c | 2907 static u64 mlx5_vdpa_get_backend_features(const struct vdpa_device *vdpa) in mlx5_vdpa_get_backend_features()
|