/drivers/net/wireless/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 | 266 enum radio_path rfpath, u32 offset) in _rtl92d_phy_rf_serial_read() argument 271 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_rf_serial_read() 279 if (rfpath == RF90_PATH_A) in _rtl92d_phy_rf_serial_read() 294 if (rfpath == RF90_PATH_A) in _rtl92d_phy_rf_serial_read() 297 else if (rfpath == RF90_PATH_B) in _rtl92d_phy_rf_serial_read() 307 rfpath, pphyreg->rf_rb, retvalue); in _rtl92d_phy_rf_serial_read() 312 enum radio_path rfpath, in _rtl92d_phy_rf_serial_write() argument 319 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92d_phy_rf_serial_write() 326 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl92d_phy_rf_serial_write() 330 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92d_phy_query_rf_reg() argument [all …]
|
D | hw.c | 1449 u32 rfpath, eeaddr, group, offset1, offset2; in _rtl92de_readpowervalue_fromprom() local 1455 for (rfpath = 0; rfpath < RF6052_MAX_PATH; rfpath++) { in _rtl92de_readpowervalue_fromprom() 1457 pwrinfo->cck_index[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1459 pwrinfo->ht40_1sindex[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1462 pwrinfo->ht40_1sindex[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1465 pwrinfo->ht40_2sindexdiff[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1467 pwrinfo->ht20indexdiff[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1469 pwrinfo->ofdmindexdiff[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1471 pwrinfo->ht40maxoffset[rfpath][group] = in _rtl92de_readpowervalue_fromprom() 1473 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 | 135 enum radio_path rfpath, u32 regaddr, 138 enum radio_path rfpath, u32 regaddr, 144 enum radio_path rfpath); 154 enum radio_path rfpath);
|
/drivers/net/wireless/rtlwifi/ |
D | stats.c | 106 u8 rfpath; in rtl_process_ui_rssi() local 131 for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath; in rtl_process_ui_rssi() 132 rfpath++) { in rtl_process_ui_rssi() 133 if (rtlpriv->stats.rx_rssi_percentage[rfpath] == 0) { in rtl_process_ui_rssi() 134 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl_process_ui_rssi() 135 pstatus->rx_mimo_signalstrength[rfpath]; in rtl_process_ui_rssi() 138 if (pstatus->rx_mimo_signalstrength[rfpath] > in rtl_process_ui_rssi() 139 rtlpriv->stats.rx_rssi_percentage[rfpath]) { in rtl_process_ui_rssi() 140 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl_process_ui_rssi() 141 ((rtlpriv->stats.rx_rssi_percentage[rfpath] * in rtl_process_ui_rssi() [all …]
|
/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | phy.h | 196 enum radio_path rfpath, u32 regaddr, 199 enum radio_path rfpath, u32 regaddr, 205 enum radio_path rfpath); 226 enum radio_path rfpath); 228 u32 rfpath); 237 enum radio_path rfpath, u32 offset); 239 enum radio_path rfpath, u32 offset); 242 enum radio_path rfpath, u32 offset, 245 enum radio_path rfpath, u32 offset,
|
D | phy.c | 44 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92c_phy_query_rf_reg() argument 52 regaddr, rfpath, bitmask); in rtl92c_phy_query_rf_reg() 58 rfpath, regaddr); in rtl92c_phy_query_rf_reg() 61 rfpath, regaddr); in rtl92c_phy_query_rf_reg() 71 regaddr, rfpath, bitmask, original_value); in rtl92c_phy_query_rf_reg() 117 enum radio_path rfpath, in rtl92ce_phy_set_rf_reg() argument 126 regaddr, bitmask, data, rfpath); in rtl92ce_phy_set_rf_reg() 133 rfpath, in rtl92ce_phy_set_rf_reg() 141 _rtl92c_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl92ce_phy_set_rf_reg() 145 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()
|
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | phy.c | 41 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92cu_phy_query_rf_reg() argument 49 regaddr, rfpath, bitmask); in rtl92cu_phy_query_rf_reg() 52 rfpath, regaddr); in rtl92cu_phy_query_rf_reg() 55 rfpath, regaddr); in rtl92cu_phy_query_rf_reg() 61 regaddr, rfpath, bitmask, original_value); in rtl92cu_phy_query_rf_reg() 66 enum radio_path rfpath, in rtl92cu_phy_set_rf_reg() argument 75 regaddr, bitmask, data, rfpath); in rtl92cu_phy_set_rf_reg() 79 rfpath, in rtl92cu_phy_set_rf_reg() 86 _rtl92c_phy_rf_serial_write(hw, rfpath, regaddr, data); in rtl92cu_phy_set_rf_reg() 90 rfpath, in rtl92cu_phy_set_rf_reg() [all …]
|
D | rf.c | 423 u8 rfpath; in _rtl92c_phy_rf6052_config_parafile() local 427 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl92c_phy_rf6052_config_parafile() 428 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf6052_config_parafile() 429 switch (rfpath) { in _rtl92c_phy_rf6052_config_parafile() 450 switch (rfpath) { in _rtl92c_phy_rf6052_config_parafile() 453 (enum radio_path) rfpath); in _rtl92c_phy_rf6052_config_parafile() 457 (enum radio_path) rfpath); in _rtl92c_phy_rf6052_config_parafile() 464 switch (rfpath) { in _rtl92c_phy_rf6052_config_parafile() 478 "Radio[%d] Fail!!", rfpath); in _rtl92c_phy_rf6052_config_parafile()
|
D | mac.c | 921 u8 rfpath; in _rtl92c_process_ui_rssi() local 947 for (rfpath = RF90_PATH_A; rfpath < rtlphy->num_total_rfpath; in _rtl92c_process_ui_rssi() 948 rfpath++) { in _rtl92c_process_ui_rssi() 949 if (!rtl8192_phy_check_is_legal_rfpath(hw, rfpath)) in _rtl92c_process_ui_rssi() 951 if (rtlpriv->stats.rx_rssi_percentage[rfpath] == 0) { in _rtl92c_process_ui_rssi() 952 rtlpriv->stats.rx_rssi_percentage[rfpath] = in _rtl92c_process_ui_rssi() 953 pstats->rx_mimo_signalstrength[rfpath]; in _rtl92c_process_ui_rssi() 955 if (pstats->rx_mimo_signalstrength[rfpath] > in _rtl92c_process_ui_rssi() 956 rtlpriv->stats.rx_rssi_percentage[rfpath]) { in _rtl92c_process_ui_rssi() 957 rtlpriv->stats.rx_rssi_percentage[rfpath] = in _rtl92c_process_ui_rssi() [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 | sw.h | 45 enum radio_path rfpath, 50 enum radio_path rfpath, u32 regaddr, u32 bitmask);
|
/drivers/net/wireless/rtlwifi/rtl8192se/ |
D | phy.c | 98 enum radio_path rfpath, u32 offset) in _rtl92s_phy_rf_serial_read() argument 103 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_read() 114 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read() 134 if (rfpath == RF90_PATH_A) in _rtl92s_phy_rf_serial_read() 137 else if (rfpath == RF90_PATH_B) in _rtl92s_phy_rf_serial_read() 152 rfpath, pphyreg->rf_rb, retvalue); in _rtl92s_phy_rf_serial_read() 159 enum radio_path rfpath, u32 offset, in _rtl92s_phy_rf_serial_write() argument 164 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92s_phy_rf_serial_write() 175 rfpath, pphyreg->rf3wire_offset, data_and_addr); in _rtl92s_phy_rf_serial_write() 179 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) ;
|
/drivers/net/wireless/rtlwifi/rtl8192c/ |
D | phy_common.h | 195 enum radio_path rfpath, u32 regaddr, 201 enum radio_path rfpath); 221 enum radio_path rfpath); 223 u32 rfpath); 243 enum radio_path rfpath, u32 offset); 245 enum radio_path rfpath, u32 offset, 248 enum radio_path rfpath, u32 offset); 250 enum radio_path rfpath, u32 offset,
|
D | phy_common.c | 83 enum radio_path rfpath, u32 offset) in _rtl92c_phy_fw_rf_serial_read() argument 92 enum radio_path rfpath, u32 offset, in _rtl92c_phy_fw_rf_serial_write() argument 100 enum radio_path rfpath, u32 offset) in _rtl92c_phy_rf_serial_read() argument 104 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf_serial_read() 117 if (rfpath == RF90_PATH_A) in _rtl92c_phy_rf_serial_read() 131 if (rfpath == RF90_PATH_A) in _rtl92c_phy_rf_serial_read() 134 else if (rfpath == RF90_PATH_B) in _rtl92c_phy_rf_serial_read() 144 rfpath, pphyreg->rf_rb, retvalue); in _rtl92c_phy_rf_serial_read() 150 enum radio_path rfpath, u32 offset, in _rtl92c_phy_rf_serial_write() argument 157 struct bb_reg_def *pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl92c_phy_rf_serial_write() [all …]
|
/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | rf.c | 385 u8 rfpath; in rf6052_conf_para() local 389 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in rf6052_conf_para() 390 pphyreg = &rtlphy->phyreg_def[rfpath]; in rf6052_conf_para() 392 switch (rfpath) { in rf6052_conf_para() 418 switch (rfpath) { in rf6052_conf_para() 421 (enum radio_path)rfpath); in rf6052_conf_para() 425 (enum radio_path)rfpath); in rf6052_conf_para() 433 switch (rfpath) { in rf6052_conf_para() 447 "Radio[%d] Fail!!", rfpath); in rf6052_conf_para()
|
D | phy.c | 48 enum radio_path rfpath, u32 offset) in rf_serial_read() argument 52 struct bb_reg_def *phreg = &rtlphy->phyreg_def[rfpath]; in rf_serial_read() 67 if (rfpath == jj) in rf_serial_read() 78 if (rfpath == jj) in rf_serial_read() 81 else if (rfpath == kk) in rf_serial_read() 89 rfpath, phreg->rf_rb, ret); in rf_serial_read() 94 enum radio_path rfpath, u32 offset, in rf_serial_write() argument 101 struct bb_reg_def *phreg = &rtlphy->phyreg_def[rfpath]; in rf_serial_write() 112 rfpath, phreg->rf3wire_offset, data_and_addr); in rf_serial_write() 342 u8 rfpath; in chnl_step_by_step() local [all …]
|
D | phy.h | 208 enum radio_path rfpath, u32 regaddr, 211 enum radio_path rfpath, u32 regaddr, 231 enum radio_path rfpath);
|
/drivers/net/wireless/rtlwifi/rtl8723ae/ |
D | rf.c | 424 u8 rfpath; in _rtl8723ae_phy_rf6052_config_parafile() local 428 for (rfpath = 0; rfpath < rtlphy->num_total_rfpath; rfpath++) { in _rtl8723ae_phy_rf6052_config_parafile() 430 pphyreg = &rtlphy->phyreg_def[rfpath]; in _rtl8723ae_phy_rf6052_config_parafile() 432 switch (rfpath) { in _rtl8723ae_phy_rf6052_config_parafile() 458 switch (rfpath) { in _rtl8723ae_phy_rf6052_config_parafile() 461 (enum radio_path)rfpath); in _rtl8723ae_phy_rf6052_config_parafile() 465 (enum radio_path)rfpath); in _rtl8723ae_phy_rf6052_config_parafile() 472 switch (rfpath) { in _rtl8723ae_phy_rf6052_config_parafile() 486 "Radio[%d] Fail!!", rfpath); in _rtl8723ae_phy_rf6052_config_parafile()
|
D | phy.c | 42 enum radio_path rfpath, u32 offset); 44 enum radio_path rfpath, 47 enum radio_path rfpath, u32 offset); 49 enum radio_path rfpath, u32 offset, u32 data); 113 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl8723ae_phy_query_rf_reg() argument 122 regaddr, rfpath, bitmask); in rtl8723ae_phy_query_rf_reg() 127 original_value = _phy_rf_serial_read(hw, rfpath, regaddr); in rtl8723ae_phy_query_rf_reg() 129 original_value = _phy_fw_rf_serial_read(hw, rfpath, regaddr); in rtl8723ae_phy_query_rf_reg() 138 regaddr, rfpath, bitmask, original_value); in rtl8723ae_phy_query_rf_reg() 144 enum radio_path rfpath, in rtl8723ae_phy_set_rf_reg() argument [all …]
|
D | phy.h | 191 enum radio_path rfpath, u32 regaddr, 194 enum radio_path rfpath, u32 regaddr, 200 enum radio_path rfpath); 219 enum radio_path rfpath);
|