qcacld-3.0: Add APIs to prevent and allow PCIe enter L1 state

Add PLD APIs to prevent and allow PCIe enter L1 state and L1ss
states.

Change-Id: If5cfb4938aa1e5db277d6a8a381a6a9b6f961bc2
CRs-fixed: 2621669
This commit is contained in:
Yue Ma
2020-02-07 12:25:57 -08:00
committed by nshrivas
vanhempi aedfdd5db5
commit a37a0fb1d8
3 muutettua tiedostoa jossa 68 lisäystä ja 1 poistoa

Näytä tiedosto

@@ -427,6 +427,8 @@ void pld_get_default_fw_files(struct pld_fw_files *pfw_files);
int pld_get_fw_files_for_target(struct device *dev,
struct pld_fw_files *pfw_files,
u32 target_type, u32 target_version);
int pld_prevent_l1(struct device *dev);
void pld_allow_l1(struct device *dev);
void pld_is_pci_link_down(struct device *dev);
int pld_shadow_control(struct device *dev, bool enable);
void pld_schedule_recovery_work(struct device *dev,