Lines Matching refs:mphy
17 ieee80211_queue_delayed_work(mt76_hw(dev), &dev->mphy.mac_work, in mt76x2_start()
22 set_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x2_start()
31 clear_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x2_stop()
43 set_bit(MT76_RESET, &dev->mphy.state); in mt76x2_set_channel()
45 mt76_set_channel(&dev->mphy); in mt76x2_set_channel()
55 clear_bit(MT76_RESET, &dev->mphy.state); in mt76x2_set_channel()
61 mt76_txq_schedule_all(&dev->mphy); in mt76x2_set_channel()
81 struct mt76_phy *mphy = &dev->mphy; in mt76x2_config() local
84 dev->txpower_conf = mt76_get_sar_power(mphy, in mt76x2_config()
85 mphy->chandef.chan, in mt76x2_config()
90 if (test_bit(MT76_STATE_RUNNING, &dev->mphy.state)) { in mt76x2_config()
123 dev->mphy.chainmask = (tx_ant == 3) ? 0x202 : 0x101; in mt76x2_set_antenna()
124 dev->mphy.antenna_mask = tx_ant; in mt76x2_set_antenna()
126 mt76_set_stream_caps(&dev->mphy, true); in mt76x2_set_antenna()