Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/wireless/mediatek/mt76/mt7996/
H A Ddma.c16 if (mtk_wed_device_active(wed)) { in mt7996_init_tx_queues()
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()
363 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_dma_enable()
511 if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed)) { in mt7996_dma_init()
525 if (mtk_wed_device_active(wed) && !dev->has_rro) { in mt7996_dma_init()
552 if (mtk_wed_device_active(wed_hif2) && !dev->has_rro) { in mt7996_dma_init()
586 if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed) && in mt7996_dma_init()
626 if (mtk_wed_device_active(wed_hif2)) { in mt7996_dma_init()
694 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_dma_reset()
[all …]
H A Dmmio.c492 if (mtk_wed_device_active(&mdev->mmio.wed)) { in mt7996_dual_hif_set_irq_mask()
495 if (mtk_wed_device_active(&mdev->mmio.wed_hif2)) { in mt7996_dual_hif_set_irq_mask()
524 if (dev->hif2 && mtk_wed_device_active(wed_hif2)) { in mt7996_irq_tasklet()
532 if (mtk_wed_device_active(wed)) { in mt7996_irq_tasklet()
582 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_irq_handler()
588 if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2)) in mt7996_irq_handler()
H A Dpci.c197 if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2)) in mt7996_pci_probe()
207 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_pci_probe()
H A Dmac.c1301 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && wcid->sta) { in mt7996_mac_add_txs_skb()
1503 if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2) && in mt7996_queue_rx_skb()
1754 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_mac_restart()
1770 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_mac_restart()
1948 if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2)) in mt7996_mac_reset_work()
1951 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_mac_reset_work()
1976 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_mac_reset_work()
2004 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7996_mac_reset_work()
2019 if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2)) { in mt7996_mac_reset_work()
2033 if (mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7996_mac_reset_work()
[all …]
H A Dinit.c444 if (mtk_wed_device_active(wed)) in mt7996_init_wiphy()
681 if (wed == &dev->mt76.mmio.wed_hif2 && mtk_wed_device_active(wed)) { in mt7996_register_phy()
733 if (!mtk_wed_device_active(wed)) in mt7996_wed_rro_init()
843 if (!mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_wed_rro_free()
H A Dmain.c1575 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) { in mt7996_sta_statistics()
2068 if (!mtk_wed_device_active(wed)) in mt7996_net_fill_forward_path()
/linux-6.15/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.c803 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt7915_dual_hif_set_irq_mask()
829 if (mtk_wed_device_active(wed)) { in mt7915_irq_tasklet()
898 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.c364 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt7915_init_wiphy()
542 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7915_mac_init_band()
H A Dmain.c1181 if (mtk_wed_device_active(&phy->dev->mt76.mmio.wed)) { in mt7915_sta_statistics()
1726 if (!mtk_wed_device_active(wed)) in mt7915_net_fill_forward_path()
H A Dsoc.c1278 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt798x_wmac_probe()
H A Dmac.c930 if (!mtk_wed_device_active(&mdev->mmio.wed) && wcid) { in mt7915_mac_tx_free()
1553 if (mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7915_mac_reset_work()
H A Dmcu.c2388 if ((mtk_wed_device_active(&dev->mt76.mmio.wed) && in mt7915_mcu_init_firmware()
2406 return mt7915_mcu_set_red(dev, mtk_wed_device_active(&dev->mt76.mmio.wed)); in mt7915_mcu_init_firmware()
/linux-6.15/drivers/net/wireless/mediatek/mt76/
H A Dwed.c106 if (!q->wed || !mtk_wed_device_active(q->wed)) in mt76_wed_dma_setup()
194 if (!mtk_wed_device_active(wed)) in mt76_wed_net_setup_tc()
H A Ddma.h92 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_dma_reset_tx_queue()
H A Dmmio.c78 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_set_irq_mask()
H A Ddma.c742 if (mtk_wed_device_active(&dev->mmio.wed)) { in mt76_dma_alloc_queue()
806 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_dma_rx_reset()
1034 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_dma_cleanup()
1044 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_dma_cleanup()
1047 if (mtk_wed_device_active(&dev->mmio.wed_hif2)) in mt76_dma_cleanup()
H A Dtx.c140 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_tx_status_skb_add()
855 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_token_consume()
899 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_token_release()
H A Dmt76_connac_mac.c536 if (is_mt7915(dev) && mtk_wed_device_active(&dev->mmio.wed)) in mt76_connac2_mac_write_txwi()
624 if (mtk_wed_device_active(&dev->mmio.wed) && in mt76_connac2_mac_fill_txs()
H A Dmac80211.c1510 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_rx_poll_complete()
H A Dmt76_connac_mcu.c1265 if (!mtk_wed_device_active(&dev->mmio.wed)) in mt76_connac_mcu_sta_wed_update()
/linux-6.15/include/linux/soc/mediatek/
H A Dmtk_wed.h273 #define mtk_wed_device_active(_dev) !!(_dev)->ops macro
308 static inline bool mtk_wed_device_active(struct mtk_wed_device *dev) in mtk_wed_device_active() function