Lines Matching refs:t
143 struct mt76x02_rate_power t = {}; in mt76x2_phy_set_txpower() local
153 mt76x2_get_rate_power(dev, &t, chan); in mt76x2_phy_set_txpower()
154 mt76x02_add_rate_power_offset(&t, txp.target_power + delta); in mt76x2_phy_set_txpower()
155 mt76x02_limit_rate_power(&t, dev->txpower_conf); in mt76x2_phy_set_txpower()
156 dev->mphy.txpower_cur = mt76x02_get_max_rate_power(&t); in mt76x2_phy_set_txpower()
158 base_power = mt76x2_get_min_rate_power(&t); in mt76x2_phy_set_txpower()
174 mt76x02_add_rate_power_offset(&t, -base_power); in mt76x2_phy_set_txpower()
178 dev->rate_power = t; in mt76x2_phy_set_txpower()
207 struct mt76x2_tssi_comp t = {}; in mt76x2_phy_tssi_compensate() local
214 t.cal_mode = BIT(0); in mt76x2_phy_tssi_compensate()
215 mt76x2_mcu_tssi_comp(dev, &t); in mt76x2_phy_tssi_compensate()
225 t.pa_mode = 1; in mt76x2_phy_tssi_compensate()
227 t.cal_mode = BIT(1); in mt76x2_phy_tssi_compensate()
228 t.slope0 = txp.chain[0].tssi_slope; in mt76x2_phy_tssi_compensate()
229 t.offset0 = txp.chain[0].tssi_offset; in mt76x2_phy_tssi_compensate()
230 t.slope1 = txp.chain[1].tssi_slope; in mt76x2_phy_tssi_compensate()
231 t.offset1 = txp.chain[1].tssi_offset; in mt76x2_phy_tssi_compensate()
232 mt76x2_mcu_tssi_comp(dev, &t); in mt76x2_phy_tssi_compensate()
234 if (t.pa_mode || dev->cal.dpd_cal_done || dev->ed_tx_blocked) in mt76x2_phy_tssi_compensate()