/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/ |
D | stats.c | 95 u8 rfpath; in rtl_process_ui_rssi() local 124 for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath; in rtl_process_ui_rssi() 125 rfpath++) { in rtl_process_ui_rssi() 126 if (rtlpriv->stats.rx_rssi_percentage[rfpath] == 0) { in rtl_process_ui_rssi() 127 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl_process_ui_rssi() 128 pstatus->rx_mimo_signalstrength[rfpath]; in rtl_process_ui_rssi() 131 if (pstatus->rx_mimo_signalstrength[rfpath] > in rtl_process_ui_rssi() 132 rtlpriv->stats.rx_rssi_percentage[rfpath]) { in rtl_process_ui_rssi() 133 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl_process_ui_rssi() 134 ((rtlpriv->stats.rx_rssi_percentage[rfpath] * in rtl_process_ui_rssi() [all …]
|
D | core.h | 79 void rtl_rfreg_delay(struct ieee80211_hw *hw, enum radio_path rfpath, u32 addr,
|
D | wifi.h | 2168 u32 (*get_rfreg) (struct ieee80211_hw *hw, enum radio_path rfpath, 2170 void (*set_rfreg) (struct ieee80211_hw *hw, enum radio_path rfpath, 2967 enum radio_path rfpath, u32 regaddr, in rtl_get_rfreg() argument 2972 return rtlpriv->cfg->ops->get_rfreg(hw, rfpath, regaddr, bitmask); in rtl_get_rfreg() 2976 enum radio_path rfpath, u32 regaddr, in rtl_set_rfreg() argument 2981 rtlpriv->cfg->ops->set_rfreg(hw, rfpath, regaddr, bitmask, data); in rtl_set_rfreg()
|
D | core.c | 55 void rtl_rfreg_delay(struct ieee80211_hw *hw, enum radio_path rfpath, u32 addr, in rtl_rfreg_delay() argument 71 rtl_set_rfreg(hw, rfpath, addr, mask, data); in rtl_rfreg_delay()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | rf.c | 82 u8 rfpath; in _rtl92ee_phy_rf6052_config_parafile() local 86 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl92ee_phy_rf6052_config_parafile() 87 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ee_phy_rf6052_config_parafile() 89 switch (rfpath) { in _rtl92ee_phy_rf6052_config_parafile() 115 switch (rfpath) { in _rtl92ee_phy_rf6052_config_parafile() 118 (enum radio_path)rfpath); in _rtl92ee_phy_rf6052_config_parafile() 122 (enum radio_path)rfpath); in _rtl92ee_phy_rf6052_config_parafile() 130 switch (rfpath) { in _rtl92ee_phy_rf6052_config_parafile() 145 "Radio[%d] Fail!!", rfpath); in _rtl92ee_phy_rf6052_config_parafile()
|
D | phy.c | 37 enum radio_path rfpath, u32 offset); 39 enum radio_path rfpath, u32 offset, 105 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92ee_phy_query_rf_reg() argument 113 regaddr, rfpath, bitmask); in rtl92ee_phy_query_rf_reg() 117 original_value = _rtl92ee_phy_rf_serial_read(hw , rfpath, regaddr); in rtl92ee_phy_query_rf_reg() 125 regaddr, rfpath, bitmask, original_value); in rtl92ee_phy_query_rf_reg() 131 enum radio_path rfpath, in rtl92ee_phy_set_rf_reg() argument 140 addr, bitmask, data, rfpath); in rtl92ee_phy_set_rf_reg() 145 original_value = _rtl92ee_phy_rf_serial_read(hw, rfpath, addr); in rtl92ee_phy_set_rf_reg() 150 _rtl92ee_phy_rf_serial_write(hw, rfpath, addr, data); in rtl92ee_phy_set_rf_reg() [all …]
|
D | phy.h | 124 enum radio_path rfpath, u32 regaddr, 127 enum radio_path rfpath, u32 regaddr, 148 enum radio_path rfpath);
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | rf.c | 42 u8 rfpath; in rtl92d_phy_rf6052_set_bandwidth() local 46 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in rtl92d_phy_rf6052_set_bandwidth() 47 rtlphy->rfreg_chnlval[rfpath] = ((rtlphy->rfreg_chnlval in rtl92d_phy_rf6052_set_bandwidth() 48 [rfpath] & 0xfffff3ff) | 0x0400); in rtl92d_phy_rf6052_set_bandwidth() 49 rtl_set_rfreg(hw, rfpath, RF_CHNLBW, BIT(10) | in rtl92d_phy_rf6052_set_bandwidth() 54 rtlphy->rfreg_chnlval[rfpath]); in rtl92d_phy_rf6052_set_bandwidth() 59 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in rtl92d_phy_rf6052_set_bandwidth() 60 rtlphy->rfreg_chnlval[rfpath] = in rtl92d_phy_rf6052_set_bandwidth() 61 ((rtlphy->rfreg_chnlval[rfpath] & 0xfffff3ff)); in rtl92d_phy_rf6052_set_bandwidth() 62 rtl_set_rfreg(hw, rfpath, RF_CHNLBW, BIT(10) | BIT(11), in rtl92d_phy_rf6052_set_bandwidth() [all …]
|
D | phy.c | 268 enum radio_path rfpath, u32 offset) in _rtl92d_phy_rf_serial_read() argument 273 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_rf_serial_read() 281 if (rfpath == RF90_PATH_A) in _rtl92d_phy_rf_serial_read() 296 if (rfpath == RF90_PATH_A) in _rtl92d_phy_rf_serial_read() 299 else if (rfpath == RF90_PATH_B) in _rtl92d_phy_rf_serial_read() 309 rfpath, pphyreg->rf_rb, retvalue); in _rtl92d_phy_rf_serial_read() 314 enum radio_path rfpath, in _rtl92d_phy_rf_serial_write() argument 321 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_rf_serial_write() 328 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl92d_phy_rf_serial_write() 332 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92d_phy_query_rf_reg() argument [all …]
|
D | hw.c | 1433 u32 rfpath, eeaddr, group, offset1, offset2; in _rtl92de_readpowervalue_fromprom() local 1439 for (rfpath = 0; rfpath < RF6052_MAX_PATH; rfpath++) { in _rtl92de_readpowervalue_fromprom() 1441 pwrinfo->cck_index[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1443 pwrinfo->ht40_1sindex[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1446 pwrinfo->ht40_1sindex[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1449 pwrinfo->ht40_2sindexdiff[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1451 pwrinfo->ht20indexdiff[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1453 pwrinfo->ofdmindexdiff[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1455 pwrinfo->ht40maxoffset[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1457 pwrinfo->ht20maxoffset[rfpath][group] = in _rtl92de_readpowervalue_fromprom() [all …]
|
D | trx.c | 267 u8 rfpath; in rtl92d_loop_over_paths() local 269 for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath; in rtl92d_loop_over_paths() 270 rfpath++) { in rtl92d_loop_over_paths() 271 if (rtlpriv->stats.rx_rssi_percentage[rfpath] == 0) { in rtl92d_loop_over_paths() 272 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl92d_loop_over_paths() 273 pstats->rx_mimo_signalstrength[rfpath]; in rtl92d_loop_over_paths() 276 if (pstats->rx_mimo_signalstrength[rfpath] > in rtl92d_loop_over_paths() 277 rtlpriv->stats.rx_rssi_percentage[rfpath]) { in rtl92d_loop_over_paths() 278 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl92d_loop_over_paths() 279 ((rtlpriv->stats.rx_rssi_percentage[rfpath] * in rtl92d_loop_over_paths() [all …]
|
D | phy.h | 133 enum radio_path rfpath, u32 regaddr, 136 enum radio_path rfpath, u32 regaddr, 142 enum radio_path rfpath); 150 enum radio_path rfpath);
|
/linux-4.4.14/drivers/staging/rtl8188eu/hal/ |
D | rf_cfg.c | 167 static void rtl_rfreg_delay(struct adapter *adapt, enum rf_radio_path rfpath, u32 addr, u32 mask, u… in rtl_rfreg_delay() argument 182 phy_set_rf_reg(adapt, rfpath, addr, mask, data); in rtl_rfreg_delay() 238 u8 rfpath; in rf6052_conf_para() local 242 for (rfpath = 0; rfpath < hal_data->NumTotalRFPath; rfpath++) { in rf6052_conf_para() 243 pphyreg = &hal_data->PHYRegDef[rfpath]; in rf6052_conf_para() 245 switch (rfpath) { in rf6052_conf_para() 272 switch (rfpath) { in rf6052_conf_para() 285 switch (rfpath) { in rf6052_conf_para()
|
D | hal_intf.c | 237 u32 rtw_hal_read_rfreg(struct adapter *adapt, enum rf_radio_path rfpath, in rtw_hal_read_rfreg() argument 243 data = adapt->HalFunc.read_rfreg(adapt, rfpath, regaddr, in rtw_hal_read_rfreg()
|
D | phy.c | 70 enum rf_radio_path rfpath, u32 offset) in rf_serial_read() argument 74 struct bb_reg_def *phyreg = &hal_data->PHYRegDef[rfpath]; in rf_serial_read() 81 if (rfpath == RF_PATH_A) in rf_serial_read() 99 if (rfpath == RF_PATH_A) in rf_serial_read() 101 else if (rfpath == RF_PATH_B) in rf_serial_read() 114 enum rf_radio_path rfpath, u32 offset, in rf_serial_write() argument 119 struct bb_reg_def *phyreg = &hal_data->PHYRegDef[rfpath]; in rf_serial_write()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | phy.h | 85 u32 rtl92c_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, 87 void rtl92ce_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, 93 enum radio_path rfpath); 110 enum radio_path rfpath); 112 u32 rfpath); 119 u32 _rtl92c_phy_rf_serial_read(struct ieee80211_hw *hw, enum radio_path rfpath, 122 enum radio_path rfpath, u32 offset); 125 enum radio_path rfpath, u32 offset, u32 data); 127 enum radio_path rfpath, u32 offset,
|
D | phy.c | 48 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92c_phy_query_rf_reg() argument 56 regaddr, rfpath, bitmask); in rtl92c_phy_query_rf_reg() 62 rfpath, regaddr); in rtl92c_phy_query_rf_reg() 65 rfpath, regaddr); in rtl92c_phy_query_rf_reg() 75 regaddr, rfpath, bitmask, original_value); in rtl92c_phy_query_rf_reg() 121 enum radio_path rfpath, in rtl92ce_phy_set_rf_reg() argument 130 regaddr, bitmask, data, rfpath); in rtl92ce_phy_set_rf_reg() 137 rfpath, in rtl92ce_phy_set_rf_reg() 145 _rtl92c_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl92ce_phy_set_rf_reg() 149 rfpath, in rtl92ce_phy_set_rf_reg() [all …]
|
D | rf.c | 437 u8 rfpath; in _rtl92ce_phy_rf6052_config_parafile() local 441 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl92ce_phy_rf6052_config_parafile() 443 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92ce_phy_rf6052_config_parafile() 445 switch (rfpath) { in _rtl92ce_phy_rf6052_config_parafile() 471 switch (rfpath) { in _rtl92ce_phy_rf6052_config_parafile() 474 (enum radio_path)rfpath); in _rtl92ce_phy_rf6052_config_parafile() 478 (enum radio_path)rfpath); in _rtl92ce_phy_rf6052_config_parafile() 486 switch (rfpath) { in _rtl92ce_phy_rf6052_config_parafile() 501 "Radio[%d] Fail!!\n", rfpath); in _rtl92ce_phy_rf6052_config_parafile()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 1558 static void set_24g_base(struct txpower_info_2g *pwrinfo24g, u32 rfpath) in set_24g_base() argument 1563 pwrinfo24g->index_cck_base[rfpath][group] = 0x2D; in set_24g_base() 1564 pwrinfo24g->index_bw40_base[rfpath][group] = 0x2D; in set_24g_base() 1568 pwrinfo24g->bw20_diff[rfpath][0] = 0x02; in set_24g_base() 1569 pwrinfo24g->ofdm_diff[rfpath][0] = 0x04; in set_24g_base() 1571 pwrinfo24g->bw20_diff[rfpath][txcnt] = 0xFE; in set_24g_base() 1572 pwrinfo24g->bw40_diff[rfpath][txcnt] = 0xFE; in set_24g_base() 1573 pwrinfo24g->cck_diff[rfpath][txcnt] = 0xFE; in set_24g_base() 1574 pwrinfo24g->ofdm_diff[rfpath][txcnt] = 0xFE; in set_24g_base() 1585 u32 rfpath, eeaddr = EEPROM_TX_PWR_INX, group, txcnt = 0; in read_power_value_fromprom() local [all …]
|
D | rf.c | 438 u8 rfpath; in _rtl88e_phy_rf6052_config_parafile() local 442 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl88e_phy_rf6052_config_parafile() 443 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl88e_phy_rf6052_config_parafile() 445 switch (rfpath) { in _rtl88e_phy_rf6052_config_parafile() 471 switch (rfpath) { in _rtl88e_phy_rf6052_config_parafile() 474 (enum radio_path)rfpath); in _rtl88e_phy_rf6052_config_parafile() 478 (enum radio_path)rfpath); in _rtl88e_phy_rf6052_config_parafile() 486 switch (rfpath) { in _rtl88e_phy_rf6052_config_parafile() 501 "Radio[%d] Fail!!", rfpath); in _rtl88e_phy_rf6052_config_parafile()
|
D | phy.c | 37 enum radio_path rfpath, u32 offset); 39 enum radio_path rfpath, u32 offset, 106 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl88e_phy_query_rf_reg() argument 114 regaddr, rfpath, bitmask); in rtl88e_phy_query_rf_reg() 119 original_value = _rtl88e_phy_rf_serial_read(hw, rfpath, regaddr); in rtl88e_phy_query_rf_reg() 127 regaddr, rfpath, bitmask, original_value); in rtl88e_phy_query_rf_reg() 132 enum radio_path rfpath, in rtl88e_phy_set_rf_reg() argument 141 regaddr, bitmask, data, rfpath); in rtl88e_phy_set_rf_reg() 147 rfpath, in rtl88e_phy_set_rf_reg() 155 _rtl88e_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl88e_phy_set_rf_reg() [all …]
|
D | phy.h | 205 enum radio_path rfpath, u32 regaddr, 208 enum radio_path rfpath, u32 regaddr, 228 enum radio_path rfpath);
|
D | dm.c | 169 u8 ofdm_index, u8 rfpath, in rtl88e_set_iqk_matrix() argument 185 switch (rfpath) { in rtl88e_set_iqk_matrix() 211 switch (rfpath) { in rtl88e_set_iqk_matrix() 272 u8 rfpath, u8 channel_mapped_index) in dm_tx_pwr_track_set_pwr() argument 323 if (rfpath == RF90_PATH_A) { in dm_tx_pwr_track_set_pwr() 324 rtl88e_set_iqk_matrix(hw, rtldm->swing_idx_ofdm[rfpath], in dm_tx_pwr_track_set_pwr() 325 rfpath, rtlphy->iqk_matrix in dm_tx_pwr_track_set_pwr() 331 } else if (rfpath == RF90_PATH_B) { in dm_tx_pwr_track_set_pwr() 332 rtl88e_set_iqk_matrix(hw, rtldm->swing_idx_ofdm[rfpath], in dm_tx_pwr_track_set_pwr() 333 rfpath, rtlphy->iqk_matrix in dm_tx_pwr_track_set_pwr()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | phy.c | 45 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92cu_phy_query_rf_reg() argument 53 regaddr, rfpath, bitmask); in rtl92cu_phy_query_rf_reg() 56 rfpath, regaddr); in rtl92cu_phy_query_rf_reg() 59 rfpath, regaddr); in rtl92cu_phy_query_rf_reg() 65 regaddr, rfpath, bitmask, original_value); in rtl92cu_phy_query_rf_reg() 70 enum radio_path rfpath, in rtl92cu_phy_set_rf_reg() argument 79 regaddr, bitmask, data, rfpath); in rtl92cu_phy_set_rf_reg() 83 rfpath, in rtl92cu_phy_set_rf_reg() 90 _rtl92c_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl92cu_phy_set_rf_reg() 94 rfpath, in rtl92cu_phy_set_rf_reg() [all …]
|
D | phy.h | 33 bool rtl8192_phy_check_is_legal_rfpath(struct ieee80211_hw *hw, u32 rfpath); 38 enum radio_path rfpath, u32 regaddr, u32 bitmask); 40 enum radio_path rfpath,
|
D | rf.c | 416 u8 rfpath; in _rtl92c_phy_rf6052_config_parafile() local 420 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl92c_phy_rf6052_config_parafile() 421 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf6052_config_parafile() 422 switch (rfpath) { in _rtl92c_phy_rf6052_config_parafile() 443 switch (rfpath) { in _rtl92c_phy_rf6052_config_parafile() 447 (enum radio_path) rfpath); in _rtl92c_phy_rf6052_config_parafile() 454 switch (rfpath) { in _rtl92c_phy_rf6052_config_parafile() 468 "Radio[%d] Fail!!", rfpath); in _rtl92c_phy_rf6052_config_parafile()
|
D | sw.h | 45 enum radio_path rfpath, 50 enum radio_path rfpath, u32 regaddr, u32 bitmask);
|
D | rf.h | 43 enum radio_path rfpath);
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | phy_common.h | 193 enum radio_path rfpath, u32 regaddr, 199 enum radio_path rfpath); 217 enum radio_path rfpath); 219 u32 rfpath); 239 enum radio_path rfpath, u32 offset); 241 enum radio_path rfpath, u32 offset, 244 enum radio_path rfpath, u32 offset); 246 enum radio_path rfpath, u32 offset,
|
D | phy_common.c | 82 enum radio_path rfpath, u32 offset) in _rtl92c_phy_fw_rf_serial_read() argument 90 enum radio_path rfpath, u32 offset, in _rtl92c_phy_fw_rf_serial_write() argument 98 enum radio_path rfpath, u32 offset) in _rtl92c_phy_rf_serial_read() argument 102 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf_serial_read() 115 if (rfpath == RF90_PATH_A) in _rtl92c_phy_rf_serial_read() 129 if (rfpath == RF90_PATH_A) in _rtl92c_phy_rf_serial_read() 132 else if (rfpath == RF90_PATH_B) in _rtl92c_phy_rf_serial_read() 142 rfpath, pphyreg->rf_rb, in _rtl92c_phy_rf_serial_read() 149 enum radio_path rfpath, u32 offset, in _rtl92c_phy_rf_serial_write() argument 156 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf_serial_write() [all …]
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | phy.c | 99 enum radio_path rfpath, u32 offset) in _rtl92s_phy_rf_serial_read() argument 104 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_read() 115 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read() 135 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read() 138 else if (rfpath == RF90_PATH_B) in _rtl92s_phy_rf_serial_read() 153 rfpath, pphyreg->rf_rb, retvalue); in _rtl92s_phy_rf_serial_read() 160 enum radio_path rfpath, u32 offset, in _rtl92s_phy_rf_serial_write() argument 165 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_write() 176 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl92s_phy_rf_serial_write() 180 u32 rtl92s_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, in rtl92s_phy_query_rf_reg() argument [all …]
|
D | rf.c | 430 u8 rfpath; in rtl92s_phy_rf6052_config() local 435 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in rtl92s_phy_rf6052_config() 437 pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl92s_phy_rf6052_config() 440 switch (rfpath) { in rtl92s_phy_rf6052_config() 469 switch (rfpath) { in rtl92s_phy_rf6052_config() 472 (enum radio_path)rfpath); in rtl92s_phy_rf6052_config() 476 (enum radio_path)rfpath); in rtl92s_phy_rf6052_config() 485 switch (rfpath) { in rtl92s_phy_rf6052_config() 500 pr_err("Radio[%d] Fail!!\n", rfpath); in rtl92s_phy_rf6052_config()
|
D | phy.h | 81 u32 rtl92s_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, 83 void rtl92s_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, 99 u8 rtl92s_phy_config_rf(struct ieee80211_hw *hw, enum radio_path rfpath) ;
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | rf.c | 442 u8 rfpath; in _rtl8723be_phy_rf6052_config_parafile() local 446 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl8723be_phy_rf6052_config_parafile() 447 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl8723be_phy_rf6052_config_parafile() 449 switch (rfpath) { in _rtl8723be_phy_rf6052_config_parafile() 475 switch (rfpath) { in _rtl8723be_phy_rf6052_config_parafile() 478 (enum radio_path)rfpath); in _rtl8723be_phy_rf6052_config_parafile() 482 (enum radio_path)rfpath); in _rtl8723be_phy_rf6052_config_parafile() 490 switch (rfpath) { in _rtl8723be_phy_rf6052_config_parafile() 505 "Radio[%d] Fail!!", rfpath); in _rtl8723be_phy_rf6052_config_parafile()
|
D | phy.h | 108 enum radio_path rfpath, 111 enum radio_path rfpath, 131 enum radio_path rfpath);
|
D | phy.c | 52 u32 rtl8723be_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, in rtl8723be_phy_query_rf_reg() argument 61 regaddr, rfpath, bitmask); in rtl8723be_phy_query_rf_reg() 65 original_value = rtl8723_phy_rf_serial_read(hw, rfpath, regaddr); in rtl8723be_phy_query_rf_reg() 73 regaddr, rfpath, bitmask, original_value); in rtl8723be_phy_query_rf_reg() 185 u32 data, enum radio_path rfpath, in _rtl8723be_config_rf_reg() argument 194 rtl_set_rfreg(hw, rfpath, regaddr, RFREG_OFFSET_MASK, data); in _rtl8723be_config_rf_reg() 410 u8 base = 0, rfpath = RF90_PATH_A; in _rtl8723be_phy_convert_txpower_dbm_to_relative_value() local 413 BAND_ON_2_4G, rfpath, RF_1TX, CCK); in _rtl8723be_phy_convert_txpower_dbm_to_relative_value() 415 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][2], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value() 418 &rtlphy->tx_power_by_rate_offset[BAND_ON_2_4G][rfpath][RF_1TX][3], in _rtl8723be_phy_convert_txpower_dbm_to_relative_value() [all …]
|
D | dm.c | 622 u8 rfpath, long iqk_result_x, in rtl8723be_set_iqk_matrix() argument 641 switch (rfpath) { in rtl8723be_set_iqk_matrix() 657 switch (rfpath) { in rtl8723be_set_iqk_matrix() 672 u8 rfpath, u8 idx) in rtl8723be_dm_tx_power_track_set_power() argument 721 if (rfpath == RF90_PATH_A) { in rtl8723be_dm_tx_power_track_set_power() 728 rtldm->swing_idx_ofdm[rfpath], rfpath, in rtl8723be_dm_tx_power_track_set_power() 731 } else if (rfpath == RF90_PATH_B) { in rtl8723be_dm_tx_power_track_set_power() 738 rtldm->swing_idx_ofdm[rfpath], rfpath, in rtl8723be_dm_tx_power_track_set_power()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | rf.c | 442 u8 rfpath; in _rtl8723e_phy_rf6052_config_parafile() local 446 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl8723e_phy_rf6052_config_parafile() 448 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl8723e_phy_rf6052_config_parafile() 450 switch (rfpath) { in _rtl8723e_phy_rf6052_config_parafile() 476 switch (rfpath) { in _rtl8723e_phy_rf6052_config_parafile() 479 (enum radio_path)rfpath); in _rtl8723e_phy_rf6052_config_parafile() 484 (enum radio_path)rfpath); in _rtl8723e_phy_rf6052_config_parafile() 492 switch (rfpath) { in _rtl8723e_phy_rf6052_config_parafile() 507 "Radio[%d] Fail!!", rfpath); in _rtl8723e_phy_rf6052_config_parafile()
|
D | phy.h | 170 enum radio_path rfpath, u32 regaddr, 173 enum radio_path rfpath, u32 regaddr, 179 enum radio_path rfpath); 197 enum radio_path rfpath);
|
D | phy.c | 38 enum radio_path rfpath, u32 offset, 56 enum radio_path rfpath, in rtl8723e_phy_query_rf_reg() argument 66 regaddr, rfpath, bitmask); in rtl8723e_phy_query_rf_reg() 72 rfpath, regaddr); in rtl8723e_phy_query_rf_reg() 82 regaddr, rfpath, bitmask, original_value); in rtl8723e_phy_query_rf_reg() 88 enum radio_path rfpath, in rtl8723e_phy_set_rf_reg() argument 98 regaddr, bitmask, data, rfpath); in rtl8723e_phy_set_rf_reg() 105 rfpath, in rtl8723e_phy_set_rf_reg() 113 rtl8723_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl8723e_phy_set_rf_reg() 121 _rtl8723e_phy_fw_rf_serial_write(hw, rfpath, regaddr, data); in rtl8723e_phy_set_rf_reg() [all …]
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | rf.c | 423 u8 rfpath; in _rtl8821ae_phy_rf6052_config_parafile() local 426 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl8821ae_phy_rf6052_config_parafile() 427 switch (rfpath) { in _rtl8821ae_phy_rf6052_config_parafile() 432 (enum radio_path)rfpath); in _rtl8821ae_phy_rf6052_config_parafile() 436 (enum radio_path)rfpath); in _rtl8821ae_phy_rf6052_config_parafile() 443 (enum radio_path)rfpath); in _rtl8821ae_phy_rf6052_config_parafile() 447 (enum radio_path)rfpath); in _rtl8821ae_phy_rf6052_config_parafile() 457 "Radio[%d] Fail!!", rfpath); in _rtl8821ae_phy_rf6052_config_parafile()
|
D | phy.h | 213 enum radio_path rfpath, u32 regaddr, 216 enum radio_path rfpath, u32 regaddr, 243 enum radio_path rfpath); 245 enum radio_path rfpath);
|
D | phy.c | 48 enum radio_path rfpath, u32 offset); 50 enum radio_path rfpath, u32 offset, 159 enum radio_path rfpath, u32 regaddr, in rtl8821ae_phy_query_rf_reg() argument 168 regaddr, rfpath, bitmask); in rtl8821ae_phy_query_rf_reg() 172 original_value = _rtl8821ae_phy_rf_serial_read(hw, rfpath, regaddr); in rtl8821ae_phy_query_rf_reg() 180 regaddr, rfpath, bitmask, original_value); in rtl8821ae_phy_query_rf_reg() 186 enum radio_path rfpath, in rtl8821ae_phy_set_rf_reg() argument 195 regaddr, bitmask, data, rfpath); in rtl8821ae_phy_set_rf_reg() 201 _rtl8821ae_phy_rf_serial_read(hw, rfpath, regaddr); in rtl8821ae_phy_set_rf_reg() 206 _rtl8821ae_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl8821ae_phy_set_rf_reg() [all …]
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
D | phy_common.c | 89 enum radio_path rfpath, u32 offset) in rtl8723_phy_rf_serial_read() argument 93 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl8723_phy_rf_serial_read() 106 if (rfpath == RF90_PATH_A) in rtl8723_phy_rf_serial_read() 120 if (rfpath == RF90_PATH_A) in rtl8723_phy_rf_serial_read() 123 else if (rfpath == RF90_PATH_B) in rtl8723_phy_rf_serial_read() 134 rfpath, pphyreg->rf_rb, retvalue); in rtl8723_phy_rf_serial_read() 140 enum radio_path rfpath, in rtl8723_phy_rf_serial_write() argument 147 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in rtl8723_phy_rf_serial_write() 159 rfpath, pphyreg->rf3wire_offset, in rtl8723_phy_rf_serial_write()
|
D | phy_common.h | 54 enum radio_path rfpath, u32 offset); 56 enum radio_path rfpath,
|
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_dev.c | 1693 u8 rfpath; in _rtl92e_process_phyinfo() local 1739 for (rfpath = RF90_PATH_A; rfpath < RF90_PATH_C; rfpath++) { in _rtl92e_process_phyinfo() 1740 if (!rtl92e_is_legal_rf_path(priv->rtllib->dev, rfpath)) in _rtl92e_process_phyinfo() 1744 prev_st->RxMIMOSignalStrength[rfpath]); in _rtl92e_process_phyinfo() 1745 if (priv->stats.rx_rssi_percentage[rfpath] == 0) { in _rtl92e_process_phyinfo() 1746 priv->stats.rx_rssi_percentage[rfpath] = in _rtl92e_process_phyinfo() 1747 prev_st->RxMIMOSignalStrength[rfpath]; in _rtl92e_process_phyinfo() 1749 if (prev_st->RxMIMOSignalStrength[rfpath] > in _rtl92e_process_phyinfo() 1750 priv->stats.rx_rssi_percentage[rfpath]) { in _rtl92e_process_phyinfo() 1751 priv->stats.rx_rssi_percentage[rfpath] = in _rtl92e_process_phyinfo() [all …]
|
D | rtl_dm.c | 1878 u8 rfpath = 0, i; in rtl92e_dm_rf_pathcheck_wq() local 1880 rfpath = rtl92e_readb(dev, 0xc04); in rtl92e_dm_rf_pathcheck_wq() 1883 if (rfpath & (0x01<<i)) in rtl92e_dm_rf_pathcheck_wq()
|
/linux-4.4.14/drivers/staging/rtl8192u/ |
D | r8192U_core.c | 3973 u8 rfpath; in rtl8192_process_phyinfo() local 4042 for (rfpath = RF90_PATH_A; rfpath < priv->NumTotalRFPath; rfpath++) { in rtl8192_process_phyinfo() 4044 priv->ieee80211->dev, rfpath)) in rtl8192_process_phyinfo() 4047 if (priv->stats.rx_rssi_percentage[rfpath] == 0) in rtl8192_process_phyinfo() 4048 priv->stats.rx_rssi_percentage[rfpath] = in rtl8192_process_phyinfo() 4049 pprevious_stats->RxMIMOSignalStrength[rfpath]; in rtl8192_process_phyinfo() 4050 if (pprevious_stats->RxMIMOSignalStrength[rfpath] > priv->stats.rx_rssi_percentage[rfpath]) { in rtl8192_process_phyinfo() 4051 priv->stats.rx_rssi_percentage[rfpath] = in rtl8192_process_phyinfo() 4052 ((priv->stats.rx_rssi_percentage[rfpath] * (Rx_Smooth_Factor - 1)) + in rtl8192_process_phyinfo() 4053 (pprevious_stats->RxMIMOSignalStrength[rfpath])) / (Rx_Smooth_Factor); in rtl8192_process_phyinfo() [all …]
|
D | r8192U_dm.c | 2419 u8 rfpath = 0, i; in dm_rf_pathcheck_workitemcallback() local 2423 read_nic_byte(dev, 0xc04, &rfpath); in dm_rf_pathcheck_workitemcallback() 2427 if (rfpath & (0x01<<i)) in dm_rf_pathcheck_workitemcallback()
|