Lines Matching refs:mt76
40 return mt76_init_mcu_queue(&dev->mt76, MT_MCUQ_WM, MT7622_TXQ_MCU, in mt7622_init_tx_queues_multi()
49 ret = mt76_init_mcu_queue(&dev->mt76, MT_MCUQ_FWDL, MT7615_TXQ_FWDL, in mt7615_init_tx_queues()
54 if (!is_mt7615(&dev->mt76)) in mt7615_init_tx_queues()
65 return mt76_init_mcu_queue(&dev->mt76, MT_MCUQ_WM, MT7615_TXQ_MCU, in mt7615_init_tx_queues()
73 dev = container_of(napi, struct mt7615_dev, mt76.tx_napi); in mt7615_poll_tx()
76 queue_work(dev->mt76.wq, &dev->pm.wake_work); in mt7615_poll_tx()
80 mt76_queue_tx_cleanup(dev, dev->mt76.q_mcu[MT_MCUQ_WM], false); in mt7615_poll_tx()
94 dev = container_of(napi->dev, struct mt7615_dev, mt76.napi_dev); in mt7615_poll_rx()
98 queue_work(dev->mt76.wq, &dev->pm.wake_work); in mt7615_poll_rx()
109 struct mt76_dev *mdev = &dev->mt76; in mt7615_wait_pdma_busy()
211 if (is_mt7622(&dev->mt76)) in mt7615_dma_start()
214 if (is_mt7663(&dev->mt76)) { in mt7615_dma_start()
228 mt76_dma_attach(&dev->mt76); in mt7615_dma_init()
247 if (is_mt7615(&dev->mt76)) { in mt7615_dma_init()
267 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MCU], 1, in mt7615_dma_init()
273 if (!is_mt7615(&dev->mt76)) in mt7615_dma_init()
276 ret = mt76_queue_alloc(dev, &dev->mt76.q_rx[MT_RXQ_MAIN], 0, in mt7615_dma_init()
287 netif_napi_add_tx(&dev->mt76.tx_napi_dev, &dev->mt76.tx_napi, in mt7615_dma_init()
289 napi_enable(&dev->mt76.tx_napi); in mt7615_dma_init()
298 if (is_mt7663(&dev->mt76)) in mt7615_dma_init()
317 mt76_dma_cleanup(&dev->mt76); in mt7615_dma_cleanup()