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()
263 if (mtk_wed_device_active(wed) && wed_reset) { in mt7996_dma_start()
268 mtk_wed_device_start(wed, wed_irq_mask); in mt7996_dma_start()
362 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_dma_enable()
383 mdev->q_rx[MT_RXQ_RRO_IND].wed = &mdev->mmio.wed; in mt7996_dma_rro_init()
394 mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND0].wed = &mdev->mmio.wed; in mt7996_dma_rro_init()
407 mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND1].wed = &mdev->mmio.wed; in mt7996_dma_rro_init()
421 mdev->q_rx[MT_RXQ_MSDU_PAGE_BAND2].wed = &mdev->mmio.wed; in mt7996_dma_rro_init()
434 mtk_wed_device_start_hw_rro(&mdev->mmio.wed, irq_mask, false); in mt7996_dma_rro_init()
443 struct mtk_wed_device *wed = &dev->mt76.mmio.wed; in mt7996_dma_init() local
463 wed); in mt7996_dma_init()
510 if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed)) { in mt7996_dma_init()
512 dev->mt76.q_rx[MT_RXQ_MAIN].wed = wed; in mt7996_dma_init()
524 if (mtk_wed_device_active(wed) && !dev->has_rro) { in mt7996_dma_init()
526 dev->mt76.q_rx[MT_RXQ_MAIN_WA].wed = wed; in mt7996_dma_init()
553 dev->mt76.q_rx[MT_RXQ_BAND2_WA].wed = wed_hif2; in mt7996_dma_init()
585 if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed) && in mt7996_dma_init()
590 dev->mt76.q_rx[MT_RXQ_RRO_BAND0].wed = wed; in mt7996_dma_init()
601 dev->mt76.q_rx[MT_RXQ_TXFREE_BAND0].wed = wed; in mt7996_dma_init()
615 dev->mt76.q_rx[MT_RXQ_RRO_BAND2].wed = wed; in mt7996_dma_init()
627 dev->mt76.q_rx[MT_RXQ_TXFREE_BAND2].wed = wed_hif2; in mt7996_dma_init()
693 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_dma_reset()
694 mtk_wed_device_dma_reset(&dev->mt76.mmio.wed); in mt7996_dma_reset()
712 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_dma_reset()