Lines Matching refs:rtlphy
16 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_rf6052_set_bandwidth() local
20 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ce_phy_rf6052_set_bandwidth()
23 rtlphy->rfreg_chnlval[0]); in rtl92ce_phy_rf6052_set_bandwidth()
26 rtlphy->rfreg_chnlval[0] = ((rtlphy->rfreg_chnlval[0] & in rtl92ce_phy_rf6052_set_bandwidth()
29 rtlphy->rfreg_chnlval[0]); in rtl92ce_phy_rf6052_set_bandwidth()
41 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_rf6052_set_cck_txpower() local
73 tmpval = (rtlphy->mcs_offset[0][6]) + in rtl92ce_phy_rf6052_set_cck_txpower()
74 (rtlphy->mcs_offset[0][7] << 8); in rtl92ce_phy_rf6052_set_cck_txpower()
77 tmpval = (rtlphy->mcs_offset[0][14]) + in rtl92ce_phy_rf6052_set_cck_txpower()
78 (rtlphy->mcs_offset[0][15] << 24); in rtl92ce_phy_rf6052_set_cck_txpower()
129 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92c_phy_get_power_base() local
149 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20) { in rtl92c_phy_get_power_base()
172 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92c_get_txpower_writeval_by_regulatory() local
182 writeval = rtlphy->mcs_offset[chnlgroup][index + in _rtl92c_get_txpower_writeval_by_regulatory()
191 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20_40) { in _rtl92c_get_txpower_writeval_by_regulatory()
199 if (rtlphy->pwrgroup_cnt == 1) in _rtl92c_get_txpower_writeval_by_regulatory()
201 if (rtlphy->pwrgroup_cnt >= 3) { in _rtl92c_get_txpower_writeval_by_regulatory()
208 if (rtlphy->pwrgroup_cnt == 4) in _rtl92c_get_txpower_writeval_by_regulatory()
212 writeval = rtlphy->mcs_offset[chnlgroup] in _rtl92c_get_txpower_writeval_by_regulatory()
233 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20_40) { in _rtl92c_get_txpower_writeval_by_regulatory()
247 pwr_diff_limit[i] = (u8) ((rtlphy->mcs_offset in _rtl92c_get_txpower_writeval_by_regulatory()
252 if (rtlphy->current_chan_bw == in _rtl92c_get_txpower_writeval_by_regulatory()
287 writeval = rtlphy->mcs_offset[chnlgroup] in _rtl92c_get_txpower_writeval_by_regulatory()
310 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92c_write_ofdm_power_reg() local
347 if (((get_rf_type(rtlphy) == RF_2T2R) && in _rtl92c_write_ofdm_power_reg()
350 ((get_rf_type(rtlphy) != RF_2T2R) && in _rtl92c_write_ofdm_power_reg()
394 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_phy_rf6052_config() local
396 if (rtlphy->rf_type == RF_1T1R) in rtl92ce_phy_rf6052_config()
397 rtlphy->num_total_rfpath = 1; in rtl92ce_phy_rf6052_config()
399 rtlphy->num_total_rfpath = 2; in rtl92ce_phy_rf6052_config()
408 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92ce_phy_rf6052_config_parafile() local
414 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl92ce_phy_rf6052_config_parafile()
416 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ce_phy_rf6052_config_parafile()