Lines Matching full:mt76
40 wcid = rcu_dereference(dev->mt76.wcid[idx]); in mt7603_rx_loopback_skb()
74 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_queue_rx_skb()
83 mt76_mcu_rx_event(&dev->mt76, skb); in mt7603_queue_rx_skb()
96 mt76_mcu_rx_event(&dev->mt76, skb); in mt7603_queue_rx_skb()
100 mt76_rx(&dev->mt76, q, skb); in mt7603_queue_rx_skb()
131 dev = container_of(napi, struct mt7603_dev, mt76.tx_napi); in mt7603_poll_tx()
134 mt76_queue_tx_cleanup(dev, dev->mt76.q_mcu[MT_MCUQ_WM], false); in mt7603_poll_tx()
141 mt76_queue_tx_cleanup(dev, dev->mt76.q_mcu[MT_MCUQ_WM], false); in mt7603_poll_tx()
147 mt76_worker_schedule(&dev->mt76.tx_worker); in mt7603_poll_tx()
163 mt76_dma_attach(&dev->mt76); in mt7603_dma_init()
186 ret = mt76_init_mcu_queue(&dev->mt76, MT_MCUQ_WM, MT_TX_HW_QUEUE_MCU, in mt7603_dma_init()
211 ret = mt7603_init_rx_queue(dev, &dev->mt76.q_rx[MT_RXQ_MCU], 1, in mt7603_dma_init()
216 ret = mt7603_init_rx_queue(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], 0, in mt7603_dma_init()
226 netif_napi_add_tx(&dev->mt76.tx_napi_dev, &dev->mt76.tx_napi, in mt7603_dma_init()
228 napi_enable(&dev->mt76.tx_napi); in mt7603_dma_init()
240 mt76_dma_cleanup(&dev->mt76); in mt7603_dma_cleanup()