Searched refs:curr_pwr (Results 1 – 2 of 2) sorted by relevance
/drivers/net/wireless/mediatek/mt7601u/ |
D | phy.c | 881 int curr_pwr, diff_pwr; in mt7601u_tssi_cal() local 916 curr_pwr = tssi_db * dev->ee->tssi_data.slope + (tssi_offset << 9); in mt7601u_tssi_cal() 917 diff_pwr = params.trgt_power - curr_pwr; in mt7601u_tssi_cal() 918 dev_dbg(dev->dev, "Power curr:%08x diff:%08x\n", curr_pwr, diff_pwr); in mt7601u_tssi_cal() 942 curr_pwr = s6_to_int(MT76_GET(MT_TX_ALC_CFG_1_TEMP_COMP, val)); in mt7601u_tssi_cal() 943 diff_pwr += curr_pwr; in mt7601u_tssi_cal()
|
/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_n.c | 26997 u32 i_pwr, q_pwr, curr_pwr, optim_pwr = 0, prev_pwr = 0, in wlc_phy_rxcal_gainctrl_nphy_rev5() local 27089 curr_pwr = i_pwr + q_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5() 27093 if (curr_pwr > thresh_pwr) { in wlc_phy_rxcal_gainctrl_nphy_rev5() 27105 if (curr_pwr > thresh_pwr) { in wlc_phy_rxcal_gainctrl_nphy_rev5() 27116 if (curr_pwr > thresh_pwr) { in wlc_phy_rxcal_gainctrl_nphy_rev5() 27121 optim_pwr = curr_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5() 27133 optim_pwr = curr_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5() 27136 prev_pwr = curr_pwr; in wlc_phy_rxcal_gainctrl_nphy_rev5()
|