Home
last modified time | relevance | path

Searched refs:rf_path (Results 1 – 18 of 18) sorted by relevance

/drivers/net/wireless/rtlwifi/rtl8192se/
Dhw.c1680 u8 rf_path, index; in _rtl92se_read_adapter_info() local
1743 for (rf_path = 0; rf_path < 2; rf_path++) { in _rtl92se_read_adapter_info()
1746 rtlefuse->eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl92se_read_adapter_info()
1747 hwinfo[EEPROM_TXPOWERBASE + rf_path * 3 + i]; in _rtl92se_read_adapter_info()
1750 rtlefuse->eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl92se_read_adapter_info()
1751 hwinfo[EEPROM_TXPOWERBASE + 6 + rf_path * 3 + i]; in _rtl92se_read_adapter_info()
1754 rtlefuse->eprom_chnl_txpwr_ht40_2sdf[rf_path][i] in _rtl92se_read_adapter_info()
1756 rf_path * 3 + i]; in _rtl92se_read_adapter_info()
1760 for (rf_path = 0; rf_path < 2; rf_path++) in _rtl92se_read_adapter_info()
1764 rf_path, i, in _rtl92se_read_adapter_info()
[all …]
/drivers/net/wireless/rtlwifi/rtl8723ae/
Dhw.c1421 u8 rf_path, index, tempval; in _rtl8723e_read_txpower_info_from_hwpg() local
1424 for (rf_path = 0; rf_path < 1; rf_path++) { in _rtl8723e_read_txpower_info_from_hwpg()
1427 rtlefuse->eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl8723e_read_txpower_info_from_hwpg()
1428 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl8723e_read_txpower_info_from_hwpg()
1429 rtlefuse->eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl8723e_read_txpower_info_from_hwpg()
1430 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + i]; in _rtl8723e_read_txpower_info_from_hwpg()
1432 rtlefuse->eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl8723e_read_txpower_info_from_hwpg()
1434 rtlefuse->eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl8723e_read_txpower_info_from_hwpg()
1451 for (rf_path = 0; rf_path < 2; rf_path++) in _rtl8723e_read_txpower_info_from_hwpg()
1454 "RF(%d) EEPROM CCK Area(%d) = 0x%x\n", rf_path, in _rtl8723e_read_txpower_info_from_hwpg()
[all …]
Dphy.c672 u8 rf_path; in rtl8723e_phy_update_txpower_dbm() local
687 for (rf_path = 0; rf_path < 2; rf_path++) { in rtl8723e_phy_update_txpower_dbm()
688 rtlefuse->txpwrlevel_cck[rf_path][idx] = ccktxpwridx; in rtl8723e_phy_update_txpower_dbm()
689 rtlefuse->txpwrlevel_ht40_1s[rf_path][idx] = in rtl8723e_phy_update_txpower_dbm()
691 rtlefuse->txpwrlevel_ht40_2s[rf_path][idx] = in rtl8723e_phy_update_txpower_dbm()
/drivers/net/wireless/rtlwifi/rtl8192ce/
Dhw.c1443 u8 rf_path, index, tempval; in _rtl92ce_read_txpower_info_from_hwpg() local
1446 for (rf_path = 0; rf_path < 2; rf_path++) { in _rtl92ce_read_txpower_info_from_hwpg()
1450 eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl92ce_read_txpower_info_from_hwpg()
1451 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl92ce_read_txpower_info_from_hwpg()
1453 eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl92ce_read_txpower_info_from_hwpg()
1454 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + in _rtl92ce_read_txpower_info_from_hwpg()
1458 eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl92ce_read_txpower_info_from_hwpg()
1461 eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl92ce_read_txpower_info_from_hwpg()
1478 for (rf_path = 0; rf_path < 2; rf_path++) in _rtl92ce_read_txpower_info_from_hwpg()
1482 rf_path, i, in _rtl92ce_read_txpower_info_from_hwpg()
[all …]
/drivers/net/wireless/rtlwifi/rtl8192cu/
Dhw.c130 u8 rf_path, index, tempval; in _rtl92cu_read_txpower_info_from_hwpg() local
133 for (rf_path = 0; rf_path < 2; rf_path++) { in _rtl92cu_read_txpower_info_from_hwpg()
137 eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl92cu_read_txpower_info_from_hwpg()
138 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl92cu_read_txpower_info_from_hwpg()
140 eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl92cu_read_txpower_info_from_hwpg()
141 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + in _rtl92cu_read_txpower_info_from_hwpg()
145 eeprom_chnlarea_txpwr_cck[rf_path][i] = in _rtl92cu_read_txpower_info_from_hwpg()
148 eeprom_chnlarea_txpwr_ht40_1s[rf_path][i] = in _rtl92cu_read_txpower_info_from_hwpg()
163 for (rf_path = 0; rf_path < 2; rf_path++) in _rtl92cu_read_txpower_info_from_hwpg()
167 rf_path, i, in _rtl92cu_read_txpower_info_from_hwpg()
[all …]
/drivers/net/wireless/rtlwifi/rtl8821ae/
Dhw.c2780 u8 rf_path, index;
2786 for (rf_path = 0; rf_path < 2; rf_path++) {
2791 rtlefuse->txpwrlevel_cck[rf_path][i] =
2792 pwrinfo24g.index_cck_base[rf_path][5];
2793 rtlefuse->txpwrlevel_ht40_1s[rf_path][i] =
2794 pwrinfo24g.index_bw40_base[rf_path][index];
2796 rtlefuse->txpwrlevel_cck[rf_path][i] =
2797 pwrinfo24g.index_cck_base[rf_path][index];
2798 rtlefuse->txpwrlevel_ht40_1s[rf_path][i] =
2799 pwrinfo24g.index_bw40_base[rf_path][index];
[all …]
Ddm.c1378 u8 rf_path, u8 channel_mapped_index) in rtl8812ae_dm_txpwr_track_set_pwr() argument
1472 if (rf_path == RF90_PATH_A) { in rtl8812ae_dm_txpwr_track_set_pwr()
1509 rtldm->absolute_ofdm_swing_idx[rf_path], in rtl8812ae_dm_txpwr_track_set_pwr()
1510 rf_path); in rtl8812ae_dm_txpwr_track_set_pwr()
1513 rtldm->absolute_ofdm_swing_idx[rf_path]; in rtl8812ae_dm_txpwr_track_set_pwr()
1515 if (rf_path == RF90_PATH_A) { in rtl8812ae_dm_txpwr_track_set_pwr()
1524 rtldm->remnant_ofdm_swing_idx[rf_path] = in rtl8812ae_dm_txpwr_track_set_pwr()
1541 rtldm->remnant_ofdm_swing_idx[rf_path]); in rtl8812ae_dm_txpwr_track_set_pwr()
1545 rtldm->remnant_ofdm_swing_idx[rf_path] = in rtl8812ae_dm_txpwr_track_set_pwr()
1559 rtldm->remnant_ofdm_swing_idx[rf_path]); in rtl8812ae_dm_txpwr_track_set_pwr()
[all …]
Dphy.c363 u8 rf_path) in phy_get_tx_swing_8812A() argument
1159 u8 rf_path = 0; in _rtl8812ae_phy_convert_txpower_limit_to_power_index() local
1193 for (rf_path = RF90_PATH_A; in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1194 rf_path < MAX_RF_PATH_NUM; in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1195 ++rf_path) { in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1198 rtlphy->txpwr_by_rate_base_24g[rf_path][RF_2TX][base_index2_4G]; in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1201 rtlphy->txpwr_by_rate_base_24g[rf_path][RF_1TX][base_index2_4G]; in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1206 [bw][rate_section][channel][rf_path] = in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1214 [rate_section][channel][rf_path], (temp_pwrlmt == 63) in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
1215 ? 0 : temp_pwrlmt/2, channel, rf_path, in _rtl8812ae_phy_convert_txpower_limit_to_power_index()
[all …]
Ddm.h345 u8 rf_path,
349 u8 rf_path, u8 channel_mapped_index);
Dphy.h257 u32 phy_get_tx_swing_8812A(struct ieee80211_hw *hw, u8 band, u8 rf_path);
/drivers/staging/rtl8188eu/include/
Dphy.h14 u32 phy_query_rf_reg(struct adapter *adapt, enum rf_radio_path rf_path,
16 void phy_set_rf_reg(struct adapter *adapt, enum rf_radio_path rf_path,
/drivers/staging/rtl8188eu/hal/
Dphy.c129 u32 phy_query_rf_reg(struct adapter *adapt, enum rf_radio_path rf_path, in phy_query_rf_reg() argument
134 original_value = rf_serial_read(adapt, rf_path, reg_addr); in phy_query_rf_reg()
140 void phy_set_rf_reg(struct adapter *adapt, enum rf_radio_path rf_path, in phy_set_rf_reg() argument
147 original_value = rf_serial_read(adapt, rf_path, reg_addr); in phy_set_rf_reg()
152 rf_serial_write(adapt, rf_path, reg_addr, data); in phy_set_rf_reg()
341 u8 rf_path; in phy_sw_chnl_callback() local
352 for (rf_path = 0; rf_path < hal_data->NumTotalRFPath; rf_path++) { in phy_sw_chnl_callback()
353 hal_data->RfRegChnlVal[rf_path] = (hal_data->RfRegChnlVal[rf_path] & in phy_sw_chnl_callback()
355 phy_set_rf_reg(adapt, (enum rf_radio_path)rf_path, param1, in phy_sw_chnl_callback()
356 bRFRegOffsetMask, hal_data->RfRegChnlVal[rf_path]); in phy_sw_chnl_callback()
/drivers/net/wireless/rtlwifi/rtl8723be/
Dhw.c1963 u8 rf_path, index; in _rtl8723be_read_txpower_info_from_hwpg() local
1969 for (rf_path = 0; rf_path < 2; rf_path++) { in _rtl8723be_read_txpower_info_from_hwpg()
1973 rtlefuse->txpwrlevel_cck[rf_path][i] = in _rtl8723be_read_txpower_info_from_hwpg()
1974 pw2g.index_cck_base[rf_path][index]; in _rtl8723be_read_txpower_info_from_hwpg()
1975 rtlefuse->txpwrlevel_ht40_1s[rf_path][i] = in _rtl8723be_read_txpower_info_from_hwpg()
1976 pw2g.index_bw40_base[rf_path][index]; in _rtl8723be_read_txpower_info_from_hwpg()
1979 rtlefuse->txpwr_ht20diff[rf_path][i] = in _rtl8723be_read_txpower_info_from_hwpg()
1980 pw2g.bw20_diff[rf_path][i]; in _rtl8723be_read_txpower_info_from_hwpg()
1981 rtlefuse->txpwr_ht40diff[rf_path][i] = in _rtl8723be_read_txpower_info_from_hwpg()
1982 pw2g.bw40_diff[rf_path][i]; in _rtl8723be_read_txpower_info_from_hwpg()
[all …]
/drivers/net/wireless/rtlwifi/rtl8188ee/
Dhw.c1776 u8 rf_path, index; in _rtl88ee_read_txpower_info_from_hwpg() local
1782 for (rf_path = 0; rf_path < 2; rf_path++) { in _rtl88ee_read_txpower_info_from_hwpg()
1786 rtlefuse->txpwrlevel_cck[rf_path][i] = in _rtl88ee_read_txpower_info_from_hwpg()
1787 pwrinfo24g.index_cck_base[rf_path][index]; in _rtl88ee_read_txpower_info_from_hwpg()
1788 rtlefuse->txpwrlevel_ht40_1s[rf_path][i] = in _rtl88ee_read_txpower_info_from_hwpg()
1789 pwrinfo24g.index_bw40_base[rf_path][index]; in _rtl88ee_read_txpower_info_from_hwpg()
1790 rtlefuse->txpwr_ht20diff[rf_path][i] = in _rtl88ee_read_txpower_info_from_hwpg()
1791 pwrinfo24g.bw20_diff[rf_path][0]; in _rtl88ee_read_txpower_info_from_hwpg()
1792 rtlefuse->txpwr_legacyhtdiff[rf_path][i] = in _rtl88ee_read_txpower_info_from_hwpg()
1793 pwrinfo24g.ofdm_diff[rf_path][0]; in _rtl88ee_read_txpower_info_from_hwpg()
[all …]
Dphy.c992 u8 rf_path = 0; in _rtl88e_get_txpower_index() local
994 for (rf_path = 0; rf_path < 2; rf_path++) { in _rtl88e_get_txpower_index()
995 if (rf_path == RF90_PATH_A) { in _rtl88e_get_txpower_index()
999 } else if (rf_path == RF90_PATH_B) { in _rtl88e_get_txpower_index()
/drivers/net/wireless/rtlwifi/btcoexist/
Dhalbtcoutsrc.c562 static void halbtc_set_rfreg(void *bt_context, u8 rf_path, u32 reg_addr, in halbtc_set_rfreg() argument
568 rtl_set_rfreg(rtlpriv->mac80211.hw, rf_path, reg_addr, bit_mask, data); in halbtc_set_rfreg()
571 static u32 halbtc_get_rfreg(void *bt_context, u8 rf_path, u32 reg_addr, in halbtc_get_rfreg() argument
577 return rtl_get_rfreg(rtlpriv->mac80211.hw, rf_path, reg_addr, bit_mask); in halbtc_get_rfreg()
Dhalbtcoutsrc.h377 typedef void (*bfp_btc_set_rf_reg)(void *btc_context, u8 rf_path, u32 reg_addr,
380 typedef u32 (*bfp_btc_get_rf_reg)(void *btc_context, u8 rf_path,
/drivers/net/wireless/rtlwifi/rtl8192c/
Dphy_common.c608 u8 rf_path; in rtl92c_phy_update_txpower_dbm() local
621 for (rf_path = 0; rf_path < 2; rf_path++) { in rtl92c_phy_update_txpower_dbm()
622 rtlefuse->txpwrlevel_cck[rf_path][idx] = ccktxpwridx; in rtl92c_phy_update_txpower_dbm()
623 rtlefuse->txpwrlevel_ht40_1s[rf_path][idx] = in rtl92c_phy_update_txpower_dbm()
625 rtlefuse->txpwrlevel_ht40_2s[rf_path][idx] = in rtl92c_phy_update_txpower_dbm()