Home
last modified time | relevance | path

Searched refs:efuse_gain (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Drtw8852b_common.c226 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()
[all …]
Drtw8851b.c508 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; in rtw8851b_efuse_parsing_gain_offset()
689 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; in rtw8851b_phycap_parsing_gain_comp()
953 struct rtw89_phy_efuse_gain *efuse_gain = &rtwdev->efuse_gain; in rtw8851b_set_gain_offset() local
960 if (!efuse_gain->comp_valid) in rtw8851b_set_gain_offset()
964 tmp = efuse_gain->comp[path][subband]; in rtw8851b_set_gain_offset()
970 if (!efuse_gain->offset_valid) in rtw8851b_set_gain_offset()
975 offset_a = -efuse_gain->offset[RF_PATH_A][gain_ofdm_band]; in rtw8851b_set_gain_offset()
977 tmp = -((offset_a << 2) + (efuse_gain->offset_base[RTW89_PHY_0] >> 2)); in rtw8851b_set_gain_offset()
981 offset_ofdm = -efuse_gain->offset[RF_PATH_A][gain_ofdm_band]; in rtw8851b_set_gain_offset()
982 offset_cck = -efuse_gain->offset[RF_PATH_A][0]; in rtw8851b_set_gain_offset()
[all …]
Drtw8852c.c445 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; in rtw8852c_efuse_parsing_gain_offset()
934 struct rtw89_phy_efuse_gain *efuse_gain = &rtwdev->efuse_gain; in rtw8852c_set_gain_offset() local
939 if (!efuse_gain->offset_valid) in rtw8852c_set_gain_offset()
946 offset_q0 = efuse_gain->offset[path][RTW89_GAIN_OFFSET_2G_CCK]; in rtw8852c_set_gain_offset()
947 offset_base_q4 = efuse_gain->offset_base[phy_idx]; in rtw8852c_set_gain_offset()
956 offset_q0 = -efuse_gain->offset[path][gain_band]; in rtw8852c_set_gain_offset()
957 offset_base_q4 = efuse_gain->offset_base[phy_idx]; in rtw8852c_set_gain_offset()
1666 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; in rtw8852c_bb_sethw()
Drtw8922a.c533 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; in rtw8922a_efuse_parsing_gain_offset()
1074 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; in rtw8922a_set_rx_gain_normal_cck()
1106 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; in rtw8922a_set_rx_gain_normal_ofdm()
1135 struct rtw89_phy_efuse_gain *gain = &rtwdev->efuse_gain; in rtw8922a_set_rx_gain_normal()
Dcore.h5573 struct rtw89_phy_efuse_gain efuse_gain; member