Lines Matching refs:vdpa_device
65 struct vdpa_device vdpa;
136 static inline struct vduse_dev *vdpa_to_vduse(struct vdpa_device *vdpa) in vdpa_to_vduse()
145 struct vdpa_device *vdpa = dev_to_vdpa(dev); in dev_to_vduse()
464 static int vduse_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_address()
500 static void vduse_vdpa_kick_vq(struct vdpa_device *vdpa, u16 idx) in vduse_vdpa_kick_vq()
512 static void vduse_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_cb()
524 static void vduse_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vduse_vdpa_set_vq_num()
532 static void vduse_vdpa_set_vq_ready(struct vdpa_device *vdpa, in vduse_vdpa_set_vq_ready()
541 static bool vduse_vdpa_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vduse_vdpa_get_vq_ready()
549 static int vduse_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_set_vq_state()
568 static int vduse_vdpa_get_vq_state(struct vdpa_device *vdpa, u16 idx, in vduse_vdpa_get_vq_state()
580 static u32 vduse_vdpa_get_vq_align(struct vdpa_device *vdpa) in vduse_vdpa_get_vq_align()
587 static u64 vduse_vdpa_get_device_features(struct vdpa_device *vdpa) in vduse_vdpa_get_device_features()
594 static int vduse_vdpa_set_driver_features(struct vdpa_device *vdpa, u64 features) in vduse_vdpa_set_driver_features()
602 static u64 vduse_vdpa_get_driver_features(struct vdpa_device *vdpa) in vduse_vdpa_get_driver_features()
609 static void vduse_vdpa_set_config_cb(struct vdpa_device *vdpa, in vduse_vdpa_set_config_cb()
620 static u16 vduse_vdpa_get_vq_num_max(struct vdpa_device *vdpa) in vduse_vdpa_get_vq_num_max()
633 static u32 vduse_vdpa_get_device_id(struct vdpa_device *vdpa) in vduse_vdpa_get_device_id()
640 static u32 vduse_vdpa_get_vendor_id(struct vdpa_device *vdpa) in vduse_vdpa_get_vendor_id()
647 static u8 vduse_vdpa_get_status(struct vdpa_device *vdpa) in vduse_vdpa_get_status()
654 static void vduse_vdpa_set_status(struct vdpa_device *vdpa, u8 status) in vduse_vdpa_set_status()
664 static size_t vduse_vdpa_get_config_size(struct vdpa_device *vdpa) in vduse_vdpa_get_config_size()
671 static void vduse_vdpa_get_config(struct vdpa_device *vdpa, unsigned int offset, in vduse_vdpa_get_config()
688 static void vduse_vdpa_set_config(struct vdpa_device *vdpa, unsigned int offset, in vduse_vdpa_set_config()
694 static int vduse_vdpa_reset(struct vdpa_device *vdpa) in vduse_vdpa_reset()
704 static u32 vduse_vdpa_get_generation(struct vdpa_device *vdpa) in vduse_vdpa_get_generation()
711 static int vduse_vdpa_set_map(struct vdpa_device *vdpa, in vduse_vdpa_set_map()
731 static void vduse_vdpa_free(struct vdpa_device *vdpa) in vduse_vdpa_free()
1725 static void vdpa_dev_del(struct vdpa_mgmt_dev *mdev, struct vdpa_device *dev) in vdpa_dev_del()