Lines Matching full:wed
11 int ring_base, struct mtk_wed_device *wed) in mt7996_init_tx_queues() argument
16 if (mtk_wed_device_active(wed)) { in mt7996_init_tx_queues()
27 ring_base, wed, flags); in mt7996_init_tx_queues()
221 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_dma_start() local
230 if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed)) in mt7996_dma_start()
264 if (mtk_wed_device_active(wed) && wed_reset) { in mt7996_dma_start()
269 mtk_wed_device_start(wed, wed_irq_mask); in mt7996_dma_start()
363 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_dma_enable()
384 mdev->q_rx[MT_RXQ_RRO_IND].wed = &mdev->mmio.wed; in mt7996_dma_rro_init()
395 mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND0].wed = &mdev->mmio.wed; in mt7996_dma_rro_init()
408 mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND1].wed = &mdev->mmio.wed; in mt7996_dma_rro_init()
422 mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND2].wed = &mdev->mmio.wed; in mt7996_dma_rro_init()
435 mtk_wed_device_start_hw_rro(&mdev->mmio.wed, irq_mask, false); in mt7996_dma_rro_init()
444 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_dma_init() local
464 wed); in mt7996_dma_init()
511 if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed)) { in mt7996_dma_init()
513 dev->mt76.q_rx[MT_RXQ_MAIN].wed = wed; in mt7996_dma_init()
525 if (mtk_wed_device_active(wed) && !dev->has_rro) { in mt7996_dma_init()
527 dev->mt76.q_rx[MT_RXQ_MAIN_WA].wed = wed; in mt7996_dma_init()
554 dev->mt76.q_rx[MT_RXQ_BAND2_WA].wed = wed_hif2; in mt7996_dma_init()
586 if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed) && in mt7996_dma_init()
591 dev->mt76.q_rx[MT_RXQ_RRO_BAND0].wed = wed; in mt7996_dma_init()
602 dev->mt76.q_rx[MT_RXQ_TXFREE_BAND0].wed = wed; in mt7996_dma_init()
616 dev->mt76.q_rx[MT_RXQ_RRO_BAND2].wed = wed; in mt7996_dma_init()
628 dev->mt76.q_rx[MT_RXQ_TXFREE_BAND2].wed = wed_hif2; in mt7996_dma_init()
694 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_dma_reset()
695 mtk_wed_device_dma_reset(&dev->mt76.mmio.wed); in mt7996_dma_reset()
713 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_dma_reset()