Searched refs:vdpa (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.10/drivers/virtio/ |
D | virtio_vdpa.c | 28 struct vdpa_device *vdpa; member 53 return to_virtio_vdpa_device(vdev)->vdpa; in vd_get_vdpa() 59 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_get() local 61 vdpa_get_config(vdpa, offset, buf, len); in virtio_vdpa_get() 67 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_set() local 68 const struct vdpa_config_ops *ops = vdpa->config; in virtio_vdpa_set() 70 ops->set_config(vdpa, offset, buf, len); in virtio_vdpa_set() 75 struct vdpa_device *vdpa = vd_get_vdpa(vdev); in virtio_vdpa_generation() local 76 const struct vdpa_config_ops *ops = vdpa->config; in virtio_vdpa_generation() 79 return ops->get_generation(vdpa); in virtio_vdpa_generation() [all …]
|
/Linux-v5.10/drivers/vhost/ |
D | vdpa.c | 41 struct vdpa_device *vdpa; member 62 const struct vdpa_config_ops *ops = v->vdpa->config; in handle_vq_kick() 64 ops->kick_vq(v->vdpa, vq - v->vqs); in handle_vq_kick() 92 const struct vdpa_config_ops *ops = v->vdpa->config; in vhost_vdpa_setup_vq_irq() 93 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_setup_vq_irq() local 99 irq = ops->get_vq_irq(vdpa, qid); in vhost_vdpa_setup_vq_irq() 121 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_reset() local 123 vdpa_reset(vdpa); in vhost_vdpa_reset() 129 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_get_device_id() local 130 const struct vdpa_config_ops *ops = vdpa->config; in vhost_vdpa_get_device_id() [all …]
|
D | Makefile | 14 vhost_vdpa-y := vdpa.o
|
/Linux-v5.10/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.c | 72 struct vdpa_device vdpa; member 106 static struct vdpasim *vdpa_to_sim(struct vdpa_device *vdpa) in vdpa_to_sim() argument 108 return container_of(vdpa, struct vdpasim, vdpa); in vdpa_to_sim() 113 struct vdpa_device *vdpa = dev_to_vdpa(dev); in dev_to_sim() local 115 return vdpa_to_sim(vdpa); in dev_to_sim() 360 vdpasim = vdpa_alloc_device(struct vdpasim, vdpa, NULL, ops, VDPASIM_VQ_NUM); in vdpasim_create() 368 dev = &vdpasim->vdpa.dev; in vdpasim_create() 395 vdpasim->vdpa.dma_dev = dev; in vdpasim_create() 396 ret = vdpa_register_device(&vdpasim->vdpa); in vdpasim_create() 408 static int vdpasim_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_address() argument [all …]
|
/Linux-v5.10/drivers/vdpa/ifcvf/ |
D | ifcvf_main.c | 160 return container_of(vdpa_dev, struct ifcvf_adapter, vdpa); in vdpa_to_adapter() 440 adapter = vdpa_alloc_device(struct ifcvf_adapter, vdpa, in ifcvf_probe() 455 adapter->vdpa.dma_dev = &pdev->dev; in ifcvf_probe() 466 ret = vdpa_register_device(&adapter->vdpa); in ifcvf_probe() 475 put_device(&adapter->vdpa.dev); in ifcvf_probe() 483 vdpa_unregister_device(&adapter->vdpa); in ifcvf_remove()
|
D | ifcvf_base.h | 91 struct vdpa_device vdpa; member
|
/Linux-v5.10/drivers/vdpa/ |
D | Makefile | 2 obj-$(CONFIG_VDPA) += vdpa.o
|
/Linux-v5.10/drivers/vdpa/mlx5/ |
D | Makefile | 1 subdir-ccflags-y += -I$(srctree)/drivers/vdpa/mlx5/core
|
/Linux-v5.10/drivers/ |
D | Makefile | 45 obj-$(CONFIG_VDPA) += vdpa/
|
D | Kconfig | 141 source "drivers/vdpa/Kconfig"
|
/Linux-v5.10/ |
D | MAINTAINERS | 18570 F: drivers/vdpa/ 18572 F: include/linux/vdpa.h
|