Searched defs:vdpasim (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/vdpa/vdpa_sim/ |
A D | vdpa_sim.h | 51 struct vdpasim { struct 53 struct vdpasim_virtqueue *vqs; argument 55 struct vdpasim_dev_attr dev_attr; argument 70 struct vdpasim *vdpasim_create(struct vdpasim_dev_attr *attr); argument 73 static inline bool vdpasim_is_little_endian(struct vdpasim *vdpasim) in vdpasim_is_little_endian() 79 static inline u16 vdpasim16_to_cpu(struct vdpasim *vdpasim, __virtio16 val) in vdpasim16_to_cpu() 84 static inline __virtio16 cpu_to_vdpasim16(struct vdpasim *vdpasim, u16 val) in cpu_to_vdpasim16() 89 static inline u32 vdpasim32_to_cpu(struct vdpasim *vdpasim, __virtio32 val) in vdpasim32_to_cpu() 94 static inline __virtio32 cpu_to_vdpasim32(struct vdpasim *vdpasim, u32 val) in cpu_to_vdpasim32() 99 static inline u64 vdpasim64_to_cpu(struct vdpasim *vdpasim, __virtio64 val) in vdpasim64_to_cpu() [all …]
|
A D | vdpa_sim.c | 176 struct vdpasim *vdpasim = dev_to_sim(dev); in vdpasim_map_page() local 190 struct vdpasim *vdpasim = dev_to_sim(dev); in vdpasim_unmap_page() local 199 struct vdpasim *vdpasim = dev_to_sim(dev); in vdpasim_alloc_coherent() local 224 struct vdpasim *vdpasim = dev_to_sim(dev); in vdpasim_free_coherent() local 244 struct vdpasim *vdpasim; in vdpasim_create() local 315 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); in vdpasim_set_vq_address() local 327 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); in vdpasim_set_vq_num() local 335 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); in vdpasim_kick_vq() local 345 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); in vdpasim_set_vq_cb() local 354 struct vdpasim *vdpasim = vdpa_to_sim(vdpa); in vdpasim_set_vq_ready() local [all …]
|
A D | vdpa_sim_net.c | 35 struct vdpasim *vdpasim = container_of(work, struct vdpasim, work); in vdpasim_net_work() local 106 static void vdpasim_net_get_config(struct vdpasim *vdpasim, void *config) in vdpasim_net_get_config() 113 static void vdpasim_net_setup_config(struct vdpasim *vdpasim, in vdpasim_net_setup_config()
|
A D | vdpa_sim_blk.c | 61 static bool vdpasim_blk_handle_req(struct vdpasim *vdpasim, in vdpasim_blk_handle_req() 199 struct vdpasim *vdpasim = container_of(work, struct vdpasim, work); in vdpasim_blk_work() local 227 static void vdpasim_blk_get_config(struct vdpasim *vdpasim, void *config) in vdpasim_blk_get_config()
|
Completed in 7 milliseconds