Searched refs:curr_pwr (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/wireless/mediatek/mt7601u/ |
D | phy.c | 879 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.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_n.c | 26868 u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0, in wlc_phy_rxcal_gainctrl_nphy_rev5() local 26960 curr_pwr = i_pwr + q_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5() 26964 if (curr_pwr > thresh_pwr) { in wlc_phy_rxcal_gainctrl_nphy_rev5() 26976 if (curr_pwr > thresh_pwr) { in wlc_phy_rxcal_gainctrl_nphy_rev5() 26987 if (curr_pwr > thresh_pwr) { in wlc_phy_rxcal_gainctrl_nphy_rev5() 26992 optim_pwr = curr_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5() 27004 optim_pwr = curr_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5() 27007 prev_pwr = curr_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5()
|