Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dphy.c142 int txp_0, txp_1, delta = 0; in mt76x2_phy_set_txpower() local
161 txp_1 = txp.chain[1].target_power + txp.chain[1].delta + delta; in mt76x2_phy_set_txpower()
163 gain = min(txp_0, txp_1); in mt76x2_phy_set_txpower()
167 txp_1 -= gain; in mt76x2_phy_set_txpower()
171 txp_1 = 0x2f; in mt76x2_phy_set_txpower()
177 dev->target_power_delta[1] = txp_1 - txp.chain[0].target_power; in mt76x2_phy_set_txpower()
180 mt76x02_phy_set_txpower(dev, txp_0, txp_1); in mt76x2_phy_set_txpower()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_phy.c93 void mt76x02_phy_set_txpower(struct mt76x02_dev *dev, int txp_0, int txp_1) in mt76x02_phy_set_txpower() argument
98 mt76_rmw_field(dev, MT_TX_ALC_CFG_0, MT_TX_ALC_CFG_0_CH_INIT_1, txp_1); in mt76x02_phy_set_txpower()