/linux-6.3-rc2/drivers/dma/ipu/ |
A D | ipu_irq.c | 87 if (irq_map[i].source == src) in src2map() 88 return irq_map + i; in src2map() 209 if (irq_map[i].source < 0) { in ipu_irq_map() 213 irq_map[i].source = source; in ipu_irq_map() 217 ret = irq_map[i].irq; in ipu_irq_map() 249 source, irq_map[i].irq); in ipu_irq_unmap() 252 irq_map[i].source = -EINVAL; in ipu_irq_unmap() 253 irq_map[i].bank = NULL; in ipu_irq_unmap() 336 irq_map[i].ipu = ipu; in ipu_irq_attach_irq() 337 irq_map[i].irq = irq; in ipu_irq_attach_irq() [all …]
|
/linux-6.3-rc2/drivers/irqchip/ |
A D | irq-crossbar.c | 37 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() 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() 310 cb->irq_map[i] == IRQ_SKIP) in crossbar_of_init() [all …]
|
/linux-6.3-rc2/arch/powerpc/platforms/4xx/ |
A D | hsta_msi.c | 31 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.3-rc2/arch/sparc/kernel/ |
A D | irq_32.c | 118 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()
|
A D | leon_pci_grpci1.c | 88 unsigned char irq_map[4]; /* GRPCI nexus PCI INTX# IRQs */ member 114 return priv->irq_map[pin]; in grpci1_map_irq() 381 generic_handle_irq(priv->irq_map[i]); in grpci1_pci_flow_irq() 640 priv->irq_map[0] = grpci1_build_device_irq(1); in grpci1_of_probe() 641 priv->irq_map[1] = grpci1_build_device_irq(2); in grpci1_of_probe() 642 priv->irq_map[2] = grpci1_build_device_irq(3); in grpci1_of_probe() 643 priv->irq_map[3] = grpci1_build_device_irq(4); in grpci1_of_probe() 647 priv->irq_map[0], priv->irq_map[1], priv->irq_map[2], in grpci1_of_probe() 648 priv->irq_map[3]); in grpci1_of_probe()
|
A D | leon_pci_grpci2.c | 202 unsigned char irq_map[4]; member 231 return priv->irq_map[pin]; in grpci2_map_irq() 523 generic_handle_irq(priv->irq_map[i]); in grpci2_pci_flow_irq() 819 priv->irq_map[0] = grpci2_build_device_irq(1); in grpci2_of_probe() 820 priv->irq_map[1] = grpci2_build_device_irq(2); in grpci2_of_probe() 821 priv->irq_map[2] = grpci2_build_device_irq(3); in grpci2_of_probe() 822 priv->irq_map[3] = grpci2_build_device_irq(4); in grpci2_of_probe() 842 priv->irq_map[i] = ofdev->archdata.irqs[i]; in grpci2_of_probe() 844 priv->virq_err = priv->irq_map[0]; in grpci2_of_probe() 848 priv->virq_dma = priv->irq_map[0]; in grpci2_of_probe()
|
A D | irq.h | 23 extern struct irq_bucket *irq_map[SUN4D_MAX_IRQ];
|
A D | sun4d_irq.c | 134 p = irq_map[pil]; in sun4d_sbus_handler_irq() 173 p = irq_map[pil]; in sun4d_handler_irq()
|
A D | leon_kernel.c | 64 p = irq_map[eirq]; in leon_handle_ext_irq()
|
/linux-6.3-rc2/arch/mips/pci/ |
A D | fixup-rc32434.c | 34 static int irq_map[2][12] = { variable 44 irq = irq_map[dev->bus->number][PCI_SLOT(dev->devfn)]; in pcibios_map_irq()
|
/linux-6.3-rc2/arch/nios2/kernel/ |
A D | irq.c | 48 static int irq_map(struct irq_domain *h, unsigned int virq, in irq_map() function 57 .map = irq_map,
|
/linux-6.3-rc2/drivers/net/ethernet/fungible/funcore/ |
A D | fun_dev.c | 622 fdev->irq_map = bitmap_zalloc(fdev->num_irqs, GFP_KERNEL); in fun_alloc_irq_mgr() 623 if (!fdev->irq_map) in fun_alloc_irq_mgr() 628 __set_bit(0, fdev->irq_map); in fun_alloc_irq_mgr() 646 for_each_clear_bit(b, fdev->irq_map, fdev->num_irqs) { in fun_reserve_irqs() 647 __set_bit(b, fdev->irq_map); in fun_reserve_irqs() 670 __clear_bit(irq_indices[i], fdev->irq_map); in fun_release_irqs() 747 bitmap_free(fdev->irq_map); in fun_dev_disable() 829 bitmap_free(fdev->irq_map); in fun_dev_enable()
|
A D | fun_dev.h | 79 unsigned long *irq_map; member
|
/linux-6.3-rc2/arch/powerpc/kvm/ |
A D | book3s_hv_builtin.c | 341 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()
|
A D | book3s_hv_rm_xics.c | 846 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()
|
A D | book3s_hv.c | 5605 struct kvmppc_irq_map *irq_map; in kvmppc_set_passthru_irq() local 5664 irq_map = &pimap->mapped[i]; in kvmppc_set_passthru_irq() 5666 irq_map->v_hwirq = guest_gsi; in kvmppc_set_passthru_irq() 5667 irq_map->desc = desc; in kvmppc_set_passthru_irq() 5681 irq_map->r_hwirq = (unsigned int)irqd_to_hwirq(host_data); in kvmppc_set_passthru_irq() 5689 kvmppc_xics_set_mapped(kvm, guest_gsi, irq_map->r_hwirq); in kvmppc_set_passthru_irq() 5691 irq_map->r_hwirq = 0; in kvmppc_set_passthru_irq()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/ |
A D | interrupt.c | 329 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()
|
A D | interrupt.h | 211 struct intel_gvt_irq_map *irq_map; member
|
/linux-6.3-rc2/drivers/net/ethernet/cirrus/ |
A D | cs89x0.c | 143 int irq_map; /* IRQ map from EEPROM */ member 844 if ((1 << i) & lp->irq_map) { in net_open() 863 if (((1 << dev->irq) & lp->irq_map) == 0) { in net_open() 865 dev->name, dev->irq, lp->irq_map); in net_open() 1518 lp->irq_map = 0xffff; in cs89x0_probe1() 1537 lp->irq_map = CS8900_IRQ_MAP; /* fixed IRQ map for CS8900 */ in cs89x0_probe1() 1545 lp->irq_map = ((irq_map_buff[0] >> 8) | in cs89x0_probe1()
|
/linux-6.3-rc2/drivers/scsi/hisi_sas/ |
A D | hisi_sas_v2_hw.c | 3304 &hisi_hba->irq_map); in hisi_sas_v2_interrupt_preinit() 3325 irq = hisi_hba->irq_map[i + 1]; /* Phy up/down is irq1 */ in interrupt_init_v2_hw() 3339 irq = hisi_hba->irq_map[phy_no + 72]; in interrupt_init_v2_hw() 3351 irq = hisi_hba->irq_map[fatal_no + 81]; in interrupt_init_v2_hw() 3365 cq->irq_no = hisi_hba->irq_map[queue_no + 96]; in interrupt_init_v2_hw() 3545 mask = irq_get_affinity_mask(hisi_hba->irq_map[96 + queue]); in map_queues_v2_hw()
|
A D | hisi_sas.h | 407 int *irq_map; /* v2 hw */ member
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | kvm_ppc.h | 625 struct kvmppc_irq_map *irq_map,
|
/linux-6.3-rc2/drivers/net/usb/ |
A D | lan78xx.c | 2122 static int irq_map(struct irq_domain *d, unsigned int irq, in irq_map() function 2141 .map = irq_map,
|