Searched refs:vdpa_device (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | vdpa.h | 46 struct vdpa_device { struct 199 int (*set_vq_address)(struct vdpa_device *vdev, 202 void (*set_vq_num)(struct vdpa_device *vdev, u16 idx, u32 num); 203 void (*kick_vq)(struct vdpa_device *vdev, u16 idx); 204 void (*set_vq_cb)(struct vdpa_device *vdev, u16 idx, 206 void (*set_vq_ready)(struct vdpa_device *vdev, u16 idx, bool ready); 207 bool (*get_vq_ready)(struct vdpa_device *vdev, u16 idx); 208 int (*set_vq_state)(struct vdpa_device *vdev, u16 idx, 210 int (*get_vq_state)(struct vdpa_device *vdev, u16 idx, 213 (*get_vq_notification)(struct vdpa_device *vdev, u16 idx); [all …]
|
/kernel/linux/linux-5.10/drivers/vdpa/ifcvf/ |
D | ifcvf_main.c | 158 static struct ifcvf_adapter *vdpa_to_adapter(struct vdpa_device *vdpa_dev) in vdpa_to_adapter() 163 static struct ifcvf_hw *vdpa_to_vf(struct vdpa_device *vdpa_dev) in vdpa_to_vf() 170 static u64 ifcvf_vdpa_get_features(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_features() 180 static int ifcvf_vdpa_set_features(struct vdpa_device *vdpa_dev, u64 features) in ifcvf_vdpa_set_features() 189 static u8 ifcvf_vdpa_get_status(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_status() 196 static void ifcvf_vdpa_set_status(struct vdpa_device *vdpa_dev, u8 status) in ifcvf_vdpa_set_status() 240 static u16 ifcvf_vdpa_get_vq_num_max(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_vq_num_max() 245 static int ifcvf_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid, in ifcvf_vdpa_get_vq_state() 254 static int ifcvf_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid, in ifcvf_vdpa_set_vq_state() 262 static void ifcvf_vdpa_set_vq_cb(struct vdpa_device *vdpa_dev, u16 qid, in ifcvf_vdpa_set_vq_cb() [all …]
|
D | ifcvf_base.h | 91 struct vdpa_device vdpa;
|
/kernel/linux/linux-5.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() 75 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_generation() 86 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_get_status() 94 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_set_status() 102 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_reset() 109 struct vdpa_device *vdpa = vd_get_vdpa(vq->vdev); in virtio_vdpa_notify() 139 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_setup_vq() [all …]
|
/kernel/linux/linux-5.10/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.c | 82 struct vdpa_device vdpa; 118 static struct vdpasim *vdpa_to_sim(struct vdpa_device *vdpa) in vdpa_to_sim() 125 struct vdpa_device *vdpa = dev_to_vdpa(dev); in dev_to_sim() 431 static int vdpasim_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_address() 445 static void vdpasim_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vdpasim_set_vq_num() 453 static void vdpasim_kick_vq(struct vdpa_device *vdpa, u16 idx) in vdpasim_kick_vq() 462 static void vdpasim_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_cb() 472 static void vdpasim_set_vq_ready(struct vdpa_device *vdpa, u16 idx, bool ready) in vdpasim_set_vq_ready() 487 static bool vdpasim_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vdpasim_get_vq_ready() 495 static int vdpasim_set_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_state() [all …]
|
/kernel/linux/linux-5.10/drivers/vdpa/ |
D | vdpa.c | 19 struct vdpa_device *vdev = dev_to_vdpa(d); in vdpa_dev_probe() 31 struct vdpa_device *vdev = dev_to_vdpa(d); in vdpa_dev_remove() 48 struct vdpa_device *vdev = dev_to_vdpa(d); in vdpa_release_dev() 73 struct vdpa_device *__vdpa_alloc_device(struct device *parent, in __vdpa_alloc_device() 78 struct vdpa_device *vdev; in __vdpa_alloc_device() 128 int vdpa_register_device(struct vdpa_device *vdev) in vdpa_register_device() 138 void vdpa_unregister_device(struct vdpa_device *vdev) in vdpa_unregister_device()
|
/kernel/linux/linux-5.10/drivers/vhost/ |
D | vdpa.c | 41 struct vdpa_device *vdpa; 93 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_setup_vq_irq() 124 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_reset() 132 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_device_id() 146 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_status() 160 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_set_status() 214 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_config() 241 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_set_config() 268 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_features() 282 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_set_features() [all …]
|
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 1331 static void mlx5_vdpa_kick_vq(struct vdpa_device *vdev, u16 idx) in mlx5_vdpa_kick_vq() 1343 static int mlx5_vdpa_set_vq_address(struct vdpa_device *vdev, u16 idx, u64 desc_area, in mlx5_vdpa_set_vq_address() 1356 static void mlx5_vdpa_set_vq_num(struct vdpa_device *vdev, u16 idx, u32 num) in mlx5_vdpa_set_vq_num() 1366 static void mlx5_vdpa_set_vq_cb(struct vdpa_device *vdev, u16 idx, struct vdpa_callback *cb) in mlx5_vdpa_set_vq_cb() 1375 static void mlx5_vdpa_set_vq_ready(struct vdpa_device *vdev, u16 idx, bool ready) in mlx5_vdpa_set_vq_ready() 1387 static bool mlx5_vdpa_get_vq_ready(struct vdpa_device *vdev, u16 idx) in mlx5_vdpa_get_vq_ready() 1396 static int mlx5_vdpa_set_vq_state(struct vdpa_device *vdev, u16 idx, in mlx5_vdpa_set_vq_state() 1413 static int mlx5_vdpa_get_vq_state(struct vdpa_device *vdev, u16 idx, struct vdpa_vq_state *state) in mlx5_vdpa_get_vq_state() 1443 static u32 mlx5_vdpa_get_vq_align(struct vdpa_device *vdev) in mlx5_vdpa_get_vq_align() 1470 static u64 mlx5_vdpa_get_features(struct vdpa_device *vdev) in mlx5_vdpa_get_features() [all …]
|
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/ |
D | mlx5_vdpa.h | 50 struct vdpa_device vdev;
|