Searched refs:ltssi (Results 1 – 1 of 1) sorted by relevance
543 mt76x0_phy_tssi_adc_calibrate(struct mt76x02_dev *dev, s16 *ltssi, in mt76x0_phy_tssi_adc_calibrate() argument557 *ltssi = mt76_rr(dev, MT_BBP(CORE, 35)) & 0xff; in mt76x0_phy_tssi_adc_calibrate()559 *ltssi += 128; in mt76x0_phy_tssi_adc_calibrate()699 s16 ltssi) in mt76x0_phy_get_delta_power() argument776 tssi_db = mt76x0_phy_lin2db(ltssi - dev->cal.tssi_dc) * tssi_slope; in mt76x0_phy_get_delta_power()780 if (ltssi > 254 && tssi_target > 0) { in mt76x0_phy_get_delta_power()788 if ((ltssi > 126 && tssi_target > 0) || in mt76x0_phy_get_delta_power()789 ((ltssi - dev->cal.tssi_dc) < 1 && tssi_target < 0)) { in mt76x0_phy_get_delta_power()828 s16 ltssi; in mt76x0_phy_tssi_calibrate() local831 if (mt76x0_phy_tssi_adc_calibrate(dev, <ssi, tssi_info) < 0) in mt76x0_phy_tssi_calibrate()[all …]