Lines Matching refs:efuse_gain
226 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; in rtw8852bx_efuse_parsing_gain_offset()
418 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; in rtw8852bx_phycap_parsing_gain_comp()
643 struct rtw89_phy_efuse_gain *efuse_gain = &rtwdev->efuse_gain; in rtw8852bx_set_gain_offset() local
651 if (!efuse_gain->comp_valid) in rtw8852bx_set_gain_offset()
655 tmp = efuse_gain->comp[path][subband]; in rtw8852bx_set_gain_offset()
661 if (!efuse_gain->offset_valid) in rtw8852bx_set_gain_offset()
666 offset_a = -efuse_gain->offset[RF_PATH_A][gain_ofdm_band]; in rtw8852bx_set_gain_offset()
667 offset_b = -efuse_gain->offset[RF_PATH_B][gain_ofdm_band]; in rtw8852bx_set_gain_offset()
669 tmp = -((offset_a << 2) + (efuse_gain->offset_base[RTW89_PHY_0] >> 2)); in rtw8852bx_set_gain_offset()
673 tmp = -((offset_b << 2) + (efuse_gain->offset_base[RTW89_PHY_0] >> 2)); in rtw8852bx_set_gain_offset()
678 offset_ofdm = -efuse_gain->offset[RF_PATH_B][gain_ofdm_band]; in rtw8852bx_set_gain_offset()
679 offset_cck = -efuse_gain->offset[RF_PATH_B][0]; in rtw8852bx_set_gain_offset()
681 offset_ofdm = -efuse_gain->offset[RF_PATH_A][gain_ofdm_band]; in rtw8852bx_set_gain_offset()
682 offset_cck = -efuse_gain->offset[RF_PATH_A][0]; in rtw8852bx_set_gain_offset()
685 tmp = (offset_ofdm << 4) + efuse_gain->offset_base[RTW89_PHY_0]; in rtw8852bx_set_gain_offset()
689 tmp = (offset_ofdm << 4) + efuse_gain->rssi_base[RTW89_PHY_0]; in rtw8852bx_set_gain_offset()
694 tmp = (offset_cck << 3) + (efuse_gain->offset_base[RTW89_PHY_0] >> 1); in rtw8852bx_set_gain_offset()
700 ext_loss_a = (offset_a << 2) + (efuse_gain->offset_base[RTW89_PHY_0] >> 2); in rtw8852bx_set_gain_offset()
701 ext_loss_b = (offset_b << 2) + (efuse_gain->offset_base[RTW89_PHY_0] >> 2); in rtw8852bx_set_gain_offset()
1106 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; in __rtw8852bx_bb_sethw()