Lines Matching refs:pds_vdpa_device

21 static struct pds_vdpa_device *vdpa_to_pdsv(struct vdpa_device *vdpa_dev)  in vdpa_to_pdsv()
23 return container_of(vdpa_dev, struct pds_vdpa_device, vdpa_dev); in vdpa_to_pdsv()
30 struct pds_vdpa_device *pdsv = container_of(nb, struct pds_vdpa_device, nb); in pds_vdpa_notify_handler()
43 static int pds_vdpa_register_event_handler(struct pds_vdpa_device *pdsv) in pds_vdpa_register_event_handler()
64 static void pds_vdpa_unregister_event_handler(struct pds_vdpa_device *pdsv) in pds_vdpa_unregister_event_handler()
75 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_set_vq_address()
86 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_set_vq_num()
93 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_kick_vq()
101 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_set_vq_cb()
117 static void pds_vdpa_release_irq(struct pds_vdpa_device *pdsv, int qid) in pds_vdpa_release_irq()
128 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_set_vq_ready()
166 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_get_vq_ready()
174 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_set_vq_state()
224 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_get_vq_state()
259 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_get_vq_notification()
276 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_get_vq_irq()
293 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_get_device_features()
300 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_set_driver_features()
341 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_get_driver_features()
349 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_set_config_cb()
357 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_get_vq_num_max()
375 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_get_status()
380 static int pds_vdpa_request_irqs(struct pds_vdpa_device *pdsv) in pds_vdpa_request_irqs()
429 static void pds_vdpa_release_irqs(struct pds_vdpa_device *pdsv) in pds_vdpa_release_irqs()
448 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_set_status()
489 static void pds_vdpa_init_vqs_entry(struct pds_vdpa_device *pdsv, int qid, in pds_vdpa_init_vqs_entry()
502 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_reset()
544 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_get_config()
560 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_set_config()
609 struct pds_vdpa_device *pdsv; in pds_vdpa_dev_add()
627 pdsv = vdpa_alloc_device(struct pds_vdpa_device, vdpa_dev, in pds_vdpa_dev_add()
756 struct pds_vdpa_device *pdsv = vdpa_to_pdsv(vdpa_dev); in pds_vdpa_dev_del()