| /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() 198 struct vdpa_device *vdpa; in vdpasim_create() local 298 static int vdpasim_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_address() 312 static void vdpasim_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vdpasim_set_vq_num() 320 static u16 vdpasim_get_vq_size(struct vdpa_device *vdpa, u16 idx) in vdpasim_get_vq_size() 331 static void vdpasim_kick_vq(struct vdpa_device *vdpa, u16 idx) in vdpasim_kick_vq() 346 static void vdpasim_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_cb() 356 static void vdpasim_set_vq_ready(struct vdpa_device *vdpa, u16 idx, bool ready) in vdpasim_set_vq_ready() 371 static bool vdpasim_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vdpasim_get_vq_ready() 379 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() 215 static void vp_vdpa_set_status(struct vdpa_device *vdpa, u8 status) in vp_vdpa_set_status() 232 static int vp_vdpa_reset(struct vdpa_device *vdpa) in vp_vdpa_reset() [all …]
|
| /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() argument 54 static struct virtio_pci_legacy_device *vdpa_to_ldev(struct vdpa_device *vdpa) in vdpa_to_ldev() argument 61 static u64 eni_vdpa_get_device_features(struct vdpa_device *vdpa) in eni_vdpa_get_device_features() argument 72 static int eni_vdpa_set_driver_features(struct vdpa_device *vdpa, u6 argument 87 eni_vdpa_get_driver_features(struct vdpa_device * vdpa) eni_vdpa_get_driver_features() argument 94 eni_vdpa_get_status(struct vdpa_device * vdpa) eni_vdpa_get_status() argument 101 eni_vdpa_get_vq_irq(struct vdpa_device * vdpa,u16 idx) eni_vdpa_get_vq_irq() argument 211 eni_vdpa_set_status(struct vdpa_device * vdpa,u8 status) eni_vdpa_set_status() argument 229 eni_vdpa_reset(struct vdpa_device * vdpa) eni_vdpa_reset() argument 243 eni_vdpa_get_vq_num_max(struct vdpa_device * vdpa) eni_vdpa_get_vq_num_max() argument 250 eni_vdpa_get_vq_num_min(struct vdpa_device * vdpa) eni_vdpa_get_vq_num_min() argument 257 eni_vdpa_get_vq_size(struct vdpa_device * vdpa,u16 qid) eni_vdpa_get_vq_size() argument 264 eni_vdpa_get_vq_state(struct vdpa_device * vdpa,u16 qid,struct vdpa_vq_state * state) eni_vdpa_get_vq_state() argument 270 eni_vdpa_set_vq_state(struct vdpa_device * vdpa,u16 qid,const struct vdpa_vq_state * state) eni_vdpa_set_vq_state() argument 288 eni_vdpa_set_vq_cb(struct vdpa_device * vdpa,u16 qid,struct vdpa_callback * cb) eni_vdpa_set_vq_cb() argument 296 eni_vdpa_set_vq_ready(struct vdpa_device * vdpa,u16 qid,bool ready) eni_vdpa_set_vq_ready() argument 309 eni_vdpa_get_vq_ready(struct vdpa_device * vdpa,u16 qid) eni_vdpa_get_vq_ready() argument 316 eni_vdpa_set_vq_num(struct vdpa_device * vdpa,u16 qid,u32 num) eni_vdpa_set_vq_num() argument 333 eni_vdpa_set_vq_address(struct vdpa_device * vdpa,u16 qid,u64 desc_area,u64 driver_area,u64 device_area) eni_vdpa_set_vq_address() argument 345 eni_vdpa_kick_vq(struct vdpa_device * vdpa,u16 qid) eni_vdpa_kick_vq() argument 352 eni_vdpa_get_device_id(struct vdpa_device * vdpa) eni_vdpa_get_device_id() argument 359 eni_vdpa_get_vendor_id(struct vdpa_device * vdpa) eni_vdpa_get_vendor_id() argument 366 eni_vdpa_get_vq_align(struct vdpa_device * vdpa) eni_vdpa_get_vq_align() argument 371 eni_vdpa_get_config_size(struct vdpa_device * vdpa) eni_vdpa_get_config_size() argument 377 eni_vdpa_get_config(struct vdpa_device * vdpa,unsigned int offset,void * buf,unsigned int len) eni_vdpa_get_config() argument 393 eni_vdpa_set_config(struct vdpa_device * vdpa,unsigned int offset,const void * buf,unsigned int len) eni_vdpa_set_config() argument 409 eni_vdpa_set_config_cb(struct vdpa_device * vdpa,struct vdpa_callback * cb) eni_vdpa_set_config_cb() argument [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); virtio_vdpa_get_status() local 81 struct vdpa_device *vdpa = vd_get_vdpa(vdev); virtio_vdpa_set_status() local 88 struct vdpa_device *vdpa = vd_get_vdpa(vdev); virtio_vdpa_reset() local 95 struct vdpa_device *vdpa = vd_get_vdpa(vq->vdev); virtio_vdpa_notify() local 105 struct vdpa_device *vdpa = vd_get_vdpa(vq->vdev); virtio_vdpa_notify_with_data() local 135 struct vdpa_device *vdpa = vd_get_vdpa(vdev); virtio_vdpa_setup_vq() local 249 struct vdpa_device *vdpa = vd_dev->vdpa; virtio_vdpa_del_vq() local 334 struct vdpa_device *vdpa = vd_get_vdpa(vdev); virtio_vdpa_find_vqs() local 383 struct vdpa_device *vdpa = vd_get_vdpa(vdev); virtio_vdpa_get_features() local 391 struct vdpa_device *vdpa = vd_get_vdpa(vdev); virtio_vdpa_finalize_features() local 402 struct vdpa_device *vdpa = vd_dev->vdpa; virtio_vdpa_bus_name() local 411 struct vdpa_device *vdpa = vd_dev->vdpa; virtio_vdpa_set_vq_affinity() local 424 struct vdpa_device *vdpa = vd_get_vdpa(vdev); virtio_vdpa_get_vq_affinity() local 459 virtio_vdpa_probe(struct vdpa_device * vdpa) virtio_vdpa_probe() argument 498 virtio_vdpa_remove(struct vdpa_device * vdpa) virtio_vdpa_remove() argument [all...] |
| /linux/drivers/vhost/ |
| H A D | vdpa.c | 55 struct vdpa_device *vdpa; member 144 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_reset_map() local 209 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_setup_vq_irq() local 238 struct vdpa_device *vdpa = v->vdpa; _compat_vdpa_reset() local 260 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_bind_mm() local 271 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_unbind_mm() local 282 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_get_device_id() local 296 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_get_status() local 310 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_set_status() local 350 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_config_validate() local 365 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_get_config() local 392 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_set_config() local 414 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_can_suspend() local 422 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_can_resume() local 430 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_has_desc_group() local 438 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_get_features() local 452 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_get_backend_features() local 463 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_has_persistent_map() local 472 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_set_features() local 507 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_get_vring_num() local 570 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_get_config_size() local 584 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_get_vqs_count() local 599 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_suspend() local 622 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_resume() local 642 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_vring_ioctl() local 918 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_general_unmap() local 969 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_iotlb_unmap() local 1003 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_map() local 1038 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_unmap() local 1238 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_process_iotlb_update() local 1261 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_process_iotlb_msg() local 1335 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_alloc_domain() local 1372 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_free_domain() local 1387 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_set_iova_range() local 1503 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_get_vq_notification() local 1536 struct vdpa_device *vdpa = v->vdpa; vhost_vdpa_mmap() local 1590 vhost_vdpa_probe(struct vdpa_device * vdpa) vhost_vdpa_probe() argument 1655 vhost_vdpa_remove(struct vdpa_device * vdpa) vhost_vdpa_remove() argument [all...] |
| /linux/drivers/vdpa/vdpa_user/ |
| H A D | vduse_dev.c | 95 struct vdpa_device vdpa; member 187 static inline struct vduse_dev *vdpa_to_vduse(struct vdpa_device *vdpa) in vdpa_to_vduse() argument 196 struct vdpa_device *vdpa = dev_to_vdpa(dev); in dev_to_vduse() local 554 static int vduse_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_address() argument 593 vduse_vdpa_kick_vq(struct vdpa_device * vdpa,u16 idx) vduse_vdpa_kick_vq() argument 605 vduse_vdpa_set_vq_cb(struct vdpa_device * vdpa,u16 idx,struct vdpa_callback * cb) vduse_vdpa_set_vq_cb() argument 618 vduse_vdpa_set_vq_num(struct vdpa_device * vdpa,u16 idx,u32 num) vduse_vdpa_set_vq_num() argument 626 vduse_vdpa_get_vq_size(struct vdpa_device * vdpa,u16 idx) vduse_vdpa_get_vq_size() argument 637 vduse_vdpa_set_vq_ready(struct vdpa_device * vdpa,u16 idx,bool ready) vduse_vdpa_set_vq_ready() argument 669 vduse_vdpa_get_vq_ready(struct vdpa_device * vdpa,u16 idx) vduse_vdpa_get_vq_ready() argument 678 vduse_vdpa_set_vq_state(struct vdpa_device * vdpa,u16 idx,const struct vdpa_vq_state * state) vduse_vdpa_set_vq_state() argument 697 vduse_get_vq_group(struct vdpa_device * vdpa,u16 idx) vduse_get_vq_group() argument 707 vduse_get_vq_map(struct vdpa_device * vdpa,u16 idx) vduse_get_vq_map() argument 730 vduse_set_group_asid(struct vdpa_device * vdpa,unsigned int group,unsigned int asid) vduse_set_group_asid() argument 754 vduse_vdpa_get_vq_state(struct vdpa_device * vdpa,u16 idx,struct vdpa_vq_state * state) vduse_vdpa_get_vq_state() argument 766 vduse_vdpa_get_vq_align(struct vdpa_device * vdpa) vduse_vdpa_get_vq_align() argument 773 vduse_vdpa_get_device_features(struct vdpa_device * vdpa) vduse_vdpa_get_device_features() argument 780 vduse_vdpa_set_driver_features(struct vdpa_device * vdpa,u64 features) vduse_vdpa_set_driver_features() argument 788 vduse_vdpa_get_driver_features(struct vdpa_device * vdpa) vduse_vdpa_get_driver_features() argument 795 vduse_vdpa_set_config_cb(struct vdpa_device * vdpa,struct vdpa_callback * cb) vduse_vdpa_set_config_cb() argument 806 vduse_vdpa_get_vq_num_max(struct vdpa_device * vdpa) vduse_vdpa_get_vq_num_max() argument 819 vduse_vdpa_get_device_id(struct vdpa_device * vdpa) vduse_vdpa_get_device_id() argument 826 vduse_vdpa_get_vendor_id(struct vdpa_device * vdpa) vduse_vdpa_get_vendor_id() argument 833 vduse_vdpa_get_status(struct vdpa_device * vdpa) vduse_vdpa_get_status() argument 840 vduse_vdpa_set_status(struct vdpa_device * vdpa,u8 status) vduse_vdpa_set_status() argument 850 vduse_vdpa_get_config_size(struct vdpa_device * vdpa) vduse_vdpa_get_config_size() argument 857 vduse_vdpa_get_config(struct vdpa_device * vdpa,unsigned int offset,void * buf,unsigned int len) vduse_vdpa_get_config() argument 874 vduse_vdpa_set_config(struct vdpa_device * vdpa,unsigned int offset,const void * buf,unsigned int len) vduse_vdpa_set_config() argument 880 vduse_vdpa_reset(struct vdpa_device * vdpa) vduse_vdpa_reset() argument 890 vduse_vdpa_get_generation(struct vdpa_device * vdpa) vduse_vdpa_get_generation() argument 897 vduse_vdpa_set_vq_affinity(struct vdpa_device * vdpa,u16 idx,const struct cpumask * cpu_mask) vduse_vdpa_set_vq_affinity() argument 911 vduse_vdpa_get_vq_affinity(struct vdpa_device * vdpa,u16 idx) vduse_vdpa_get_vq_affinity() argument 918 vduse_vdpa_set_map(struct vdpa_device * vdpa,unsigned int asid,struct vhost_iotlb * iotlb) vduse_vdpa_set_map() argument 938 vduse_vdpa_suspend(struct vdpa_device * vdpa) vduse_vdpa_suspend() argument 959 vduse_vdpa_free(struct vdpa_device * vdpa) vduse_vdpa_free() argument [all...] |
| /linux/drivers/vdpa/ifcvf/ |
| H A D | ifcvf_base.h | 94 struct vdpa_device vdpa; member
|
| /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() argument [all...] |
| /linux/drivers/vdpa/octeon_ep/ |
| H A D | octep_vdpa_main.c | 30 struct vdpa_device vdpa; member [all...] |
| /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()
|