| /linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | dma.c | 16 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 D | mmio.c | 691 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 D | pci.c | 206 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 D | init.c | 478 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 D | mac.c | 1475 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 D | main.c | 1697 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 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 | 806 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 D | pci.c | 193 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt7915_pci_probe()
|
| H A D | init.c | 371 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 D | main.c | 1184 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 D | soc.c | 1273 if (mtk_wed_device_active(&mdev->mmio.wed)) in mt798x_wmac_probe()
|
| H A D | mac.c | 927 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 D | mcu.c | 2416 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 D | wed.c | 102 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 D | mmio.c | 86 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_set_irq_mask()
|
| H A D | dma.c | 841 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 D | dma.h | 178 if (mtk_wed_device_active(&dev->mmio.wed)) in mt76_dma_reset_tx_queue()
|
| H A D | tx.c | 140 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 D | mt76_connac_mac.c | 539 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 D | mac80211.c | 1557 if (mtk_wed_device_active(&dev->mmio.wed) || in mt76_rx_poll_complete()
|
| H A D | mt76_connac_mcu.c | 1264 if (!mtk_wed_device_active(&dev->mmio.wed)) in mt76_connac_mcu_sta_wed_update()
|
| /linux/include/linux/soc/mediatek/ |
| H A D | mtk_wed.h | 274 #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
|