Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.h180 const struct mt792x_irq_map *irq_map; member
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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.c255 static const struct mt792x_irq_map irq_map = { in mt7921_pci_probe() local
319 dev->irq_map = &irq_map; in mt7921_pci_probe()
355 mt76_wr(dev, irq_map.host_irq_enable, 0); in mt7921_pci_probe()
438 mt76_wr(dev, dev->irq_map->host_irq_enable, 0); in mt7921_pci_suspend()
486 dev->irq_map->tx.all_complete_mask | in mt7921_pci_resume()
/linux-6.6.21/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-6.6.21/arch/powerpc/kvm/
Dbook3s_hv_builtin.c342 struct kvmppc_irq_map *irq_map; in kvmppc_check_passthru() local
351 irq_map = get_irqmap(pimap, xisr); in kvmppc_check_passthru()
352 if (!irq_map) in kvmppc_check_passthru()
358 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.c5639 struct kvmppc_irq_map *irq_map; in kvmppc_set_passthru_irq() local
5698 irq_map = &pimap->mapped[i]; in kvmppc_set_passthru_irq()
5700 irq_map->v_hwirq = guest_gsi; in kvmppc_set_passthru_irq()
5701 irq_map->desc = desc; in kvmppc_set_passthru_irq()
5715 irq_map->r_hwirq = (unsigned int)irqd_to_hwirq(host_data); in kvmppc_set_passthru_irq()
5723 kvmppc_xics_set_mapped(kvm, guest_gsi, irq_map->r_hwirq); in kvmppc_set_passthru_irq()
5725 irq_map->r_hwirq = 0; in kvmppc_set_passthru_irq()
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/arch/powerpc/include/asm/
Dkvm_ppc.h651 struct kvmppc_irq_map *irq_map,

12