• Home
  • Raw
  • Download

Lines Matching refs:rfpath

61 				      enum radio_path rfpath, u32 offset)  in _rtl92s_phy_rf_serial_read()  argument
66 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_read()
77 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read()
97 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read()
100 else if (rfpath == RF90_PATH_B) in _rtl92s_phy_rf_serial_read()
115 rfpath, pphyreg->rf_rb, retvalue); in _rtl92s_phy_rf_serial_read()
122 enum radio_path rfpath, u32 offset, in _rtl92s_phy_rf_serial_write() argument
127 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_write()
138 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl92s_phy_rf_serial_write()
142 u32 rtl92s_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, in rtl92s_phy_query_rf_reg() argument
150 regaddr, rfpath, bitmask); in rtl92s_phy_query_rf_reg()
154 original_value = _rtl92s_phy_rf_serial_read(hw, rfpath, regaddr); in rtl92s_phy_query_rf_reg()
163 regaddr, rfpath, bitmask, original_value); in rtl92s_phy_query_rf_reg()
168 void rtl92s_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, in rtl92s_phy_set_rf_reg() argument
175 if (!((rtlphy->rf_pathmap >> rfpath) & 0x1)) in rtl92s_phy_set_rf_reg()
180 regaddr, bitmask, data, rfpath); in rtl92s_phy_set_rf_reg()
185 original_value = _rtl92s_phy_rf_serial_read(hw, rfpath, in rtl92s_phy_set_rf_reg()
191 _rtl92s_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl92s_phy_set_rf_reg()
197 regaddr, bitmask, data, rfpath); in rtl92s_phy_set_rf_reg()
325 u8 rfpath; in _rtl92s_phy_sw_chnl_step_by_step() local
393 for (rfpath = 0; rfpath < num_total_rfpath; rfpath++) { in _rtl92s_phy_sw_chnl_step_by_step()
394 rtlphy->rfreg_chnlval[rfpath] = in _rtl92s_phy_sw_chnl_step_by_step()
395 ((rtlphy->rfreg_chnlval[rfpath] & in _rtl92s_phy_sw_chnl_step_by_step()
397 rtl_set_rfreg(hw, (enum radio_path)rfpath, in _rtl92s_phy_sw_chnl_step_by_step()
400 rtlphy->rfreg_chnlval[rfpath]); in _rtl92s_phy_sw_chnl_step_by_step()
622 enum radio_path rfpath) in _rtl92s_phy_config_rfpa_bias_current() argument
630 tmpval = rtl92s_phy_query_rf_reg(hw, rfpath, RF_IPA, 0xf); in _rtl92s_phy_config_rfpa_bias_current()
631 rtl92s_phy_set_rf_reg(hw, rfpath, RF_IPA, 0xf, tmpval + 1); in _rtl92s_phy_config_rfpa_bias_current()
936 u8 rtl92s_phy_config_rf(struct ieee80211_hw *hw, enum radio_path rfpath) in rtl92s_phy_config_rf() argument
958 rtl_dbg(rtlpriv, COMP_INIT, DBG_LOUD, "Radio No %x\n", rfpath); in rtl92s_phy_config_rf()
961 switch (rfpath) { in rtl92s_phy_config_rf()
964 rtl_rfreg_delay(hw, rfpath, radio_a_table[i], in rtl92s_phy_config_rf()
970 _rtl92s_phy_config_rfpa_bias_current(hw, rfpath); in rtl92s_phy_config_rf()
974 rtl_rfreg_delay(hw, rfpath, radio_b_table[i], in rtl92s_phy_config_rf()