Home
last modified time | relevance | path

Searched refs:mtk_wed_device_active (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Ddma.c16 if (mtk_wed_device_active(wed)) { in mt7996_init_tx_queues()
305 if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed)) in mt7996_dma_start()
342 if (mtk_wed_device_active(wed) && wed_reset) { in mt7996_dma_start()
479 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_dma_enable()
506 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt7996_dma_rro_init()
518 if (!mtk_wed_device_active(&mdev->mmio.wed)) { in mt7996_dma_rro_init()
532 if (mtk_wed_device_active(&mdev->mmio.wed) && in mt7996_dma_rro_init()
545 if (mtk_wed_device_active(&mdev->mmio.wed) && in mt7996_dma_rro_init()
560 if (mtk_wed_device_active(&mdev->mmio.wed) && in mt7996_dma_rro_init()
576 if (mtk_wed_device_active(&mdev->mmio.wed) && in mt7996_dma_rro_init()
[all …]
H A Dmmio.c691 if (mtk_wed_device_active(&mdev->mmio.wed)) { in mt7996_dual_hif_set_irq_mask()
694 if (mtk_wed_device_active(&mdev->mmio.wed_hif2)) { in mt7996_dual_hif_set_irq_mask()
732 if (dev->hif2 && mtk_wed_device_active(wed_hif2)) { in mt7996_irq_tasklet()
746 if (mtk_wed_device_active(wed)) { in mt7996_irq_tasklet()
796 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_irq_handler()
802 if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2)) in mt7996_irq_handler()
H A Dpci.c206 if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2)) in mt7996_pci_probe()
216 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_pci_probe()
H A Dinit.c478 if (mtk_wed_device_active(wed) || mt76_npu_device_active(mdev)) in mt7996_init_wiphy()
731 if (wed == &dev->mt76.mmio.wed_hif2 && mtk_wed_device_active(wed)) { in mt7996_register_phy()
779 if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed)) { in mt7996_rro_hw_init_v3()
794 if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed)) { in mt7996_rro_hw_init_v3()
833 if (!mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_rro_hw_init()
939 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_wed_rro_init()
963 if (!mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_wed_rro_init()
1740 !mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_unregister_device()
H A Dmac.c1475 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && wcid->sta) { in mt7996_mac_add_txs_skb()
1674 if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2) && in mt7996_queue_rx_skb()
2283 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_mac_restart()
2299 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_mac_restart()
2330 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_mac_restart()
2349 if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2)) { in mt7996_mac_restart()
2541 if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2)) in mt7996_mac_reset_work()
2544 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_mac_reset_work()
2563 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_mac_reset_work()
2596 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7996_mac_reset_work()
[all …]
H A Dmain.c1697 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7996_sta_statistics()
2196 if (!mtk_wed_device_active(wed) && in mt7996_net_fill_forward_path()
2203 if (mtk_wed_device_active(wed)) in mt7996_net_fill_forward_path()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Ddma.c14 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7915_init_tx_queues()
87 if (is_mt7916(&dev->mt76) && mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7915_dma_config()
309 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && wed_reset) { in mt7915_dma_start()
424 if (mtk_wed_device_active(&mdev->mmio.wed)) { in mt7915_dma_init()
494 if (mtk_wed_device_active(&mdev->mmio.wed) && is_mt7915(mdev)) { in mt7915_dma_init()
511 if (mtk_wed_device_active(&mdev->mmio.wed) && in mt7915_dma_init()
533 if (mtk_wed_device_active(&mdev->mmio.wed)) { in mt7915_dma_init()
550 if (mtk_wed_device_active(&mdev->mmio.wed) && in mt7915_dma_init()
613 if (mtk_wed_device_active(wed)) in mt7915_dma_reset()
641 if (mtk_wed_device_active(wed) && is_mt7915(&dev->mt76)) in mt7915_dma_reset()
H A Dmmio.c806 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt7915_dual_hif_set_irq_mask()
832 if (mtk_wed_device_active(wed)) { in mt7915_irq_tasklet()
901 if (mtk_wed_device_active(wed)) in mt7915_irq_handler()
H A Dpci.c193 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt7915_pci_probe()
H A Dinit.c371 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt7915_init_wiphy()
550 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7915_mac_init_band()
H A Dmain.c1184 if (mtk_wed_device_active(&phy->dev->mt76.mmio.wed)) { in mt7915_sta_statistics()
1729 if (!mtk_wed_device_active(wed)) in mt7915_net_fill_forward_path()
H A Dsoc.c1273 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt798x_wmac_probe()
H A Dmac.c927 if (!mtk_wed_device_active(&mdev->mmio.wed) && wcid) { in mt7915_mac_tx_free()
1547 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7915_mac_reset_work()
H A Dmcu.c2416 if ((mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7915_mcu_init_firmware()
2434 return mt7915_mcu_set_red(dev, mtk_wed_device_active(&dev->mt76.mmio.wed)); in mt7915_mcu_init_firmware()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dwed.c102 if (!q->wed || !mtk_wed_device_active(q->wed)) in mt76_wed_dma_setup()
190 if (!mtk_wed_device_active(wed)) in mt76_wed_net_setup_tc()
H A Dmmio.c86 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_set_irq_mask()
H A Ddma.c841 if (mtk_wed_device_active(&dev->mmio.wed)) { in mt76_dma_alloc_queue()
914 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_dma_rx_reset()
1171 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_dma_cleanup()
1181 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_dma_cleanup()
1184 if (mtk_wed_device_active(&dev->mmio.wed_hif2)) in mt76_dma_cleanup()
H A Ddma.h178 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_dma_reset_tx_queue()
H A Dtx.c140 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_tx_status_skb_add()
857 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_token_consume()
901 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_token_release()
H A Dmt76_connac_mac.c539 if (is_mt7915(dev) && mtk_wed_device_active(&dev->mmio.wed)) in mt76_connac2_mac_write_txwi()
628 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_connac2_mac_fill_txs()
H A Dmac80211.c1557 if (mtk_wed_device_active(&dev->mmio.wed) || in mt76_rx_poll_complete()
H A Dmt76_connac_mcu.c1264 if (!mtk_wed_device_active(&dev->mmio.wed)) in mt76_connac_mcu_sta_wed_update()
/linux/include/linux/soc/mediatek/
H A Dmtk_wed.h274 #define mtk_wed_device_active(_dev) !!(_dev)->ops macro
309 static inline bool mtk_wed_device_active(struct mtk_wed_device *dev) in mtk_wed_device_active() function