| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | dma.c | 16 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 D | mmio.c | 492 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 D | pci.c | 197 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 D | mac.c | 1301 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 D | init.c | 444 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 D | main.c | 1575 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 D | dma.c | 14 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 D | mmio.c | 803 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 D | pci.c | 193 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt7915_pci_probe()
|
| H A D | init.c | 364 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 D | main.c | 1181 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 D | soc.c | 1278 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt798x_wmac_probe()
|
| H A D | mac.c | 930 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 D | mcu.c | 2388 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 D | wed.c | 106 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 D | dma.h | 92 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_dma_reset_tx_queue()
|
| H A D | mmio.c | 78 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_set_irq_mask()
|
| H A D | dma.c | 742 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 D | tx.c | 140 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 D | mt76_connac_mac.c | 536 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 D | mac80211.c | 1510 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_rx_poll_complete()
|
| H A D | mt76_connac_mcu.c | 1265 if (!mtk_wed_device_active(&dev->mmio.wed)) in mt76_connac_mcu_sta_wed_update()
|
| /linux-6.15/include/linux/soc/mediatek/ |
| H A D | mtk_wed.h | 273 #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
|