Searched refs:new_lvl (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ |
D | rtw8821c.c | 1123 static void rtw8821c_phy_cck_pd_set(struct rtw_dev *rtwdev, u8 new_lvl) in rtw8821c_phy_cck_pd_set() argument 1130 dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A], new_lvl); in rtw8821c_phy_cck_pd_set() 1132 if (dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A] == new_lvl) in rtw8821c_phy_cck_pd_set() 1139 rtw_is_assoc(rtwdev), new_lvl, cck_n_rx, in rtw8821c_phy_cck_pd_set() 1140 dm_info->cck_pd_default + new_lvl * 2, in rtw8821c_phy_cck_pd_set() 1141 pd[new_lvl], dm_info->cck_fa_avg); in rtw8821c_phy_cck_pd_set() 1145 dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A] = new_lvl; in rtw8821c_phy_cck_pd_set() 1146 rtw_write32_mask(rtwdev, REG_PWRTH, 0x3f0000, pd[new_lvl]); in rtw8821c_phy_cck_pd_set() 1148 dm_info->cck_pd_default + new_lvl * 2); in rtw8821c_phy_cck_pd_set()
|
D | rtw8723d.c | 1502 static void rtw8723d_phy_cck_pd_set(struct rtw_dev *rtwdev, u8 new_lvl) in rtw8723d_phy_cck_pd_set() argument 1509 dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A], new_lvl); in rtw8723d_phy_cck_pd_set() 1511 if (dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A] == new_lvl) in rtw8723d_phy_cck_pd_set() 1518 rtw_is_assoc(rtwdev), new_lvl, cck_n_rx, in rtw8723d_phy_cck_pd_set() 1519 dm_info->cck_pd_default + new_lvl * 2, in rtw8723d_phy_cck_pd_set() 1520 pd[new_lvl], dm_info->cck_fa_avg); in rtw8723d_phy_cck_pd_set() 1524 dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A] = new_lvl; in rtw8723d_phy_cck_pd_set() 1525 rtw_write32_mask(rtwdev, REG_PWRTH, 0x3f0000, pd[new_lvl]); in rtw8723d_phy_cck_pd_set() 1527 dm_info->cck_pd_default + new_lvl * 2); in rtw8723d_phy_cck_pd_set()
|
D | rtw8822c.c | 4413 static void rtw8822c_phy_cck_pd_set(struct rtw_dev *rtwdev, u8 new_lvl) in rtw8822c_phy_cck_pd_set() argument 4425 dm_info->cck_pd_lv[bw][nrx], new_lvl, bw, nrx, in rtw8822c_phy_cck_pd_set() 4428 if (dm_info->cck_pd_lv[bw][nrx] == new_lvl) in rtw8822c_phy_cck_pd_set() 4437 pd_lvl[new_lvl] - pd_lvl[cur_lvl], in rtw8822c_phy_cck_pd_set() 4438 cs_lvl[new_lvl] - cs_lvl[cur_lvl], in rtw8822c_phy_cck_pd_set() 4440 dm_info->cck_pd_lv[bw][nrx] = new_lvl; in rtw8822c_phy_cck_pd_set()
|