Home
last modified time | relevance | path

Searched refs:txagc (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Drf.c367 u32 txagc = 0; in rtl92s_phy_rf6052_set_ccktxpower() local
377 txagc = 0x3f; in rtl92s_phy_rf6052_set_ccktxpower()
379 txagc = pwrlevel; in rtl92s_phy_rf6052_set_ccktxpower()
381 txagc = pwrlevel; in rtl92s_phy_rf6052_set_ccktxpower()
385 txagc = 0x10; in rtl92s_phy_rf6052_set_ccktxpower()
388 txagc = 0x0; in rtl92s_phy_rf6052_set_ccktxpower()
391 if (txagc > RF6052_MAX_TX_PWR) in rtl92s_phy_rf6052_set_ccktxpower()
392 txagc = RF6052_MAX_TX_PWR; in rtl92s_phy_rf6052_set_ccktxpower()
394 rtl_set_bbreg(hw, RTXAGC_CCK_MCS32, BTX_AGCRATECCK, txagc); in rtl92s_phy_rf6052_set_ccktxpower()
/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8852b_rfk.c2118 enum rtw89_rf_path path, u8 txagc) in _dpk_kip_set_txagc() argument
2120 rtw89_write_rf(rtwdev, path, RR_TXAGC, RFREG_MASK, txagc); in _dpk_kip_set_txagc()
2125 rtw89_debug(rtwdev, RTW89_DBG_RFK, "[DPK] set TXAGC = 0x%x\n", txagc); in _dpk_kip_set_txagc()
2149 u8 txagc; in _dpk_set_offset() local
2151 txagc = rtw89_read_rf(rtwdev, path, RR_TXAGC, RFREG_MASK); in _dpk_set_offset()
2153 if (txagc - gain_offset < DPK_TXAGC_LOWER) in _dpk_set_offset()
2154 txagc = DPK_TXAGC_LOWER; in _dpk_set_offset()
2155 else if (txagc - gain_offset > DPK_TXAGC_UPPER) in _dpk_set_offset()
2156 txagc = DPK_TXAGC_UPPER; in _dpk_set_offset()
2158 txagc = txagc - gain_offset; in _dpk_set_offset()
[all …]
H A Drtw8852a_rfk.c2279 u8 txagc; in _dpk_set_offset() local
2281 txagc = (u8)rtw89_read_rf(rtwdev, path, RR_MODOPT, RFREG_MASK); in _dpk_set_offset()
2283 if (txagc - gain_offset < DPK_TXAGC_LOWER) in _dpk_set_offset()
2284 txagc = DPK_TXAGC_LOWER; in _dpk_set_offset()
2285 else if (txagc - gain_offset > DPK_TXAGC_UPPER) in _dpk_set_offset()
2286 txagc = DPK_TXAGC_UPPER; in _dpk_set_offset()
2288 txagc = txagc - gain_offset; in _dpk_set_offset()
2290 rtw89_write_rf(rtwdev, path, RR_MODOPT, RFREG_MASK, txagc); in _dpk_set_offset()
2293 gain_offset, txagc); in _dpk_set_offset()
2294 return txagc; in _dpk_set_offset()
[all …]
H A Dfw.h5220 u8 txagc[2]; member
H A Dphy.c3631 dpk->txagc, dpk->ther, dpk->gs, dpk->dc_i, dpk->dc_q); in rtw89_phy_c2h_rfk_rpt_log()
/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8723x.c398 const struct rtw_hw_reg *txagc; in rtw8723x_set_tx_power_index_by_rate() local
410 txagc = &rtw8723x_txagc[rate]; in rtw8723x_set_tx_power_index_by_rate()
411 if (!txagc->addr) { in rtw8723x_set_tx_power_index_by_rate()
416 rtw_write32_mask(rtwdev, txagc->addr, txagc->mask, pwr_index); in rtw8723x_set_tx_power_index_by_rate()