Home
last modified time | relevance | path

Searched refs:pds_vfio_pci_device (Results 1 – 9 of 9) sorted by relevance

/drivers/vfio/pci/pds/
Dcmds.h7 int pds_vfio_register_client_cmd(struct pds_vfio_pci_device *pds_vfio);
8 void pds_vfio_unregister_client_cmd(struct pds_vfio_pci_device *pds_vfio);
9 int pds_vfio_suspend_device_cmd(struct pds_vfio_pci_device *pds_vfio, u8 type);
10 int pds_vfio_resume_device_cmd(struct pds_vfio_pci_device *pds_vfio, u8 type);
11 int pds_vfio_get_lm_state_size_cmd(struct pds_vfio_pci_device *pds_vfio, u64 *size);
12 int pds_vfio_get_lm_state_cmd(struct pds_vfio_pci_device *pds_vfio);
13 int pds_vfio_set_lm_state_cmd(struct pds_vfio_pci_device *pds_vfio);
14 void pds_vfio_send_host_vf_lm_status_cmd(struct pds_vfio_pci_device *pds_vfio,
16 int pds_vfio_dirty_status_cmd(struct pds_vfio_pci_device *pds_vfio,
19 int pds_vfio_dirty_enable_cmd(struct pds_vfio_pci_device *pds_vfio,
[all …]
Dvfio_dev.c11 struct pci_dev *pds_vfio_to_pci_dev(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_to_pci_dev()
16 struct device *pds_vfio_to_dev(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_to_dev()
21 struct pds_vfio_pci_device *pds_vfio_pci_drvdata(struct pci_dev *pdev) in pds_vfio_pci_drvdata()
25 return container_of(core_device, struct pds_vfio_pci_device, in pds_vfio_pci_drvdata()
29 void pds_vfio_state_mutex_unlock(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_state_mutex_unlock()
49 void pds_vfio_reset(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_reset()
66 struct pds_vfio_pci_device *pds_vfio = in pds_vfio_set_device_state()
67 container_of(vdev, struct pds_vfio_pci_device, in pds_vfio_set_device_state()
111 struct pds_vfio_pci_device *pds_vfio = in pds_vfio_get_device_state()
112 container_of(vdev, struct pds_vfio_pci_device, in pds_vfio_get_device_state()
[all …]
Dvfio_dev.h13 struct pds_vfio_pci_device { struct
30 void pds_vfio_state_mutex_unlock(struct pds_vfio_pci_device *pds_vfio); argument
33 struct pds_vfio_pci_device *pds_vfio_pci_drvdata(struct pci_dev *pdev);
34 void pds_vfio_reset(struct pds_vfio_pci_device *pds_vfio);
36 struct pci_dev *pds_vfio_to_pci_dev(struct pds_vfio_pci_device *pds_vfio);
37 struct device *pds_vfio_to_dev(struct pds_vfio_pci_device *pds_vfio);
Dpci_drv.c22 static void pds_vfio_recovery(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_recovery()
68 struct pds_vfio_pci_device *pds_vfio = in pds_vfio_pci_notify_handler()
69 container_of(nb, struct pds_vfio_pci_device, nb); in pds_vfio_pci_notify_handler()
98 pds_vfio_pci_register_event_handler(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_pci_register_event_handler()
121 pds_vfio_pci_unregister_event_handler(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_pci_unregister_event_handler()
132 struct pds_vfio_pci_device *pds_vfio; in pds_vfio_pci_probe()
135 pds_vfio = vfio_alloc_device(pds_vfio_pci_device, vfio_coredev.vdev, in pds_vfio_pci_probe()
170 struct pds_vfio_pci_device *pds_vfio = pds_vfio_pci_drvdata(pdev); in pds_vfio_pci_remove()
186 struct pds_vfio_pci_device *pds_vfio = pds_vfio_pci_drvdata(pdev); in pds_vfio_pci_aer_reset_done()
Ddirty.c18 bool pds_vfio_dirty_is_enabled(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_dirty_is_enabled()
23 void pds_vfio_dirty_set_enabled(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_dirty_set_enabled()
28 void pds_vfio_dirty_set_disabled(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_dirty_set_disabled()
34 pds_vfio_print_guest_region_info(struct pds_vfio_pci_device *pds_vfio, in pds_vfio_print_guest_region_info()
102 static void __pds_vfio_dirty_free_sgl(struct pds_vfio_pci_device *pds_vfio, in __pds_vfio_dirty_free_sgl()
118 static void pds_vfio_dirty_free_sgl(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_dirty_free_sgl()
126 static int __pds_vfio_dirty_alloc_sgl(struct pds_vfio_pci_device *pds_vfio, in __pds_vfio_dirty_alloc_sgl()
157 static int pds_vfio_dirty_alloc_sgl(struct pds_vfio_pci_device *pds_vfio, in pds_vfio_dirty_alloc_sgl()
178 static int pds_vfio_dirty_enable(struct pds_vfio_pci_device *pds_vfio, in pds_vfio_dirty_enable()
309 void pds_vfio_dirty_disable(struct pds_vfio_pci_device *pds_vfio, bool send_cmd) in pds_vfio_dirty_disable()
[all …]
Ddirty.h24 struct pds_vfio_pci_device;
26 bool pds_vfio_dirty_is_enabled(struct pds_vfio_pci_device *pds_vfio);
27 void pds_vfio_dirty_set_enabled(struct pds_vfio_pci_device *pds_vfio);
28 void pds_vfio_dirty_set_disabled(struct pds_vfio_pci_device *pds_vfio);
29 void pds_vfio_dirty_disable(struct pds_vfio_pci_device *pds_vfio,
Dcmds.c18 static int pds_vfio_client_adminq_cmd(struct pds_vfio_pci_device *pds_vfio, in pds_vfio_client_adminq_cmd()
46 int pds_vfio_register_client_cmd(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_register_client_cmd()
70 void pds_vfio_unregister_client_cmd(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_unregister_client_cmd()
89 pds_vfio_suspend_wait_device_cmd(struct pds_vfio_pci_device *pds_vfio, u8 type) in pds_vfio_suspend_wait_device_cmd()
129 int pds_vfio_suspend_device_cmd(struct pds_vfio_pci_device *pds_vfio, u8 type) in pds_vfio_suspend_device_cmd()
163 int pds_vfio_resume_device_cmd(struct pds_vfio_pci_device *pds_vfio, u8 type) in pds_vfio_resume_device_cmd()
180 int pds_vfio_get_lm_state_size_cmd(struct pds_vfio_pci_device *pds_vfio, u64 *size) in pds_vfio_get_lm_state_size_cmd()
281 int pds_vfio_get_lm_state_cmd(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_get_lm_state_cmd()
319 int pds_vfio_set_lm_state_cmd(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_set_lm_state_cmd()
358 void pds_vfio_send_host_vf_lm_status_cmd(struct pds_vfio_pci_device *pds_vfio, in pds_vfio_send_host_vf_lm_status_cmd()
[all …]
Dlm.h33 struct pds_vfio_pci_device;
36 pds_vfio_step_device_state_locked(struct pds_vfio_pci_device *pds_vfio,
39 void pds_vfio_put_save_file(struct pds_vfio_pci_device *pds_vfio);
40 void pds_vfio_put_restore_file(struct pds_vfio_pci_device *pds_vfio);
Dlm.c114 void pds_vfio_put_save_file(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_put_save_file()
123 void pds_vfio_put_restore_file(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_put_restore_file()
241 static int pds_vfio_get_save_file(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_get_save_file()
340 static int pds_vfio_get_restore_file(struct pds_vfio_pci_device *pds_vfio) in pds_vfio_get_restore_file()
365 pds_vfio_step_device_state_locked(struct pds_vfio_pci_device *pds_vfio, in pds_vfio_step_device_state_locked()