Home
last modified time | relevance | path

Searched refs:irq_map (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v6.6/drivers/net/wireless/mediatek/mt76/
Dmt792x_dma.c15 mt76_wr(dev, dev->irq_map->host_irq_enable, 0); in mt792x_irq_handler()
29 const struct mt792x_irq_map *irq_map = dev->irq_map; in mt792x_irq_tasklet() local
32 mt76_wr(dev, irq_map->host_irq_enable, 0); in mt792x_irq_tasklet()
40 mask |= intr & (irq_map->rx.data_complete_mask | in mt792x_irq_tasklet()
41 irq_map->rx.wm_complete_mask | in mt792x_irq_tasklet()
42 irq_map->rx.wm2_complete_mask); in mt792x_irq_tasklet()
43 if (intr & dev->irq_map->tx.mcu_complete_mask) in mt792x_irq_tasklet()
44 mask |= dev->irq_map->tx.mcu_complete_mask; in mt792x_irq_tasklet()
53 mask |= irq_map->rx.data_complete_mask; in mt792x_irq_tasklet()
54 intr |= irq_map->rx.data_complete_mask; in mt792x_irq_tasklet()
[all …]
Dmt792x.h181 const struct mt792x_irq_map *irq_map; member
/Linux-v6.6/drivers/irqchip/
Dirq-crossbar.c37 uint *irq_map; member
86 if (cb->irq_map[i] == IRQ_FREE) { in allocate_gic_irq()
87 cb->irq_map[i] = hwirq; in allocate_gic_irq()
104 cb->irq_map[i] = IRQ_FREE; in allocate_gic_irq()
162 cb->irq_map[d->hwirq] = IRQ_FREE; in crossbar_domain_free()
225 cb->irq_map = kcalloc(max, sizeof(int), GFP_KERNEL); in crossbar_of_init()
226 if (!cb->irq_map) in crossbar_of_init()
232 cb->irq_map[i] = IRQ_FREE; in crossbar_of_init()
248 cb->irq_map[entry] = IRQ_RESERVED; in crossbar_of_init()
266 cb->irq_map[entry] = IRQ_SKIP; in crossbar_of_init()
[all …]
/Linux-v6.6/arch/powerpc/platforms/4xx/
Dhsta_msi.c31 int *irq_map; member
59 hwirq = ppc4xx_hsta_msi.irq_map[irq]; in hsta_setup_msi_irqs()
98 if (ppc4xx_hsta_msi.irq_map[irq] == hwirq) in hsta_find_hwirq_offset()
154 ppc4xx_hsta_msi.irq_map = kmalloc_array(irq_count, sizeof(int), in hsta_msi_probe()
156 if (!ppc4xx_hsta_msi.irq_map) { in hsta_msi_probe()
163 ppc4xx_hsta_msi.irq_map[irq] = in hsta_msi_probe()
165 if (!ppc4xx_hsta_msi.irq_map[irq]) { in hsta_msi_probe()
179 kfree(ppc4xx_hsta_msi.irq_map); in hsta_msi_probe()
/Linux-v6.6/arch/sparc/kernel/
Dirq_32.c118 struct irq_bucket *irq_map[SUN4D_MAX_IRQ]; variable
170 p->next = irq_map[pil]; in irq_link()
171 irq_map[pil] = p; in irq_link()
187 pnext = &irq_map[p->pil]; in irq_unlink()
227 p = irq_map[pil]; in handler_irq()
Dleon_pci_grpci1.c89 unsigned char irq_map[4]; /* GRPCI nexus PCI INTX# IRQs */ member
115 return priv->irq_map[pin]; in grpci1_map_irq()
382 generic_handle_irq(priv->irq_map[i]); in grpci1_pci_flow_irq()
641 priv->irq_map[0] = grpci1_build_device_irq(1); in grpci1_of_probe()
642 priv->irq_map[1] = grpci1_build_device_irq(2); in grpci1_of_probe()
643 priv->irq_map[2] = grpci1_build_device_irq(3); in grpci1_of_probe()
644 priv->irq_map[3] = grpci1_build_device_irq(4); in grpci1_of_probe()
648 priv->irq_map[0], priv->irq_map[1], priv->irq_map[2], in grpci1_of_probe()
649 priv->irq_map[3]); in grpci1_of_probe()
Dleon_pci_grpci2.c204 unsigned char irq_map[4]; member
233 return priv->irq_map[pin]; in grpci2_map_irq()
525 generic_handle_irq(priv->irq_map[i]); in grpci2_pci_flow_irq()
821 priv->irq_map[0] = grpci2_build_device_irq(1); in grpci2_of_probe()
822 priv->irq_map[1] = grpci2_build_device_irq(2); in grpci2_of_probe()
823 priv->irq_map[2] = grpci2_build_device_irq(3); in grpci2_of_probe()
824 priv->irq_map[3] = grpci2_build_device_irq(4); in grpci2_of_probe()
844 priv->irq_map[i] = ofdev->archdata.irqs[i]; in grpci2_of_probe()
846 priv->virq_err = priv->irq_map[0]; in grpci2_of_probe()
850 priv->virq_dma = priv->irq_map[0]; in grpci2_of_probe()
Dirq.h23 extern struct irq_bucket *irq_map[SUN4D_MAX_IRQ];
Dsun4d_irq.c134 p = irq_map[pil]; in sun4d_sbus_handler_irq()
173 p = irq_map[pil]; in sun4d_handler_irq()
Dleon_kernel.c62 p = irq_map[eirq]; in leon_handle_ext_irq()
/Linux-v6.6/arch/mips/pci/
Dfixup-rc32434.c34 static int irq_map[2][12] = { variable
44 irq = irq_map[dev->bus->number][PCI_SLOT(dev->devfn)]; in pcibios_map_irq()
/Linux-v6.6/arch/nios2/kernel/
Dirq.c48 static int irq_map(struct irq_domain *h, unsigned int virq, in irq_map() function
57 .map = irq_map,
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7921/
Dpci_mac.c64 mt76_wr(dev, dev->irq_map->host_irq_enable, 0); in mt7921e_mac_reset()
95 mt76_wr(dev, dev->irq_map->host_irq_enable, in mt7921e_mac_reset()
96 dev->irq_map->tx.all_complete_mask | in mt7921e_mac_reset()
Dpci.c253 static const struct mt792x_irq_map irq_map = { in mt7921_pci_probe() local
317 dev->irq_map = &irq_map; in mt7921_pci_probe()
353 mt76_wr(dev, irq_map.host_irq_enable, 0); in mt7921_pci_probe()
436 mt76_wr(dev, dev->irq_map->host_irq_enable, 0); in mt7921_pci_suspend()
484 dev->irq_map->tx.all_complete_mask | in mt7921_pci_resume()
/Linux-v6.6/drivers/net/ethernet/fungible/funcore/
Dfun_dev.c621 fdev->irq_map = bitmap_zalloc(fdev->num_irqs, GFP_KERNEL); in fun_alloc_irq_mgr()
622 if (!fdev->irq_map) in fun_alloc_irq_mgr()
627 __set_bit(0, fdev->irq_map); in fun_alloc_irq_mgr()
645 for_each_clear_bit(b, fdev->irq_map, fdev->num_irqs) { in fun_reserve_irqs()
646 __set_bit(b, fdev->irq_map); in fun_reserve_irqs()
669 __clear_bit(irq_indices[i], fdev->irq_map); in fun_release_irqs()
746 bitmap_free(fdev->irq_map); in fun_dev_disable()
823 bitmap_free(fdev->irq_map); in fun_dev_enable()
Dfun_dev.h79 unsigned long *irq_map; member
/Linux-v6.6/arch/powerpc/kvm/
Dbook3s_hv_builtin.c341 struct kvmppc_irq_map *irq_map; in kvmppc_check_passthru() local
350 irq_map = get_irqmap(pimap, xisr); in kvmppc_check_passthru()
351 if (!irq_map) in kvmppc_check_passthru()
357 return kvmppc_deliver_irq_passthru(vcpu, xirr, irq_map, pimap, again); in kvmppc_check_passthru()
Dbook3s_hv_rm_xics.c846 struct kvmppc_irq_map *irq_map, in kvmppc_deliver_irq_passthru() argument
858 irq = irq_map->v_hwirq; in kvmppc_deliver_irq_passthru()
862 kvmppc_rm_handle_irq_desc(irq_map->desc); in kvmppc_deliver_irq_passthru()
881 icp_eoi(irq_desc_get_irq_data(irq_map->desc), irq_map->r_hwirq, xirr, again); in kvmppc_deliver_irq_passthru()
Dbook3s_hv.c5625 struct kvmppc_irq_map *irq_map; in kvmppc_set_passthru_irq() local
5684 irq_map = &pimap->mapped[i]; in kvmppc_set_passthru_irq()
5686 irq_map->v_hwirq = guest_gsi; in kvmppc_set_passthru_irq()
5687 irq_map->desc = desc; in kvmppc_set_passthru_irq()
5701 irq_map->r_hwirq = (unsigned int)irqd_to_hwirq(host_data); in kvmppc_set_passthru_irq()
5709 kvmppc_xics_set_mapped(kvm, guest_gsi, irq_map->r_hwirq); in kvmppc_set_passthru_irq()
5711 irq_map->r_hwirq = 0; in kvmppc_set_passthru_irq()
/Linux-v6.6/drivers/gpu/drm/i915/gvt/
Dinterrupt.c329 struct intel_gvt_irq_map *map = irq->irq_map; in update_upstream_irq()
342 for (map = irq->irq_map; map->up_irq_bit != -1; map++) { in update_upstream_irq()
387 for (map = irq->irq_map; map->up_irq_bit != -1; map++) { in init_irq_map()
706 irq->irq_map = gen8_irq_map; in intel_gvt_init_irq()
Dinterrupt.h211 struct intel_gvt_irq_map *irq_map; member
/Linux-v6.6/drivers/net/ethernet/cirrus/
Dcs89x0.c144 int irq_map; /* IRQ map from EEPROM */ member
845 if ((1 << i) & lp->irq_map) { in net_open()
864 if (((1 << dev->irq) & lp->irq_map) == 0) { in net_open()
866 dev->name, dev->irq, lp->irq_map); in net_open()
1519 lp->irq_map = 0xffff; in cs89x0_probe1()
1538 lp->irq_map = CS8900_IRQ_MAP; /* fixed IRQ map for CS8900 */ in cs89x0_probe1()
1546 lp->irq_map = ((irq_map_buff[0] >> 8) | in cs89x0_probe1()
/Linux-v6.6/drivers/scsi/hisi_sas/
Dhisi_sas_v2_hw.c3314 &hisi_hba->irq_map); in hisi_sas_v2_interrupt_preinit()
3335 irq = hisi_hba->irq_map[i + 1]; /* Phy up/down is irq1 */ in interrupt_init_v2_hw()
3349 irq = hisi_hba->irq_map[phy_no + 72]; in interrupt_init_v2_hw()
3361 irq = hisi_hba->irq_map[fatal_no + 81]; in interrupt_init_v2_hw()
3375 cq->irq_no = hisi_hba->irq_map[queue_no + 96]; in interrupt_init_v2_hw()
3555 mask = irq_get_affinity_mask(hisi_hba->irq_map[96 + queue]); in map_queues_v2_hw()
Dhisi_sas.h408 int *irq_map; /* v2 hw */ member
/Linux-v6.6/arch/powerpc/include/asm/
Dkvm_ppc.h651 struct kvmppc_irq_map *irq_map,

12