/linux-5.19.10/include/linux/ |
D | vdpa.h | 81 struct vdpa_device { struct 286 int (*set_vq_address)(struct vdpa_device *vdev, 289 void (*set_vq_num)(struct vdpa_device *vdev, u16 idx, u32 num); 290 void (*kick_vq)(struct vdpa_device *vdev, u16 idx); 291 void (*set_vq_cb)(struct vdpa_device *vdev, u16 idx, 293 void (*set_vq_ready)(struct vdpa_device *vdev, u16 idx, bool ready); 294 bool (*get_vq_ready)(struct vdpa_device *vdev, u16 idx); 295 int (*set_vq_state)(struct vdpa_device *vdev, u16 idx, 297 int (*get_vq_state)(struct vdpa_device *vdev, u16 idx, 299 int (*get_vendor_vq_stats)(struct vdpa_device *vdev, u16 idx, [all …]
|
/linux-5.19.10/drivers/vdpa/alibaba/ |
D | eni_vdpa.c | 39 struct vdpa_device vdpa; 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-5.19.10/drivers/vdpa/virtio_pci/ |
D | vp_vdpa.c | 34 struct vdpa_device vdpa; 50 static struct vp_vdpa *vdpa_to_vp(struct vdpa_device *vdpa) in vdpa_to_vp() 55 static struct virtio_pci_modern_device *vdpa_to_mdev(struct vdpa_device *vdpa) in vdpa_to_mdev() 67 static u64 vp_vdpa_get_device_features(struct vdpa_device *vdpa) in vp_vdpa_get_device_features() 74 static int vp_vdpa_set_driver_features(struct vdpa_device *vdpa, u64 features) in vp_vdpa_set_driver_features() 83 static u64 vp_vdpa_get_driver_features(struct vdpa_device *vdpa) in vp_vdpa_get_driver_features() 90 static u8 vp_vdpa_get_status(struct vdpa_device *vdpa) in vp_vdpa_get_status() 97 static int vp_vdpa_get_vq_irq(struct vdpa_device *vdpa, u16 idx) in vp_vdpa_get_vq_irq() 209 static void vp_vdpa_set_status(struct vdpa_device *vdpa, u8 status) in vp_vdpa_set_status() 223 static int vp_vdpa_reset(struct vdpa_device *vdpa) in vp_vdpa_reset() [all …]
|
/linux-5.19.10/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.c | 42 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() 322 static int vdpasim_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_address() 336 static void vdpasim_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vdpasim_set_vq_num() 344 static void vdpasim_kick_vq(struct vdpa_device *vdpa, u16 idx) in vdpasim_kick_vq() 353 static void vdpasim_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_cb() 363 static void vdpasim_set_vq_ready(struct vdpa_device *vdpa, u16 idx, bool ready) in vdpasim_set_vq_ready() 378 static bool vdpasim_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vdpasim_get_vq_ready() 386 static int vdpasim_set_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_state() 400 static int vdpasim_get_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_get_vq_state() [all …]
|
D | vdpa_sim.h | 54 struct vdpa_device vdpa;
|
D | vdpa_sim_net.c | 272 struct vdpa_device *dev) in vdpasim_net_dev_del()
|
D | vdpa_sim_blk.c | 290 struct vdpa_device *dev) in vdpasim_blk_dev_del()
|
/linux-5.19.10/drivers/virtio/ |
D | virtio_vdpa.c | 28 struct vdpa_device *vdpa; 51 static struct vdpa_device *vd_get_vdpa(struct virtio_device *vdev) in vd_get_vdpa() 59 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_get() 67 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_set() 74 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_generation() 85 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_get_status() 93 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_set_status() 100 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_reset() 107 struct vdpa_device *vdpa = vd_get_vdpa(vq->vdev); in virtio_vdpa_notify() 137 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_setup_vq() [all …]
|
/linux-5.19.10/drivers/vdpa/ |
D | vdpa.c | 24 void vdpa_set_status(struct vdpa_device *vdev, u8 status) in vdpa_set_status() 36 struct vdpa_device *vdev = dev_to_vdpa(d); in vdpa_dev_probe() 56 struct vdpa_device *vdev = dev_to_vdpa(d); in vdpa_dev_remove() 65 struct vdpa_device *vdev = dev_to_vdpa(dev); in vdpa_dev_match() 79 struct vdpa_device *vdev = dev_to_vdpa(dev); in driver_override_store() 92 struct vdpa_device *vdev = dev_to_vdpa(dev); in driver_override_show() 123 struct vdpa_device *vdev = dev_to_vdpa(d); in vdpa_release_dev() 152 struct vdpa_device *__vdpa_alloc_device(struct device *parent, in __vdpa_alloc_device() 158 struct vdpa_device *vdev; in __vdpa_alloc_device() 213 struct vdpa_device *vdev = container_of(dev, struct vdpa_device, dev); in vdpa_name_match() [all …]
|
/linux-5.19.10/drivers/vdpa/ifcvf/ |
D | ifcvf_main.c | 408 static struct ifcvf_adapter *vdpa_to_adapter(struct vdpa_device *vdpa_dev) in vdpa_to_adapter() 413 static struct ifcvf_hw *vdpa_to_vf(struct vdpa_device *vdpa_dev) in vdpa_to_vf() 420 static u64 ifcvf_vdpa_get_device_features(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_device_features() 438 static int ifcvf_vdpa_set_driver_features(struct vdpa_device *vdpa_dev, u64 features) in ifcvf_vdpa_set_driver_features() 452 static u64 ifcvf_vdpa_get_driver_features(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_driver_features() 459 static u8 ifcvf_vdpa_get_status(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_status() 466 static void ifcvf_vdpa_set_status(struct vdpa_device *vdpa_dev, u8 status) in ifcvf_vdpa_set_status() 499 static int ifcvf_vdpa_reset(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_reset() 522 static u16 ifcvf_vdpa_get_vq_num_max(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_vq_num_max() 527 static int ifcvf_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid, in ifcvf_vdpa_get_vq_state() [all …]
|
D | ifcvf_base.h | 93 struct vdpa_device vdpa;
|
/linux-5.19.10/drivers/vhost/ |
D | vdpa.c | 50 struct vdpa_device *vdpa; 180 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_setup_vq_irq() 211 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_reset() 220 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_device_id() 234 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_status() 248 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_set_status() 288 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_config_validate() 303 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_config() 330 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_set_config() 352 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_features() [all …]
|
/linux-5.19.10/drivers/vdpa/vdpa_user/ |
D | vduse_dev.c | 63 struct vdpa_device vdpa; 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() 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-5.19.10/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 1898 static void mlx5_vdpa_kick_vq(struct vdpa_device *vdev, u16 idx) in mlx5_vdpa_kick_vq() 1922 static int mlx5_vdpa_set_vq_address(struct vdpa_device *vdev, u16 idx, u64 desc_area, in mlx5_vdpa_set_vq_address() 1946 static void mlx5_vdpa_set_vq_num(struct vdpa_device *vdev, u16 idx, u32 num) in mlx5_vdpa_set_vq_num() 1959 static void mlx5_vdpa_set_vq_cb(struct vdpa_device *vdev, u16 idx, struct vdpa_callback *cb) in mlx5_vdpa_set_vq_cb() 1990 static void mlx5_vdpa_set_vq_ready(struct vdpa_device *vdev, u16 idx, bool ready) in mlx5_vdpa_set_vq_ready() 2014 static bool mlx5_vdpa_get_vq_ready(struct vdpa_device *vdev, u16 idx) in mlx5_vdpa_get_vq_ready() 2028 static int mlx5_vdpa_set_vq_state(struct vdpa_device *vdev, u16 idx, in mlx5_vdpa_set_vq_state() 2054 static int mlx5_vdpa_get_vq_state(struct vdpa_device *vdev, u16 idx, struct vdpa_vq_state *state) in mlx5_vdpa_get_vq_state() 2093 static u32 mlx5_vdpa_get_vq_align(struct vdpa_device *vdev) in mlx5_vdpa_get_vq_align() 2098 static u32 mlx5_vdpa_get_vq_group(struct vdpa_device *vdpa, u16 idx) in mlx5_vdpa_get_vq_group() [all …]
|
/linux-5.19.10/drivers/vdpa/mlx5/core/ |
D | mlx5_vdpa.h | 74 struct vdpa_device vdev;
|