rtw89: pci: add variant IMR/ISR and configure functions
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 21 Apr 2022 12:08:50 +0000 (20:08 +0800)
committerKalle Valo <kvalo@kernel.org>
Sun, 24 Apr 2022 11:30:33 +0000 (14:30 +0300)
commit948e521c728536db40dc7fba5a641f2115161802
tree1dd3b40d5ee72adca14f3719cfd119a51268e2d1
parent9ebacb1e7e75f2a7a9745d42da7031d3a1741029
rtw89: pci: add variant IMR/ISR and configure functions

8852CE uses different but similar IMR/ISR registers, and its masks are also
different in various states, so add config_intr_mask ops to configure masks
according to under_recovery or low_power states.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220421120903.73715-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/pci.c
drivers/net/wireless/realtek/rtw89/pci.h
drivers/net/wireless/realtek/rtw89/rtw8852ae.c
drivers/net/wireless/realtek/rtw89/rtw8852ce.c