rtw88: pci: use macros to access PCI DBI/MDIO registers
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Mon, 18 Nov 2019 09:54:29 +0000 (17:54 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 20 Nov 2019 07:44:48 +0000 (09:44 +0200)
commit83a5a2d76f996ff47dc9fbf09d80bbff6bf85e71
treed98f398ecc4dfe994d3752020c63145bfb717877
parentdf0af4c7bac47039c97682fbf2c1cbe6efb08950
rtw88: pci: use macros to access PCI DBI/MDIO registers

Add some register and bit macros to access DBI/MDIO register. This
should not change the logic.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/pci.c
drivers/net/wireless/realtek/rtw88/pci.h