Home
last modified time | relevance | path

Searched refs:irqhost (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/arch/powerpc/sysdev/
Dmpic_msi.c30 const struct irq_domain_ops *ops = mpic->irqhost->ops; in mpic_msi_reserve_u3_hwirqs()
62 ops->xlate(mpic->irqhost, NULL, oirq.args, in mpic_msi_reserve_u3_hwirqs()
82 irq_domain_get_of_node(mpic->irqhost)); in mpic_msi_init_allocator()
Dehv_pic.c177 return irq_linear_revmap(global_ehv_pic->irqhost, irq); in ehv_pic_get_irq()
275 ehv_pic->irqhost = irq_domain_add_linear(np, NR_EHV_PIC_INTS, in ehv_pic_init()
277 if (!ehv_pic->irqhost) { in ehv_pic_init()
297 irq_set_default_host(global_ehv_pic->irqhost); in ehv_pic_init()
Dfsl_msi.c108 irq_domain_get_of_node(msi_data->irqhost)); in fsl_msi_init_allocator()
246 virq = irq_create_mapping(msi_data->irqhost, hwirq); in fsl_setup_msi_irqs()
310 cascade_irq = irq_linear_revmap(msi_data->irqhost, in fsl_msi_cascade()
422 msi->irqhost = irq_domain_add_linear(dev->dev.of_node, in fsl_of_msi_probe()
425 if (msi->irqhost == NULL) { in fsl_of_msi_probe()
Dfsl_mpic_err.c111 cascade_irq = irq_linear_revmap(mpic->irqhost, in fsl_error_int_handler()
131 virq = irq_create_mapping(mpic->irqhost, irqnum); in mpic_err_int_init()
Dipic.h42 struct irq_domain *irqhost; member
Dfsl_msi.h30 struct irq_domain *irqhost; member
Dipic.c713 ipic->irqhost = irq_domain_add_linear(node, NR_IPIC_INTS, in ipic_init()
715 if (ipic->irqhost == NULL) { in ipic_init()
759 irq_set_default_host(primary_ipic->irqhost); in ipic_init()
803 return irq_linear_revmap(primary_ipic->irqhost, irq); in ipic_get_irq()
Dmpic_u3msi.c152 virq = irq_create_mapping(msi_mpic->irqhost, hwirq); in u3msi_setup_msi_irqs()
Dmpic.c1487 mpic->irqhost = irq_domain_add_linear(mpic->node, in mpic_alloc()
1495 if (mpic->irqhost == NULL) in mpic_alloc()
1524 irq_set_default_host(mpic->irqhost); in mpic_alloc()
1789 return irq_linear_revmap(mpic->irqhost, src); in _mpic_get_one_irq()
1827 return irq_linear_revmap(mpic->irqhost, src); in mpic_get_coreint_irq()
1852 unsigned int vipi = irq_create_mapping(mpic->irqhost, in mpic_request_ipis()
/Linux-v5.4/arch/c6x/platforms/
Dmegamod-pic.c48 struct irq_domain *irqhost; member
109 irq = irq_linear_revmap(pic->irqhost, idx * 32 + n); in megamod_irq_cascade()
178 struct device_node *np = irq_domain_get_of_node(pic->irqhost); in parse_priority_map()
212 pic->irqhost = irq_domain_add_linear(np, NR_COMBINERS * 32, in init_megamod_pic()
214 if (!pic->irqhost) { in init_megamod_pic()
219 pic->irqhost->host_data = pic; in init_megamod_pic()
/Linux-v5.4/arch/powerpc/platforms/4xx/
Duic.c47 struct irq_domain *irqhost; member
216 subvirq = irq_linear_revmap(uic->irqhost, src); in uic_irq_cascade()
257 uic->irqhost = irq_domain_add_linear(node, NR_UIC_INTS, &uic_host_ops, in uic_init_one()
259 if (! uic->irqhost) in uic_init_one()
294 irq_set_default_host(primary_uic->irqhost); in uic_init_tree()
330 return irq_linear_revmap(primary_uic->irqhost, src); in uic_get_irq()
/Linux-v5.4/arch/powerpc/platforms/52xx/
Dmedia5200.c43 struct irq_domain *irqhost; member
95 sub_virq = irq_linear_revmap(media5200_irq.irqhost, val - 1); in media5200_irq_cascade()
171 media5200_irq.irqhost = irq_domain_add_linear(fpga_np, in media5200_init_irq()
173 if (!media5200_irq.irqhost) in media5200_init_irq()
Dmpc52xx_gpt.c90 struct irq_domain *irqhost; member
198 sub_virq = irq_linear_revmap(gpt->irqhost, 0); in mpc52xx_gpt_irq_cascade()
251 gpt->irqhost = irq_domain_add_linear(node, 1, &mpc52xx_gpt_irq_ops, gpt); in mpc52xx_gpt_irq_setup()
252 if (!gpt->irqhost) { in mpc52xx_gpt_irq_setup()
376 if (gpt->irqhost && irq == irq_linear_revmap(gpt->irqhost, 0)) { in mpc52xx_gpt_from_irq()
/Linux-v5.4/arch/powerpc/platforms/pasemi/
Dmsi.c106 virq = irq_create_mapping(msi_mpic->irqhost, hwirq); in pasemi_msi_setup_msi_irqs()
144 of_node = irq_domain_get_of_node(mpic->irqhost); in mpic_pasemi_msi_init()
Dsetup.c235 irq_set_default_host(mpic->irqhost); in nemo_init_IRQ()
/Linux-v5.4/drivers/soc/fsl/qe/
Dqe_ic.c297 return irq_linear_revmap(qe_ic->irqhost, irq); in qe_ic_get_low_irq()
313 return irq_linear_revmap(qe_ic->irqhost, irq); in qe_ic_get_high_irq()
332 qe_ic->irqhost = irq_domain_add_linear(node, NR_QE_IC_INTS, in qe_ic_init()
334 if (qe_ic->irqhost == NULL) { in qe_ic_init()
Dqe_ic.h78 struct irq_domain *irqhost; member
/Linux-v5.4/arch/powerpc/include/asm/
Dehv_pic.h28 struct irq_domain *irqhost; member
Dmpic.h262 struct irq_domain *irqhost; member