提交 e519f78f 编写于 作者: S Sujith Manoharan 提交者: Kalle Valo

ath9k: Add PCIE powersave macros

These will be used to handle chip-specific
power save configuration.
Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 02beaf1a
...@@ -309,6 +309,12 @@ enum ath9k_hw_hang_checks { ...@@ -309,6 +309,12 @@ enum ath9k_hw_hang_checks {
HW_MAC_HANG = BIT(5), HW_MAC_HANG = BIT(5),
}; };
#define AR_PCIE_PLL_PWRSAVE_CONTROL BIT(0)
#define AR_PCIE_PLL_PWRSAVE_ON_D3 BIT(1)
#define AR_PCIE_PLL_PWRSAVE_ON_D0 BIT(2)
#define AR_PCIE_CDR_PWRSAVE_ON_D3 BIT(3)
#define AR_PCIE_CDR_PWRSAVE_ON_D0 BIT(4)
struct ath9k_ops_config { struct ath9k_ops_config {
int dma_beacon_response_time; int dma_beacon_response_time;
int sw_beacon_response_time; int sw_beacon_response_time;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册