Home
last modified time | relevance | path

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

/src/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dpci.c130 struct mt7915_hif *hif2 = NULL; in mt7915_pci_probe() local
162 hif2 = mt7915_pci_init_hif2(pdev); in mt7915_pci_probe()
169 hif2 = mt7915_pci_init_hif2(pdev); in mt7915_pci_probe()
186 if (hif2) { in mt7915_pci_probe()
187 dev->hif2 = hif2; in mt7915_pci_probe()
196 ret = devm_request_irq(mdev->dev, dev->hif2->irq, in mt7915_pci_probe()
210 if (dev->hif2) in mt7915_pci_probe()
211 devm_free_irq(mdev->dev, dev->hif2->irq, dev); in mt7915_pci_probe()
213 if (dev->hif2) in mt7915_pci_probe()
214 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 Dmt7915.h254 struct mt7915_hif *hif2; member
549 if (dev->hif2) in mt7915_irq_enable()
559 if (dev->hif2) in mt7915_irq_disable()
H A Dmmio.c846 if (dev->hif2) in mt7915_irq_tasklet()
851 if (dev->hif2) in mt7915_irq_tasklet()
859 if (dev->hif2) { in mt7915_irq_tasklet()
918 if (dev->hif2) in mt7915_irq_handler()
H A Dmac.c1347 if (dev->hif2) { in mt7915_mac_restart()
1354 if (dev->hif2) { in mt7915_mac_restart()
1406 if (dev->hif2) { in mt7915_mac_restart()
1412 if (dev->hif2) { in mt7915_mac_restart()
1414 dev->hif2->index | MT_PCIE_RECOG_ID_SEM); in mt7915_mac_restart()
H A Dinit.c645 if (!is_mt7915(&dev->mt76) && dev->hif2) in mt7915_mac_init()
H A Dmcu.c2405 if (dev->hif2) { in mt7915_mcu_init_firmware()
2471 if (dev->hif2) in mt7915_mcu_exit()
/src/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dpci.c121 struct mt7996_hif *hif2; in mt7996_pci_probe() local
158 hif2 = mt7996_pci_init_hif2(pdev); in mt7996_pci_probe()
159 dev->hif2 = hif2; in mt7996_pci_probe()
185 if (hif2) { in mt7996_pci_probe()
186 hif2_dev = container_of(hif2->dev, struct pci_dev, dev); in mt7996_pci_probe()
198 dev->hif2->irq = hif2_dev->irq; in mt7996_pci_probe()
199 hif2_irq = dev->hif2->irq; in mt7996_pci_probe()
220 if (dev->hif2) in mt7996_pci_probe()
223 if (dev->hif2) { in mt7996_pci_probe()
230 if (dev->hif2) in mt7996_pci_probe()
[all …]
H A Ddma.c80 if (dev->hif2) in mt7996_dma_config()
135 if (dev->hif2) { in mt7996_dma_config()
147 if (dev->hif2) { in mt7996_dma_config()
195 if (!is_mt7996(&dev->mt76) || dev->hif2) in __mt7996_dma_prefetch()
216 if (is_mt7990(&dev->mt76) && dev->hif2) in __mt7996_dma_prefetch()
248 if (dev->hif2) in mt7996_dma_prefetch()
256 if (dev->hif2) in mt7996_dma_disable()
268 if (dev->hif2) { in mt7996_dma_disable()
287 if (dev->hif2) { in mt7996_dma_disable()
303 if (dev->hif2) in mt7996_dma_start()
[all …]
H A Dmmio.c472 bool hif2, int *irq) in mt7996_mmio_wed_init() argument
485 hif1_ofs = dev->hif2 ? MT_WFDMA0_PCIE1(0) - MT_WFDMA0(0) : 0; in mt7996_mmio_wed_init()
487 if (hif2) in mt7996_mmio_wed_init()
501 if (hif2) { in mt7996_mmio_wed_init()
569 wed->wlan.rx_npkt = dev->hif2 ? 32768 : 24576; in mt7996_mmio_wed_init()
607 if (dev->hif2 && is_mt7992(&dev->mt76)) in mt7996_mmio_wed_init()
613 wed->wlan.hif2 = hif2; in mt7996_mmio_wed_init()
623 if (!hif2) { in mt7996_mmio_wed_init()
747 if (dev->hif2 && mtk_wed_device_active(wed_hif2)) { in mt7996_irq_tasklet()
767 if (dev->hif2) in mt7996_irq_tasklet()
[all …]
H A Dmt7996.h395 struct mt7996_hif *hif2; member
772 if (dev->hif2) in mt7996_irq_enable()
782 if (dev->hif2) in mt7996_irq_disable()
875 bool hif2, int *irq);
H A Dinit.c618 if (dev->hif2) in mt7996_mac_init()
679 if (dev->hif2 && in mt7996_register_phy()
729 if (is_mt7996(&dev->mt76) && !dev->hif2 && band == MT_BAND1) { in mt7996_register_phy()
H A Dmac.c2279 if (dev->hif2) { in mt7996_mac_restart()
2286 if (dev->hif2) in mt7996_mac_restart()
2334 if (dev->hif2) { in mt7996_mac_restart()
2340 if (dev->hif2) in mt7996_mac_restart()
H A Dmcu.c3356 if (dev->hif2) { in mt7996_mcu_init_firmware()
3411 if (dev->hif2) in mt7996_mcu_exit()
H A Dmain.c2191 if (dev->hif2 && in mt7996_net_fill_forward_path()
/src/sys/contrib/device-tree/Bindings/net/
H A Dmarvell,pp2.yaml80 - const: hif2
256 interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4",
276 interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4",
295 interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4",
H A Dmarvell-pp2.txt102 interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4",
119 interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4",
136 interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4",
/src/sys/contrib/device-tree/src/arm64/marvell/
H A Darmada-cp11x.dtsi85 interrupt-names = "hif0", "hif1", "hif2",
105 interrupt-names = "hif0", "hif1", "hif2",
125 interrupt-names = "hif0", "hif1", "hif2",
/src/sys/contrib/dev/mediatek/mt76/
H A Dmt76.h1290 if (wed->wlan.hif2) in mt76_wed_to_dev()