]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57bfebcf082b33c05a4e5ea62b4afa41bae6b6f3
tree1dd3b40d5ee72adca14f3719cfd119a51268e2d1
parentcec90002cf374574404c912ec665aaf481ef6981
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