Lines Matching refs:vdpa_device

35 	struct vdpa_device vdpa;
52 static struct vp_vdpa *vdpa_to_vp(struct vdpa_device *vdpa) in vdpa_to_vp()
57 static struct virtio_pci_modern_device *vdpa_to_mdev(struct vdpa_device *vdpa) in vdpa_to_mdev()
69 static u64 vp_vdpa_get_device_features(struct vdpa_device *vdpa) in vp_vdpa_get_device_features()
76 static int vp_vdpa_set_driver_features(struct vdpa_device *vdpa, u64 features) in vp_vdpa_set_driver_features()
85 static u64 vp_vdpa_get_driver_features(struct vdpa_device *vdpa) in vp_vdpa_get_driver_features()
92 static u8 vp_vdpa_get_status(struct vdpa_device *vdpa) in vp_vdpa_get_status()
99 static int vp_vdpa_get_vq_irq(struct vdpa_device *vdpa, u16 idx) in vp_vdpa_get_vq_irq()
221 static void vp_vdpa_set_status(struct vdpa_device *vdpa, u8 status) in vp_vdpa_set_status()
238 static int vp_vdpa_reset(struct vdpa_device *vdpa) in vp_vdpa_reset()
252 static u16 vp_vdpa_get_vq_num_max(struct vdpa_device *vdpa) in vp_vdpa_get_vq_num_max()
257 static int vp_vdpa_get_vq_state(struct vdpa_device *vdpa, u16 qid, in vp_vdpa_get_vq_state()
267 static int vp_vdpa_set_vq_state_split(struct vdpa_device *vdpa, in vp_vdpa_set_vq_state_split()
278 static int vp_vdpa_set_vq_state_packed(struct vdpa_device *vdpa, in vp_vdpa_set_vq_state_packed()
292 static int vp_vdpa_set_vq_state(struct vdpa_device *vdpa, u16 qid, in vp_vdpa_set_vq_state()
313 static void vp_vdpa_set_vq_cb(struct vdpa_device *vdpa, u16 qid, in vp_vdpa_set_vq_cb()
321 static void vp_vdpa_set_vq_ready(struct vdpa_device *vdpa, in vp_vdpa_set_vq_ready()
329 static bool vp_vdpa_get_vq_ready(struct vdpa_device *vdpa, u16 qid) in vp_vdpa_get_vq_ready()
336 static void vp_vdpa_set_vq_num(struct vdpa_device *vdpa, u16 qid, in vp_vdpa_set_vq_num()
344 static u16 vp_vdpa_get_vq_size(struct vdpa_device *vdpa, u16 qid) in vp_vdpa_get_vq_size()
351 static int vp_vdpa_set_vq_address(struct vdpa_device *vdpa, u16 qid, in vp_vdpa_set_vq_address()
363 static void vp_vdpa_kick_vq(struct vdpa_device *vdpa, u16 qid) in vp_vdpa_kick_vq()
370 static u32 vp_vdpa_get_generation(struct vdpa_device *vdpa) in vp_vdpa_get_generation()
377 static u32 vp_vdpa_get_device_id(struct vdpa_device *vdpa) in vp_vdpa_get_device_id()
384 static u32 vp_vdpa_get_vendor_id(struct vdpa_device *vdpa) in vp_vdpa_get_vendor_id()
391 static u32 vp_vdpa_get_vq_align(struct vdpa_device *vdpa) in vp_vdpa_get_vq_align()
396 static size_t vp_vdpa_get_config_size(struct vdpa_device *vdpa) in vp_vdpa_get_config_size()
403 static void vp_vdpa_get_config(struct vdpa_device *vdpa, in vp_vdpa_get_config()
423 static void vp_vdpa_set_config(struct vdpa_device *vdpa, in vp_vdpa_set_config()
436 static void vp_vdpa_set_config_cb(struct vdpa_device *vdpa, in vp_vdpa_set_config_cb()
445 vp_vdpa_get_vq_notification(struct vdpa_device *vdpa, u16 qid) in vp_vdpa_get_vq_notification()
576 struct vdpa_device *dev) in vp_vdpa_dev_del()