Home
last modified time | relevance | path

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

123

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/halrf/
Dhalrf_txgapcal.c52 u1Byte rf_path, in odm_tx_gain_gap_psd_8197f() argument
71 odm_set_rf_reg(dm, rf_path, RF_0xdf, bRFRegOffsetMask, 0x00e02); in odm_tx_gain_gap_psd_8197f()
77 odm_set_rf_reg(dm, rf_path, RF_0x56, 0xfff, rf56); in odm_tx_gain_gap_psd_8197f()
78 while (rf56 != (odm_get_rf_reg(dm, rf_path, RF_0x56, 0xfff))) in odm_tx_gain_gap_psd_8197f()
79 odm_set_rf_reg(dm, rf_path, RF_0x56, 0xfff, rf56); in odm_tx_gain_gap_psd_8197f()
88 odm_set_bb_reg(dm, iqk_ctl_addr[rf_path][0], 0xffffffff, psd_cntl_value[rf_path][0]); in odm_tx_gain_gap_psd_8197f()
89 odm_set_bb_reg(dm, iqk_ctl_addr[rf_path][1], 0xffffffff, psd_cntl_value[rf_path][1]); in odm_tx_gain_gap_psd_8197f()
90 odm_set_bb_reg(dm, iqk_ctl_addr[rf_path][2], 0xffffffff, psd_cntl_value[rf_path][0]); in odm_tx_gain_gap_psd_8197f()
91 odm_set_bb_reg(dm, iqk_ctl_addr[rf_path][3], 0xffffffff, psd_cntl_value[rf_path][0]); in odm_tx_gain_gap_psd_8197f()
92 odm_set_bb_reg(dm, iqk_ctl_addr[rf_path][4], 0xffffffff, 0x8215001F); in odm_tx_gain_gap_psd_8197f()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/rtl8822c/
Dphydm_regconfig8822c.c32 enum rf_path rf_path, u32 reg_addr) in odm_config_rf_reg_8822c() argument
37 reg_addr, data, RFREG_MASK, rf_path, in odm_config_rf_reg_8822c()
41 reg_addr, data, RFREG_MASK, rf_path, in odm_config_rf_reg_8822c()
45 data, RFREG_MASK, rf_path, 0); in odm_config_rf_reg_8822c()
47 reg_addr, data, RFREG_MASK, rf_path, in odm_config_rf_reg_8822c()
66 odm_set_rf_reg(dm, rf_path, reg_addr, RFREG_MASK, data); in odm_config_rf_reg_8822c()
144 bitmask, (enum rf_path)0, 0); in odm_config_bb_agc_8822c()
152 void odm_config_bb_phy_reg_pg_8822c(struct dm_struct *dm, u32 band, u32 rf_path, in odm_config_bb_phy_reg_pg_8822c() argument
163 phy_store_tx_power_by_rate(dm->adapter, band, rf_path, tx_num, in odm_config_bb_phy_reg_pg_8822c()
166 PHY_StoreTxPowerByRate(dm->adapter, band, rf_path, tx_num, addr, in odm_config_bb_phy_reg_pg_8822c()
[all …]
Dphydm_regconfig8822c.h35 enum rf_path rf_path, u32 reg_addr);
44 void odm_config_bb_phy_reg_pg_8822c(struct dm_struct *dm, u32 band, u32 rf_path,
52 u8 rf_path, u8 channel, s8 power_limit);
56 u8 *rf_path, u8 *channel, u8 *power_limit);
Dphydm_hal_api8822c.h72 u32 config_phydm_read_rf_reg_8822c(struct dm_struct *dm, enum rf_path path,
75 boolean config_phydm_write_rf_reg_8822c(struct dm_struct *dm, enum rf_path path,
82 enum rf_path path,
96 u8 config_phydm_read_txagc_8822c(struct dm_struct *dm, enum rf_path path,
154 enum rf_path path, u8 hw_rate);
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/
Dhal_phy.c84 enum rf_path eRFPath, in PHY_RFShadowRead()
95 enum rf_path eRFPath, in PHY_RFShadowWrite()
108 enum rf_path eRFPath, in PHY_RFShadowCompare()
129 enum rf_path eRFPath, in PHY_RFShadowRecorver()
148 enum rf_path eRFPath = RF_PATH_A; in PHY_RFShadowCompareAll()
163 enum rf_path eRFPath = RF_PATH_A; in PHY_RFShadowRecorverAll()
177 enum rf_path eRFPath, in PHY_RFShadowCompareFlagSet()
190 enum rf_path eRFPath, in PHY_RFShadowRecorverFlagSet()
204 enum rf_path eRFPath = RF_PATH_A; in PHY_RFShadowCompareFlagSetAll()
224 enum rf_path eRFPath = RF_PATH_A; in PHY_RFShadowRecorverFlagSetAll()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/txbf/
Dphydm_hal_txbf_api.c311 odm_set_rf_reg(dm, (enum rf_path)i, RF_0xef, in phydm_txbf_rfmode()
314 odm_set_rf_reg(dm, (enum rf_path)i, RF_0x33, in phydm_txbf_rfmode()
317 odm_set_rf_reg(dm, (enum rf_path)i, RF_0x3e, in phydm_txbf_rfmode()
320 odm_set_rf_reg(dm, (enum rf_path)i, RF_0x3f, in phydm_txbf_rfmode()
323 odm_set_rf_reg(dm, (enum rf_path)i, RF_0x33, in phydm_txbf_rfmode()
326 odm_set_rf_reg(dm, (enum rf_path)i, RF_0x3e, in phydm_txbf_rfmode()
329 odm_set_rf_reg(dm, (enum rf_path)i, RF_0x3f, in phydm_txbf_rfmode()
332 odm_set_rf_reg(dm, (enum rf_path)i, RF_0xef, in phydm_txbf_rfmode()
364 odm_set_rf_reg(dm, (enum rf_path)i, RF_0xef, in phydm_txbf_rfmode()
367 odm_set_rf_reg(dm, (enum rf_path)i, RF_0x30, in phydm_txbf_rfmode()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/halrf/rtl8822c/
Dhalrf_dpk_8822c.c240 rf_reg_8f[i] = odm_get_rf_reg(dm, (enum rf_path)i, in _reload_rf_registers_8822c()
242 odm_set_rf_reg(dm, (enum rf_path)i, RF_0x8f, RFREG_MASK, in _reload_rf_registers_8822c()
278 odm_set_rf_reg(dm, (enum rf_path)path, 0x92, RFREG_MASK, 0x84800); in _dpk_rxbb_dc_cal_8822c()
280 odm_set_rf_reg(dm, (enum rf_path)path, 0x92, RFREG_MASK, 0x84801); in _dpk_rxbb_dc_cal_8822c()
283 odm_set_rf_reg(dm, (enum rf_path)path, 0x92, RFREG_MASK, 0x84800); in _dpk_rxbb_dc_cal_8822c()
531 odm_set_rf_reg(dm, (enum rf_path)path, RF_0x19, RFREG_MASK, 0x0); in _dpk_pre_setting_8822c()
574 odm_set_rf_reg(dm, (enum rf_path)path, in _dpk_rf_setting_8822c()
577 ori_txbb = odm_get_rf_reg(dm, (enum rf_path)path, in _dpk_rf_setting_8822c()
580 odm_set_rf_reg(dm, (enum rf_path)path, RF_0xde, BIT(16), 0x1); in _dpk_rf_setting_8822c()
582 odm_set_rf_reg(dm, (enum rf_path)path, RF_0xde, BIT(19), 0x1); in _dpk_rf_setting_8822c()
[all …]
Dhalrf_iqk_8822c.c71 odm_set_rf_reg(dm, (enum rf_path)path, 0x8f, BIT(14), 0x0); in _iqk_check_cal_8822c()
2453 odm_set_rf_reg(dm, (enum rf_path)path, add, RFREGOFFSETMASK, data); in _iqk_rf_set_check_8822c()
2456 if (odm_get_rf_reg(dm, (enum rf_path)path, add, RFREGOFFSETMASK) == data) in _iqk_rf_set_check_8822c()
2460 odm_set_rf_reg(dm, (enum rf_path)path, add, RFREGOFFSETMASK, data); in _iqk_rf_set_check_8822c()
2469 odm_set_rf_reg(dm, (enum rf_path)0x0, RF_0xb8, RFREGOFFSETMASK, 0x00a00); in _iqk_rf0xb0_workaround_8822c()
2470 odm_set_rf_reg(dm, (enum rf_path)0x0, RF_0xb8, RFREGOFFSETMASK, 0x80a00); in _iqk_rf0xb0_workaround_8822c()
2960 iqk_info->lok_idac[0][path] = odm_get_rf_reg(dm, (enum rf_path)path, RF_0x58, RFREGOFFSETMASK); in _iqk_backup_iqk_8822c()
2991 tmp = odm_get_rf_reg(dm, (enum rf_path)path, RF_0xdf, RFREGOFFSETMASK) | BIT(4); in _iqk_reload_iqk_setting_8822c()
2992 _iqk_rf_set_check_8822c(dm, (enum rf_path)path, 0xdf, tmp); in _iqk_reload_iqk_setting_8822c()
2993 … odm_set_rf_reg(dm, (enum rf_path)path, RF_0x58, RFREGOFFSETMASK, iqk_info->lok_idac[ch][path]); in _iqk_reload_iqk_setting_8822c()
[all …]
Dhalrf_8822c.c47 odm_set_rf_reg(dm, (enum rf_path)path, RF_0xef, BIT(19), in halrf_rf_lna_setting_8822c()
49 odm_set_rf_reg(dm, (enum rf_path)path, RF_0x33, in halrf_rf_lna_setting_8822c()
51 odm_set_rf_reg(dm, (enum rf_path)path, RF_0x3e, in halrf_rf_lna_setting_8822c()
53 odm_set_rf_reg(dm, (enum rf_path)path, RF_0x3f, in halrf_rf_lna_setting_8822c()
55 odm_set_rf_reg(dm, (enum rf_path)path, RF_0xef, BIT(19), in halrf_rf_lna_setting_8822c()
59 odm_set_rf_reg(dm, (enum rf_path)path, RF_0xef, BIT(19), in halrf_rf_lna_setting_8822c()
61 odm_set_rf_reg(dm, (enum rf_path)path, RF_0x33, in halrf_rf_lna_setting_8822c()
63 odm_set_rf_reg(dm, (enum rf_path)path, RF_0x3e, in halrf_rf_lna_setting_8822c()
65 odm_set_rf_reg(dm, (enum rf_path)path, RF_0x3f, in halrf_rf_lna_setting_8822c()
67 odm_set_rf_reg(dm, (enum rf_path)path, RF_0xef, BIT(19), in halrf_rf_lna_setting_8822c()
[all …]
Dhalrf_8822c.h43 u8 rf_path,
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Dhal_phy.h178 enum rf_path eRFPath,
184 enum rf_path eRFPath,
191 enum rf_path eRFPath,
197 enum rf_path eRFPath,
211 enum rf_path eRFPath,
218 enum rf_path eRFPath,
Dhal_com_phycfg.h95 enum rf_path RFPath,
101 , BAND_TYPE band, enum rf_path rfpath, RATE_SECTION rs, enum MGN_RATE rate);
104 , BAND_TYPE band, enum rf_path rfpath, RATE_SECTION rs, enum MGN_RATE rate, bool eirp);
108 s16 phy_get_txpwr_by_rate_single_max_mbm(_adapter *adapter, BAND_TYPE band, enum rf_path rfpath, bo…
143 , enum rf_path RFPath, RATE_SECTION rs, u8 ntx_idx
179 s8 phy_get_tssi_txpwr_by_rate_ref(_adapter *adapter, enum rf_path path
182 u8 hal_com_get_txpwr_idx(_adapter *adapter, enum rf_path rfpath
203 enum rf_path RFPath,
228 , enum rf_path rfpath, RATE_SECTION rs, enum MGN_RATE rate
234 enum rf_path RFPath,
[all …]
Drtw_iol.h56 int _rtw_IOL_append_WRF_cmd(struct xmit_frame *xmit_frame, u8 rf_path, u16 addr, u32 value, u32 mas…
60 …ine rtw_IOL_append_WRF_cmd(xmit_frame, rf_path, addr, value, mask) _rtw_IOL_append_WRF_cmd((xmit_f… argument
Dhal_intf.h356 …void (*set_tx_power_index_handler)(_adapter *adapter, u32 powerindex, enum rf_path rfpath, u8 rate…
358 …u8 (*get_tx_power_index_handler)(_adapter *adapter, enum rf_path rfpath, RATE_SECTION rs, enum MGN…
360 …s8 (*get_txpwr_target_extra_bias)(_adapter *adapter, enum rf_path rfpath, RATE_SECTION rs, enum MG…
383 u32 (*read_rfreg)(_adapter *padapter, enum rf_path eRFPath, u32 RegAddr, u32 BitMask);
384 void (*write_rfreg)(_adapter *padapter, enum rf_path eRFPath, u32 RegAddr, u32 BitMask, u32 Data);
786 u32 rtw_hal_read_rfreg(_adapter *padapter, enum rf_path eRFPath, u32 RegAddr, u32 BitMask);
787 void rtw_hal_write_rfreg(_adapter *padapter, enum rf_path eRFPath, u32 RegAddr, u32 BitMask, u32 Da…
892 , enum rf_path rfpath, u8 rate);
894 u8 rtw_hal_get_tx_power_index(_adapter *adapter, enum rf_path rfpath
897 s8 rtw_hal_get_txpwr_target_extra_bias(_adapter *adapter, enum rf_path rfpath
Drtw_rm_util.h44 int rm_get_tx_power(PADAPTER adapter, enum rf_path path, enum MGN_RATE rate, s8 *pwr);
Dhal_btcoex_wifionly.h72 void halwifionly_phy_set_rf_reg(void *pwifionlyContext, enum rf_path eRFPath, u32 RegAddr, u32 BitM…
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/
Dphydm_api.h182 enum rf_path ant_path);
191 phydm_api_shift_txagc(void *dm_void, u32 pwr_offset, enum rf_path path,
194 phydm_api_set_txagc(void *dm_void, u32 power_index, enum rf_path path,
197 u8 phydm_api_get_txagc(void *dm_void, enum rf_path path, u8 hw_rate);
214 u8 config_phydm_read_txagc_n(void *dm_void, enum rf_path path, u8 hw_rate);
Dphydm_interface.h262 u32 offset, u32 data, u32 mask, enum rf_path e_rf_path,
287 enum rf_path path, u8 channel,
290 u8 odm_get_tx_power_index(struct dm_struct *dm, enum rf_path path, u8 tx_rate,
322 u8 phydm_get_tx_power_dbm(struct dm_struct *dm, u8 rf_path,
325 s16 phydm_get_tx_power_mdbm(struct dm_struct *dm, u8 rf_path,
Dphydm_precomp.h187 u8 *rf_path,
192 u8 bandwidth, u8 rate_section, u8 rf_path,
212 enum rf_path e_rf_path,
Dphydm_lna_sat.h174 u8 tab_sel, enum rf_path path);
176 u8 phydm_get_ofdm_agc_tab_path(void *dm_void, enum rf_path path);
Dphydm_interface.c352 u32 offset, u32 data, u32 mask, enum rf_path e_rf_path, in phydm_set_reg_by_fw()
1188 enum rf_path path, u8 ch, in odm_set_tx_power_index_by_rate_section()
1208 u8 odm_get_tx_power_index(struct dm_struct *dm, enum rf_path path, u8 rate, in odm_get_tx_power_index()
1462 u8 phydm_get_tx_power_dbm(struct dm_struct *dm, u8 rf_path, in phydm_get_tx_power_dbm() argument
1468 tx_power_dbm = PHY_GetTxPowerFinalAbsoluteValue(adapter, rf_path, rate, bandwidth, channel); in phydm_get_tx_power_dbm()
1472 …tx_power_dbm = phy_get_tx_power_final_absolute_value(dm->adapter, rf_path, rate, bandwidth, channe… in phydm_get_tx_power_dbm()
1476 tx_power_dbm = PHY_GetTxPowerFinalAbsoluteValue(dm, rf_path, rate, bandwidth, channel); in phydm_get_tx_power_dbm()
1481 s16 phydm_get_tx_power_mdbm(struct dm_struct *dm, u8 rf_path, in phydm_get_tx_power_mdbm() argument
1487 tx_power_dbm = PHY_GetTxPowerFinalAbsoluteValuemdBm(adapter, rf_path, rate, bandwidth, channel); in phydm_get_tx_power_mdbm()
1491 tx_power_dbm = rtw_odm_get_tx_power_mbm(dm, rf_path, rate, bandwidth, channel); in phydm_get_tx_power_mdbm()
[all …]
Dphydm_dynamictxpower.c303 enum rf_path
307 enum rf_path max_path = RF_PATH_A; in phydm_check_paths()
322 u8 phydm_dtp_get_txagc(void *dm_void, enum rf_path path, u8 hw_rate) in phydm_dtp_get_txagc()
336 enum rf_path path; in phydm_search_min_power_index()
337 enum rf_path max_path; in phydm_search_min_power_index()
Dphydm_pmac_tx_setting.h105 enum rf_path mpt_rf_path);
Dphydm_direct_bf.c37 enum rf_path i = RF_PATH_A; in phydm_iq_gen_en()
38 enum rf_path path = RF_PATH_A; in phydm_iq_gen_en()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/rtl8822c/
Drtl8822c.h128 u32 rtl8822c_read_rf_reg(PADAPTER adapter, enum rf_path path, u32 addr, u32 mask);
129 void rtl8822c_write_rf_reg(PADAPTER adapter, enum rf_path path, u32 addr, u32 mask, u32 val);
133 void rtl8822c_set_tx_power_index(PADAPTER adapter, u32 powerindex, enum rf_path rfpath, u8 rate);

123