Home
last modified time | relevance | path

Searched refs:hif2 (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dpci.c106 struct mt7915_hif *hif2 = NULL; in mt7915_pci_probe() local
144 hif2 = mt7915_pci_init_hif2(pdev); in mt7915_pci_probe()
148 mt7915_put_hif2(hif2); in mt7915_pci_probe()
158 mt7915_put_hif2(hif2); in mt7915_pci_probe()
165 if (hif2) { in mt7915_pci_probe()
166 dev->hif2 = hif2; in mt7915_pci_probe()
175 ret = devm_request_irq(mdev->dev, dev->hif2->irq, in mt7915_pci_probe()
189 if (dev->hif2) in mt7915_pci_probe()
190 devm_free_irq(mdev->dev, dev->hif2->irq, dev); in mt7915_pci_probe()
192 if (dev->hif2) in mt7915_pci_probe()
[all …]
H A Dmmio.c834 if (dev->hif2) in mt7915_irq_tasklet()
839 if (dev->hif2) in mt7915_irq_tasklet()
847 if (dev->hif2) { in mt7915_irq_tasklet()
906 if (dev->hif2) in mt7915_irq_handler()
H A Dmt7915.h254 struct mt7915_hif *hif2; member
570 if (dev->hif2) in mt7915_irq_enable()
580 if (dev->hif2) in mt7915_irq_disable()
H A Dmac.c1301 if (dev->hif2) { in mt7915_mac_restart()
1308 if (dev->hif2) { in mt7915_mac_restart()
1360 if (dev->hif2) { in mt7915_mac_restart()
1366 if (dev->hif2) { in mt7915_mac_restart()
1368 dev->hif2->index | MT_PCIE_RECOG_ID_SEM); in mt7915_mac_restart()
H A Dinit.c656 if (!is_mt7915(&dev->mt76) && dev->hif2) in mt7915_mac_init()
H A Dmcu.c2423 if (dev->hif2) { in mt7915_mcu_init_firmware()
2489 if (dev->hif2) in mt7915_mcu_exit()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmmio.c483 bool hif2, int *irq) in mt7996_mmio_wed_init() argument
493 if (hif2 && !mtk_wed_device_active(&dev->mt76.mmio.wed)) in mt7996_mmio_wed_init()
496 hif1_ofs = dev->hif2 ? MT_WFDMA0_PCIE1(0) - MT_WFDMA0(0) : 0; in mt7996_mmio_wed_init()
498 if (hif2) in mt7996_mmio_wed_init()
512 if (hif2) { in mt7996_mmio_wed_init()
573 wed->wlan.rx_npkt = dev->hif2 ? 32768 : 24576; in mt7996_mmio_wed_init()
603 if (dev->hif2 && is_mt7992(&dev->mt76)) in mt7996_mmio_wed_init()
609 wed->wlan.hif2 = hif2; in mt7996_mmio_wed_init()
619 if (!hif2) { in mt7996_mmio_wed_init()
627 if (!hif2) { in mt7996_mmio_wed_init()
[all …]
H A Dmt7996.h416 struct mt7996_hif *hif2; member
829 if (dev->hif2) in mt7996_irq_enable()
839 if (dev->hif2) in mt7996_irq_disable()
946 bool hif2, int *irq);
H A Dinit.c635 if (dev->hif2) { in mt7996_mac_init()
701 if (dev->hif2 && in mt7996_register_phy()
745 ((band == MT_BAND1 && !dev->hif2) || in mt7996_register_phy()
H A Dmac.c2292 if (dev->hif2) { in mt7996_mac_restart()
2299 if (dev->hif2) in mt7996_mac_restart()
2347 if (dev->hif2) { in mt7996_mac_restart()
2353 if (dev->hif2) in mt7996_mac_restart()
H A Dmain.c2421 if (dev->hif2 && in mt7996_net_fill_forward_path()
H A Dmcu.c3726 if (dev->hif2) { in mt7996_mcu_init_firmware()
3781 if (dev->hif2) in mt7996_mcu_exit()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76.h1300 if (wed->wlan.hif2) in mt76_wed_to_dev()