Lines Matching defs:vdpa

43 static struct vdpasim *vdpa_to_sim(struct vdpa_device *vdpa)  in vdpa_to_sim()
50 struct vdpa_device *vdpa = dev_to_vdpa(dev); in dev_to_sim() local
332 static int vdpasim_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_address()
346 static void vdpasim_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vdpasim_set_vq_num()
354 static void vdpasim_kick_vq(struct vdpa_device *vdpa, u16 idx) in vdpasim_kick_vq()
363 static void vdpasim_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_cb()
373 static void vdpasim_set_vq_ready(struct vdpa_device *vdpa, u16 idx, bool ready) in vdpasim_set_vq_ready()
388 static bool vdpasim_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vdpasim_get_vq_ready()
396 static int vdpasim_set_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_state()
410 static int vdpasim_get_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_get_vq_state()
421 static u32 vdpasim_get_vq_align(struct vdpa_device *vdpa) in vdpasim_get_vq_align()
426 static u32 vdpasim_get_vq_group(struct vdpa_device *vdpa, u16 idx) in vdpasim_get_vq_group()
435 static u64 vdpasim_get_device_features(struct vdpa_device *vdpa) in vdpasim_get_device_features()
442 static int vdpasim_set_driver_features(struct vdpa_device *vdpa, u64 features) in vdpasim_set_driver_features()
455 static u64 vdpasim_get_driver_features(struct vdpa_device *vdpa) in vdpasim_get_driver_features()
462 static void vdpasim_set_config_cb(struct vdpa_device *vdpa, in vdpasim_set_config_cb()
468 static u16 vdpasim_get_vq_num_max(struct vdpa_device *vdpa) in vdpasim_get_vq_num_max()
473 static u32 vdpasim_get_device_id(struct vdpa_device *vdpa) in vdpasim_get_device_id()
480 static u32 vdpasim_get_vendor_id(struct vdpa_device *vdpa) in vdpasim_get_vendor_id()
485 static u8 vdpasim_get_status(struct vdpa_device *vdpa) in vdpasim_get_status()
497 static void vdpasim_set_status(struct vdpa_device *vdpa, u8 status) in vdpasim_set_status()
506 static int vdpasim_reset(struct vdpa_device *vdpa) in vdpasim_reset()
518 static int vdpasim_suspend(struct vdpa_device *vdpa) in vdpasim_suspend()
529 static size_t vdpasim_get_config_size(struct vdpa_device *vdpa) in vdpasim_get_config_size()
536 static void vdpasim_get_config(struct vdpa_device *vdpa, unsigned int offset, in vdpasim_get_config()
550 static void vdpasim_set_config(struct vdpa_device *vdpa, unsigned int offset, in vdpasim_set_config()
564 static u32 vdpasim_get_generation(struct vdpa_device *vdpa) in vdpasim_get_generation()
571 static struct vdpa_iova_range vdpasim_get_iova_range(struct vdpa_device *vdpa) in vdpasim_get_iova_range()
581 static int vdpasim_set_group_asid(struct vdpa_device *vdpa, unsigned int group, in vdpasim_set_group_asid()
608 static int vdpasim_set_map(struct vdpa_device *vdpa, unsigned int asid, in vdpasim_set_map()
641 static int vdpasim_dma_map(struct vdpa_device *vdpa, unsigned int asid, in vdpasim_dma_map()
659 static int vdpasim_dma_unmap(struct vdpa_device *vdpa, unsigned int asid, in vdpasim_dma_unmap()
674 static void vdpasim_free(struct vdpa_device *vdpa) in vdpasim_free()