Lines Matching refs:mphy
51 struct mt76_phy *mphy = phy->mt76; in mt7615_tm_set_tx_power() local
52 int i, ret, n_chains = hweight8(mphy->antenna_mask); in mt7615_tm_set_tx_power()
53 struct cfg80211_chan_def *chandef = &mphy->chandef; in mt7615_tm_set_tx_power()
70 if (mphy->test.state != MT76_TM_STATE_OFF) in mt7615_tm_set_tx_power()
71 tx_power = mphy->test.tx_power; in mt7615_tm_set_tx_power()
259 mt7615_tm_set_state(struct mt76_phy *mphy, enum mt76_testmode_state state) in mt7615_tm_set_state() argument
261 struct mt7615_phy *phy = mphy->priv; in mt7615_tm_set_state()
262 struct mt76_testmode_data *td = &mphy->test; in mt7615_tm_set_state()
265 mphy->test.state = state; in mt7615_tm_set_state()
296 mt7615_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb, in mt7615_tm_set_params() argument
299 struct mt76_testmode_data *td = &mphy->test; in mt7615_tm_set_params()
300 struct mt7615_phy *phy = mphy->priv; in mt7615_tm_set_params()
310 if (td->tx_antenna_mask & ~mphy->chainmask) in mt7615_tm_set_params()
324 mt7615_tm_dump_stats(struct mt76_phy *mphy, struct sk_buff *msg) in mt7615_tm_dump_stats() argument
326 struct mt7615_phy *phy = mphy->priv; in mt7615_tm_dump_stats()