qcacld-3.0: Add pld api to get PCI reg dump on SSR

Add pld api to get PCI register dump on FW crash due
to PCI bus failure.

Change-Id: Ie30edbe2c60b0e71912667491c9fadbbe92373c4
This commit is contained in:
Mohammed Siddiq
2020-11-25 17:41:36 +05:30
committed by snandini
parent 0523a453c5
commit 76ca8c9fc1
3 changed files with 50 additions and 0 deletions

View File

@@ -470,6 +470,7 @@ void pld_allow_l1(struct device *dev);
int pld_set_pcie_gen_speed(struct device *dev, u8 pcie_gen_speed);
void pld_is_pci_link_down(struct device *dev);
void pld_get_bus_reg_dump(struct device *dev, uint8_t *buf, uint32_t len);
int pld_shadow_control(struct device *dev, bool enable);
void pld_schedule_recovery_work(struct device *dev,
enum pld_recovery_reason reason);