Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dpci.c106 struct mt7915_hif *hif2 = NULL; in mt7915_pci_probe() local
138 hif2 = mt7915_pci_init_hif2(pdev); in mt7915_pci_probe()
145 hif2 = mt7915_pci_init_hif2(pdev); in mt7915_pci_probe()
162 if (hif2) { in mt7915_pci_probe()
163 dev->hif2 = hif2; in mt7915_pci_probe()
172 ret = devm_request_irq(mdev->dev, dev->hif2->irq, in mt7915_pci_probe()
186 if (dev->hif2) in mt7915_pci_probe()
187 devm_free_irq(mdev->dev, dev->hif2->irq, dev); in mt7915_pci_probe()
189 if (dev->hif2) in mt7915_pci_probe()
190 put_device(dev->hif2->dev); in mt7915_pci_probe()
[all …]
H A Ddma.c92 if (dev->hif2) in mt7915_dma_config()
168 if (dev->hif2) in mt7915_dma_prefetch()
177 if (dev->hif2) in mt7915_dma_disable()
200 if (dev->hif2) { in mt7915_dma_disable()
237 if (dev->hif2) { in mt7915_dma_disable()
261 if (dev->hif2) in mt7915_dma_start()
279 if (dev->hif2) { in mt7915_dma_start()
339 if (dev->hif2) in mt7915_dma_enable()
346 if (dev->hif2) { in mt7915_dma_enable()
361 if (dev->hif2) { in mt7915_dma_enable()
[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.h251 struct mt7915_hif *hif2; member
546 if (dev->hif2) in mt7915_irq_enable()
556 if (dev->hif2) in mt7915_irq_disable()
H A Dmac.c1313 if (dev->hif2) { in mt7915_mac_restart()
1320 if (dev->hif2) { in mt7915_mac_restart()
1372 if (dev->hif2) { in mt7915_mac_restart()
1378 if (dev->hif2) { in mt7915_mac_restart()
1380 dev->hif2->index | MT_PCIE_RECOG_ID_SEM); in mt7915_mac_restart()
H A Dinit.c626 if (!is_mt7915(&dev->mt76) && dev->hif2) in mt7915_mac_init()
H A Dmcu.c2395 if (dev->hif2) { in mt7915_mcu_init_firmware()
2461 if (dev->hif2) in mt7915_mcu_exit()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dpci.c103 struct mt7996_hif *hif2; in mt7996_pci_probe() local
140 hif2 = mt7996_pci_init_hif2(pdev); in mt7996_pci_probe()
141 dev->hif2 = hif2; in mt7996_pci_probe()
167 if (hif2) { in mt7996_pci_probe()
168 hif2_dev = container_of(hif2->dev, struct pci_dev, dev); in mt7996_pci_probe()
180 dev->hif2->irq = hif2_dev->irq; in mt7996_pci_probe()
181 hif2_irq = dev->hif2->irq; in mt7996_pci_probe()
202 if (dev->hif2) in mt7996_pci_probe()
205 if (dev->hif2) { in mt7996_pci_probe()
212 if (dev->hif2) in mt7996_pci_probe()
[all …]
H A Ddma.c77 if (dev->hif2) in mt7996_dma_config()
132 if (dev->hif2) { in mt7996_dma_config()
144 if (dev->hif2) { in mt7996_dma_config()
192 if (!is_mt7996(&dev->mt76) || dev->hif2) in __mt7996_dma_prefetch()
213 if (is_mt7990(&dev->mt76) && dev->hif2) in __mt7996_dma_prefetch()
245 if (dev->hif2) in mt7996_dma_prefetch()
253 if (dev->hif2) in mt7996_dma_disable()
265 if (dev->hif2) { in mt7996_dma_disable()
284 if (dev->hif2) { in mt7996_dma_disable()
300 if (dev->hif2) in mt7996_dma_start()
[all …]
H A Dmmio.c457 bool hif2, int *irq) in mt7996_mmio_wed_init() argument
470 hif1_ofs = dev->hif2 ? MT_WFDMA0_PCIE1(0) - MT_WFDMA0(0) : 0; in mt7996_mmio_wed_init()
472 if (hif2) in mt7996_mmio_wed_init()
486 if (hif2) { in mt7996_mmio_wed_init()
554 wed->wlan.rx_npkt = dev->hif2 ? 32768 : 24576; in mt7996_mmio_wed_init()
592 if (dev->hif2 && is_mt7992(&dev->mt76)) in mt7996_mmio_wed_init()
598 wed->wlan.hif2 = hif2; in mt7996_mmio_wed_init()
608 if (!hif2) { in mt7996_mmio_wed_init()
732 if (dev->hif2 && mtk_wed_device_active(wed_hif2)) { in mt7996_irq_tasklet()
752 if (dev->hif2) in mt7996_irq_tasklet()
[all …]
H A Dmt7996.h392 struct mt7996_hif *hif2; member
769 if (dev->hif2) in mt7996_irq_enable()
779 if (dev->hif2) in mt7996_irq_disable()
872 bool hif2, int *irq);
H A Dnpu.c36 if (dev->hif2) in mt7996_npu_offload_init()
H A Dinit.c609 if (dev->hif2) in mt7996_mac_init()
670 if (dev->hif2 && in mt7996_register_phy()
712 if (is_mt7996(&dev->mt76) && !dev->hif2 && band == MT_BAND1) { in mt7996_register_phy()
H A Dmac.c2260 if (dev->hif2) { in mt7996_mac_restart()
2267 if (dev->hif2) in mt7996_mac_restart()
2315 if (dev->hif2) { in mt7996_mac_restart()
2321 if (dev->hif2) in mt7996_mac_restart()
H A Dmain.c2191 if (dev->hif2 && in mt7996_net_fill_forward_path()
H A Dmcu.c3325 if (dev->hif2) { in mt7996_mcu_init_firmware()
3380 if (dev->hif2) in mt7996_mcu_exit()
/linux/arch/arm64/boot/dts/marvell/
H A Darmada-cp11x.dtsi85 interrupt-names = "hif0", "hif1", "hif2",
105 interrupt-names = "hif0", "hif1", "hif2",
125 interrupt-names = "hif0", "hif1", "hif2",
/linux/include/linux/soc/mediatek/
H A Dmtk_wed.h157 bool hif2; member
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76.h1283 if (wed->wlan.hif2) in mt76_wed_to_dev()