Home
last modified time | relevance | path

Searched refs:new_lvl (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw88xxa.c1949 void rtw88xxa_phy_cck_pd_set(struct rtw_dev *rtwdev, u8 new_lvl) in rtw88xxa_phy_cck_pd_set() argument
1959 new_lvl = CCK_PD_LV3; in rtw88xxa_phy_cck_pd_set()
1961 new_lvl = CCK_PD_LV2; in rtw88xxa_phy_cck_pd_set()
1964 new_lvl = CCK_PD_LV2; in rtw88xxa_phy_cck_pd_set()
1966 new_lvl = CCK_PD_LV1; in rtw88xxa_phy_cck_pd_set()
1970 new_lvl = CCK_PD_LV1; in rtw88xxa_phy_cck_pd_set()
1975 dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A], new_lvl); in rtw88xxa_phy_cck_pd_set()
1977 if (dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A] == new_lvl) in rtw88xxa_phy_cck_pd_set()
1981 dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A] = new_lvl; in rtw88xxa_phy_cck_pd_set()
1983 rtw_write8(rtwdev, REG_CCK_PD_TH, pd[new_lvl]); in rtw88xxa_phy_cck_pd_set()
H A Drtw8814a.c1985 static void rtw8814a_phy_cck_pd_set(struct rtw_dev *rtwdev, u8 new_lvl) in rtw8814a_phy_cck_pd_set() argument
1995 new_lvl = CCK_PD_LV3; in rtw8814a_phy_cck_pd_set()
1997 new_lvl = CCK_PD_LV2; in rtw8814a_phy_cck_pd_set()
2000 new_lvl = CCK_PD_LV2; in rtw8814a_phy_cck_pd_set()
2002 new_lvl = CCK_PD_LV1; in rtw8814a_phy_cck_pd_set()
2006 new_lvl = CCK_PD_LV1; in rtw8814a_phy_cck_pd_set()
2011 dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A], new_lvl); in rtw8814a_phy_cck_pd_set()
2013 if (dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A] == new_lvl) in rtw8814a_phy_cck_pd_set()
2017 dm_info->cck_pd_lv[RTW_CHANNEL_WIDTH_20][RF_PATH_A] = new_lvl; in rtw8814a_phy_cck_pd_set()
2019 rtw_write8(rtwdev, REG_CCK_PD_TH, pd[new_lvl]); in rtw8814a_phy_cck_pd_set()