mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
rtw89: refine naming of rfk helpers with prefix
Since these macro in rfk helpers are common now, a common naming should be better. So, apply RTW89_ as prefix to them, and modify the use correspondly. No logic is changed at all. Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220211075953.40421-3-pkshih@realtek.com
This commit is contained in:
parent
db7fa61ae4
commit
0701a42499
@ -342,36 +342,36 @@ struct rtw89_rfk_tbl {
|
||||
u32 size;
|
||||
};
|
||||
|
||||
#define DECLARE_RFK_TBL(_name) \
|
||||
#define RTW89_DECLARE_RFK_TBL(_name) \
|
||||
const struct rtw89_rfk_tbl _name ## _tbl = { \
|
||||
.defs = _name, \
|
||||
.size = ARRAY_SIZE(_name), \
|
||||
}
|
||||
|
||||
#define DECL_RFK_WRF(_path, _addr, _mask, _data) \
|
||||
#define RTW89_DECL_RFK_WRF(_path, _addr, _mask, _data) \
|
||||
{.flag = RTW89_RFK_F_WRF, \
|
||||
.path = _path, \
|
||||
.addr = _addr, \
|
||||
.mask = _mask, \
|
||||
.data = _data,}
|
||||
|
||||
#define DECL_RFK_WM(_addr, _mask, _data) \
|
||||
#define RTW89_DECL_RFK_WM(_addr, _mask, _data) \
|
||||
{.flag = RTW89_RFK_F_WM, \
|
||||
.addr = _addr, \
|
||||
.mask = _mask, \
|
||||
.data = _data,}
|
||||
|
||||
#define DECL_RFK_WS(_addr, _mask) \
|
||||
#define RTW89_DECL_RFK_WS(_addr, _mask) \
|
||||
{.flag = RTW89_RFK_F_WS, \
|
||||
.addr = _addr, \
|
||||
.mask = _mask,}
|
||||
|
||||
#define DECL_RFK_WC(_addr, _mask) \
|
||||
#define RTW89_DECL_RFK_WC(_addr, _mask) \
|
||||
{.flag = RTW89_RFK_F_WC, \
|
||||
.addr = _addr, \
|
||||
.mask = _mask,}
|
||||
|
||||
#define DECL_RFK_DELAY(_data) \
|
||||
#define RTW89_DECL_RFK_DELAY(_data) \
|
||||
{.flag = RTW89_RFK_F_DELAY, \
|
||||
.data = _data,}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user