Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt792x_dma.c17 mt76_wr(dev, dev->irq_map->host_irq_enable, 0); in mt792x_irq_handler()
31 const struct mt792x_irq_map *irq_map = dev->irq_map; in mt792x_irq_tasklet() local
34 mt76_wr(dev, irq_map->host_irq_enable, 0); in mt792x_irq_tasklet()
42 mask |= intr & (irq_map->rx.data_complete_mask | in mt792x_irq_tasklet()
43 irq_map->rx.wm_complete_mask | in mt792x_irq_tasklet()
44 irq_map->rx.wm2_complete_mask); in mt792x_irq_tasklet()
45 if (intr & dev->irq_map->tx.mcu_complete_mask) in mt792x_irq_tasklet()
46 mask |= dev->irq_map->tx.mcu_complete_mask; in mt792x_irq_tasklet()
55 mask |= irq_map->rx.data_complete_mask; in mt792x_irq_tasklet()
56 intr |= irq_map->rx.data_complete_mask; in mt792x_irq_tasklet()
[all …]
H A Dmt792x.h229 const struct mt792x_irq_map *irq_map; member
/linux/drivers/irqchip/
H A 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 …]
H A Dirq-loongarch-avec.c38 static DEFINE_PER_CPU(struct irq_desc * [NR_VECTORS], irq_map);
114 per_cpu_ptr(irq_map, adata->cpu)[adata->vec] = irq_data_to_desc(data); in avecintc_set_affinity() local
188 this_cpu_write(irq_map[vector], NULL); in complete_irq_moving()
231 d = this_cpu_read(irq_map[vector]); in avecintc_irq_dispatch()
255 per_cpu_ptr(irq_map, adata->cpu)[adata->vec] = irq_data_to_desc(irqd); in avecintc_alloc_vector() local
290 per_cpu(irq_map, adata->cpu)[adata->vec] = NULL; in avecintc_free_vector() local
297 per_cpu(irq_map, adata->prev_cpu)[adata->prev_vec] = NULL; in avecintc_free_vector() local
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dpci_mac.c72 const struct mt792x_irq_map *irq_map = dev->irq_map; in mt7925e_mac_reset() local
79 mt76_wr(dev, dev->irq_map->host_irq_enable, 0); in mt7925e_mac_reset()
90 if (irq_map->rx.data_complete_mask) in mt7925e_mac_reset()
92 if (irq_map->rx.wm_complete_mask) in mt7925e_mac_reset()
94 if (irq_map->rx.wm2_complete_mask) in mt7925e_mac_reset()
96 if (irq_map->tx.all_complete_mask) in mt7925e_mac_reset()
116 mt76_wr(dev, dev->irq_map->host_irq_enable, in mt7925e_mac_reset()
117 dev->irq_map->tx.all_complete_mask | in mt7925e_mac_reset()
H A Dpci.c293 static const struct mt792x_irq_map irq_map = { in mt7925_pci_probe() local
356 dev->irq_map = &irq_map; in mt7925_pci_probe()
398 mt76_wr(dev, irq_map.host_irq_enable, 0); in mt7925_pci_probe()
484 mt76_wr(dev, dev->irq_map->host_irq_enable, 0); in mt7925_pci_suspend()
486 dev->irq_map->tx.all_complete_mask | in mt7925_pci_suspend()
537 dev->irq_map->tx.all_complete_mask | in mt7925_pci_resume()
/linux/arch/powerpc/platforms/44x/
H A 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/arch/sparc/kernel/
H A 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()
H A 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()
H A 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()
H A Dirq.h23 extern struct irq_bucket *irq_map[SUN4D_MAX_IRQ];
H A Dsun4d_irq.c134 p = irq_map[pil]; in sun4d_sbus_handler_irq()
173 p = irq_map[pil]; in sun4d_handler_irq()
/linux/arch/mips/pci/
H A 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/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dpci_mac.c64 mt76_wr(dev, dev->irq_map->host_irq_enable, 0); in mt7921e_mac_reset()
94 mt76_wr(dev, dev->irq_map->host_irq_enable, in mt7921e_mac_reset()
95 dev->irq_map->tx.all_complete_mask | in mt7921e_mac_reset()
H A Dpci.c259 static const struct mt792x_irq_map irq_map = { in mt7921_pci_probe() local
323 dev->irq_map = &irq_map; in mt7921_pci_probe()
365 mt76_wr(dev, irq_map.host_irq_enable, 0); in mt7921_pci_probe()
464 mt76_wr(dev, dev->irq_map->host_irq_enable, 0); in mt7921_pci_suspend()
512 dev->irq_map->tx.all_complete_mask | in mt7921_pci_resume()
/linux/arch/nios2/kernel/
H A Dirq.c48 static int irq_map(struct irq_domain *h, unsigned int virq, in irq_map() function
57 .map = irq_map,
/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_dev.c618 fdev->irq_map = bitmap_zalloc(fdev->num_irqs, GFP_KERNEL); in fun_alloc_irq_mgr()
619 if (!fdev->irq_map) in fun_alloc_irq_mgr()
624 __set_bit(0, fdev->irq_map); in fun_alloc_irq_mgr()
642 for_each_clear_bit(b, fdev->irq_map, fdev->num_irqs) { in fun_reserve_irqs()
643 __set_bit(b, fdev->irq_map); in fun_reserve_irqs()
666 __clear_bit(irq_indices[i], fdev->irq_map); in fun_release_irqs()
743 bitmap_free(fdev->irq_map); in fun_dev_disable()
820 bitmap_free(fdev->irq_map); in fun_dev_enable()
H A Dfun_dev.h79 unsigned long *irq_map; member
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_builtin.c346 struct kvmppc_irq_map *irq_map; in kvmppc_check_passthru() local
355 irq_map = get_irqmap(pimap, xisr); in kvmppc_check_passthru()
356 if (!irq_map) in kvmppc_check_passthru()
362 return kvmppc_deliver_irq_passthru(vcpu, xirr, irq_map, pimap, again); in kvmppc_check_passthru()
H A 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()
/linux/drivers/gpu/drm/i915/gvt/
H A Dinterrupt.c345 struct intel_gvt_irq_map *map = irq->irq_map; in update_upstream_irq()
358 for (map = irq->irq_map; map->up_irq_bit != -1; map++) { in update_upstream_irq()
403 for (map = irq->irq_map; map->up_irq_bit != -1; map++) { in init_irq_map()
721 irq->irq_map = gen8_irq_map; in intel_gvt_init_irq()
H A Dinterrupt.h190 struct intel_gvt_irq_map *irq_map; member
/linux/arch/powerpc/include/asm/
H A Dkvm_ppc.h686 struct kvmppc_irq_map *irq_map,
/linux/drivers/net/usb/
H A Dlan78xx.c2117 static int irq_map(struct irq_domain *d, unsigned int irq, in irq_map() function
2136 .map = irq_map,