Searched refs:new_lvl (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/ |
D | rtw8821c.c | 1155 static void rtw8821c_phy_cck_pd_set(struct rtw_dev *rtwdev, u8 new_lvl) in rtw8821c_phy_cck_pd_set() argument 1162 dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A], new_lvl); in rtw8821c_phy_cck_pd_set() 1164 if (dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A] == new_lvl) in rtw8821c_phy_cck_pd_set() 1171 rtw_is_assoc(rtwdev), new_lvl, cck_n_rx, in rtw8821c_phy_cck_pd_set() 1172 dm_info->cck_pd_default + new_lvl * 2, in rtw8821c_phy_cck_pd_set() 1173 pd[new_lvl], dm_info->cck_fa_avg); in rtw8821c_phy_cck_pd_set() 1177 dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A] = new_lvl; in rtw8821c_phy_cck_pd_set() 1178 rtw_write32_mask(rtwdev, REG_PWRTH, 0x3f0000, pd[new_lvl]); in rtw8821c_phy_cck_pd_set() 1180 dm_info->cck_pd_default + new_lvl * 2); in rtw8821c_phy_cck_pd_set()
|
D | rtw8723d.c | 1520 static void rtw8723d_phy_cck_pd_set(struct rtw_dev *rtwdev, u8 new_lvl) in rtw8723d_phy_cck_pd_set() argument 1527 dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A], new_lvl); in rtw8723d_phy_cck_pd_set() 1529 if (dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A] == new_lvl) in rtw8723d_phy_cck_pd_set() 1536 rtw_is_assoc(rtwdev), new_lvl, cck_n_rx, in rtw8723d_phy_cck_pd_set() 1537 dm_info->cck_pd_default + new_lvl * 2, in rtw8723d_phy_cck_pd_set() 1538 pd[new_lvl], dm_info->cck_fa_avg); in rtw8723d_phy_cck_pd_set() 1542 dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A] = new_lvl; in rtw8723d_phy_cck_pd_set() 1543 rtw_write32_mask(rtwdev, REG_PWRTH, 0x3f0000, pd[new_lvl]); in rtw8723d_phy_cck_pd_set() 1545 dm_info->cck_pd_default + new_lvl * 2); in rtw8723d_phy_cck_pd_set()
|
D | rtw8822c.c | 4431 static void rtw8822c_phy_cck_pd_set(struct rtw_dev *rtwdev, u8 new_lvl) in rtw8822c_phy_cck_pd_set() argument 4443 dm_info->cck_pd_lv[bw][nrx], new_lvl, bw, nrx, in rtw8822c_phy_cck_pd_set() 4446 if (dm_info->cck_pd_lv[bw][nrx] == new_lvl) in rtw8822c_phy_cck_pd_set() 4455 pd_lvl[new_lvl] - pd_lvl[cur_lvl], in rtw8822c_phy_cck_pd_set() 4456 cs_lvl[new_lvl] - cs_lvl[cur_lvl], in rtw8822c_phy_cck_pd_set() 4458 dm_info->cck_pd_lv[bw][nrx] = new_lvl; in rtw8822c_phy_cck_pd_set()
|