Home
last modified time | relevance | path

Searched refs:curr_pwr (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/wireless/mediatek/mt7601u/
Dphy.c879 int curr_pwr, diff_pwr; in mt7601u_tssi_cal() local
914 curr_pwr = tssi_db * dev->ee->tssi_data.slope + (tssi_offset << 9); in mt7601u_tssi_cal()
915 diff_pwr = params.trgt_power - curr_pwr; in mt7601u_tssi_cal()
916 dev_dbg(dev->dev, "Power curr:%08x diff:%08x\n", curr_pwr, diff_pwr); in mt7601u_tssi_cal()
940 curr_pwr = s6_to_int(FIELD_GET(MT_TX_ALC_CFG_1_TEMP_COMP, val)); in mt7601u_tssi_cal()
941 diff_pwr += curr_pwr; in mt7601u_tssi_cal()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c26872 u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0, in wlc_phy_rxcal_gainctrl_nphy_rev5() local
26964 curr_pwr = i_pwr + q_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5()
26968 if (curr_pwr > thresh_pwr) { in wlc_phy_rxcal_gainctrl_nphy_rev5()
26980 if (curr_pwr > thresh_pwr) { in wlc_phy_rxcal_gainctrl_nphy_rev5()
26991 if (curr_pwr > thresh_pwr) { in wlc_phy_rxcal_gainctrl_nphy_rev5()
26996 optim_pwr = curr_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5()
27008 optim_pwr = curr_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5()
27011 prev_pwr = curr_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5()