Home
last modified time | relevance | path

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

/arch/powerpc/sysdev/
Dmpic_msi.c35 const struct irq_domain_ops *ops = mpic->irqhost->ops; in mpic_msi_reserve_u3_hwirqs()
67 ops->xlate(mpic->irqhost, NULL, oirq.args, in mpic_msi_reserve_u3_hwirqs()
87 mpic->irqhost->of_node); in mpic_msi_init_allocator()
Dmpic_pasemi_msi.c115 virq = irq_create_mapping(msi_mpic->irqhost, hwirq); in pasemi_msi_setup_msi_irqs()
151 if (!mpic->irqhost->of_node || in mpic_pasemi_msi_init()
152 !of_device_is_compatible(mpic->irqhost->of_node, in mpic_pasemi_msi_init()
Duic.c52 struct irq_domain *irqhost; member
220 subvirq = irq_linear_revmap(uic->irqhost, src); in uic_irq_cascade()
261 uic->irqhost = irq_domain_add_linear(node, NR_UIC_INTS, &uic_host_ops, in uic_init_one()
263 if (! uic->irqhost) in uic_init_one()
298 irq_set_default_host(primary_uic->irqhost); in uic_init_tree()
334 return irq_linear_revmap(primary_uic->irqhost, src); in uic_get_irq()
Dehv_pic.c177 return irq_linear_revmap(global_ehv_pic->irqhost, irq); in ehv_pic_get_irq()
273 ehv_pic->irqhost = irq_domain_add_linear(np, NR_EHV_PIC_INTS, in ehv_pic_init()
275 if (!ehv_pic->irqhost) { in ehv_pic_init()
295 irq_set_default_host(global_ehv_pic->irqhost); in ehv_pic_init()
Dipic.h46 struct irq_domain *irqhost; member
Dfsl_msi.h33 struct irq_domain *irqhost; member
Dfsl_mpic_err.c116 cascade_irq = irq_linear_revmap(mpic->irqhost, in fsl_error_int_handler()
136 virq = irq_create_mapping(mpic->irqhost, irqnum); in mpic_err_int_init()
Dfsl_msi.c114 msi_data->irqhost->of_node); in fsl_msi_init_allocator()
234 virq = irq_create_mapping(msi_data->irqhost, hwirq); in fsl_setup_msi_irqs()
298 cascade_irq = irq_linear_revmap(msi_data->irqhost, in fsl_msi_cascade()
407 msi->irqhost = irq_domain_add_linear(dev->dev.of_node, in fsl_of_msi_probe()
410 if (msi->irqhost == NULL) { in fsl_of_msi_probe()
Dipic.c715 ipic->irqhost = irq_domain_add_linear(node, NR_IPIC_INTS, in ipic_init()
717 if (ipic->irqhost == NULL) { in ipic_init()
761 irq_set_default_host(primary_ipic->irqhost); in ipic_init()
868 return irq_linear_revmap(primary_ipic->irqhost, irq); in ipic_get_irq()
Dmpic_u3msi.c158 virq = irq_create_mapping(msi_mpic->irqhost, hwirq); in u3msi_setup_msi_irqs()
Dmpic.c1504 mpic->irqhost = irq_domain_add_linear(mpic->node, in mpic_alloc()
1512 if (mpic->irqhost == NULL) in mpic_alloc()
1541 irq_set_default_host(mpic->irqhost); in mpic_alloc()
1830 return irq_linear_revmap(mpic->irqhost, src); in _mpic_get_one_irq()
1868 return irq_linear_revmap(mpic->irqhost, src); in mpic_get_coreint_irq()
1893 unsigned int vipi = irq_create_mapping(mpic->irqhost, in mpic_request_ipis()
/arch/c6x/platforms/
Dmegamod-pic.c51 struct irq_domain *irqhost; member
111 irq = irq_linear_revmap(pic->irqhost, idx * 32 + n); in megamod_irq_cascade()
180 struct device_node *np = pic->irqhost->of_node; in parse_priority_map()
214 pic->irqhost = irq_domain_add_linear(np, NR_COMBINERS * 32, in init_megamod_pic()
216 if (!pic->irqhost) { in init_megamod_pic()
221 pic->irqhost->host_data = pic; in init_megamod_pic()
/arch/powerpc/platforms/52xx/
Dmedia5200.c48 struct irq_domain *irqhost; member
100 sub_virq = irq_linear_revmap(media5200_irq.irqhost, val - 1); in media5200_irq_cascade()
176 media5200_irq.irqhost = irq_domain_add_linear(fpga_np, in media5200_init_irq()
178 if (!media5200_irq.irqhost) in media5200_init_irq()
Dmpc52xx_gpt.c94 struct irq_domain *irqhost; member
202 sub_virq = irq_linear_revmap(gpt->irqhost, 0); in mpc52xx_gpt_irq_cascade()
255 gpt->irqhost = irq_domain_add_linear(node, 1, &mpc52xx_gpt_irq_ops, gpt); in mpc52xx_gpt_irq_setup()
256 if (!gpt->irqhost) { in mpc52xx_gpt_irq_setup()
385 if (gpt->irqhost && irq == irq_linear_revmap(gpt->irqhost, 0)) { in mpc52xx_gpt_from_irq()
/arch/powerpc/include/asm/
Dehv_pic.h28 struct irq_domain *irqhost; member
Dmpic.h265 struct irq_domain *irqhost; member
/arch/powerpc/sysdev/qe_lib/
Dqe_ic.h82 struct irq_domain *irqhost; member
Dqe_ic.c294 return irq_linear_revmap(qe_ic->irqhost, irq); in qe_ic_get_low_irq()
310 return irq_linear_revmap(qe_ic->irqhost, irq); in qe_ic_get_high_irq()
329 qe_ic->irqhost = irq_domain_add_linear(node, NR_QE_IC_INTS, in qe_ic_init()
331 if (qe_ic->irqhost == NULL) { in qe_ic_init()