/openbmc/linux/drivers/clocksource/ |
H A D | timer-clint.c | 169 struct of_phandle_args oirq; in clint_timer_init_dt() local 177 if (of_irq_parse_one(np, i, &oirq)) { in clint_timer_init_dt() 182 if ((oirq.args_count != 1) || in clint_timer_init_dt() 183 (oirq.args[0] != RV_IRQ_TIMER && in clint_timer_init_dt() 184 oirq.args[0] != RV_IRQ_SOFT)) { in clint_timer_init_dt() 186 np, i, oirq.args[0]); in clint_timer_init_dt() 192 oirq.args[0] == RV_IRQ_SOFT && in clint_timer_init_dt() 193 irq_find_host(oirq.np)) in clint_timer_init_dt() 198 oirq.args[0] == RV_IRQ_TIMER && in clint_timer_init_dt() 199 irq_find_host(oirq.np)) in clint_timer_init_dt()
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-realtek-rtl.c | 128 struct of_phandle_args oirq; in realtek_rtl_of_init() local 149 oirq.np = of_find_compatible_node(NULL, NULL, "mti,cpu-interrupt-controller"); in realtek_rtl_of_init() 150 oirq.args_count = 1; in realtek_rtl_of_init() 151 oirq.args[0] = 2; in realtek_rtl_of_init() 153 parent_irq = irq_create_of_mapping(&oirq); in realtek_rtl_of_init() 155 of_node_put(oirq.np); in realtek_rtl_of_init()
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | mpic_msi.c | 34 struct of_phandle_args oirq; in mpic_msi_reserve_u3_hwirqs() local 62 while (of_irq_parse_one(np, index++, &oirq) == 0) { in mpic_msi_reserve_u3_hwirqs() 63 ops->xlate(mpic->irqhost, NULL, oirq.args, in mpic_msi_reserve_u3_hwirqs() 64 oirq.args_count, &hwirq, &flags); in mpic_msi_reserve_u3_hwirqs()
|
/openbmc/linux/arch/powerpc/platforms/ |
H A D | fsl_uli1575.c | 324 struct of_phandle_args oirq; in hpcd_final_uli5288() local 333 oirq.np = hosenode; in hpcd_final_uli5288() 334 oirq.args[0] = 2; in hpcd_final_uli5288() 335 oirq.args_count = 1; in hpcd_final_uli5288() 338 of_irq_parse_raw(laddr, &oirq); in hpcd_final_uli5288() 339 dev->irq = irq_create_of_mapping(&oirq); in hpcd_final_uli5288()
|
/openbmc/linux/drivers/of/ |
H A D | irq.c | 40 struct of_phandle_args oirq; in irq_of_parse_and_map() local 42 if (of_irq_parse_one(dev, index, &oirq)) in irq_of_parse_and_map() 45 return irq_create_of_mapping(&oirq); in irq_of_parse_and_map() 455 struct of_phandle_args oirq; in of_irq_get() local 458 rc = of_irq_parse_one(dev, index, &oirq); in of_irq_get() 462 domain = irq_find_host(oirq.np); in of_irq_get() 468 rc = irq_create_of_mapping(&oirq); in of_irq_get() 470 of_node_put(oirq.np); in of_irq_get()
|
/openbmc/linux/kernel/irq/ |
H A D | timings.c | 840 int i, irq, oirq = 0xBEEF; in irq_timings_test_irqts() local 848 i, i & IRQ_TIMINGS_MASK, ots + i, oirq + i); in irq_timings_test_irqts() 850 irq_timings_push(ots + i, oirq + i); in irq_timings_test_irqts() 858 oirq += start; in irq_timings_test_irqts() 876 i, ts, ots, irq, oirq); in irq_timings_test_irqts() 878 if (WARN_ON(ts != ots || irq != oirq)) in irq_timings_test_irqts() 881 ots++; oirq++; in irq_timings_test_irqts()
|
/openbmc/qemu/hw/misc/ |
H A D | stm32l4x5_exti.c | 98 const int oirq = irq; in stm32l4x5_exti_set_irq() local 118 qemu_set_irq(s->irq[oirq], level); in stm32l4x5_exti_set_irq() 127 qemu_irq_pulse(s->irq[oirq]); in stm32l4x5_exti_set_irq()
|
/openbmc/linux/drivers/pci/ |
H A D | of.c | 538 struct of_phandle_args oirq; in of_irq_parse_and_map_pci() local 541 ret = of_irq_parse_pci(dev, &oirq); in of_irq_parse_and_map_pci() 545 return irq_create_of_mapping(&oirq); in of_irq_parse_and_map_pci()
|
/openbmc/linux/drivers/soc/ti/ |
H A D | knav_qmss_queue.c | 1237 struct of_phandle_args oirq; in knav_setup_queue_range() local 1239 if (of_irq_parse_one(node, i, &oirq)) in knav_setup_queue_range() 1242 range->irqs[i].irq = irq_create_of_mapping(&oirq); in knav_setup_queue_range() 1248 if (IS_ENABLED(CONFIG_SMP) && oirq.args_count == 3) { in knav_setup_queue_range() 1257 mask = (oirq.args[2] & 0x0000ff00) >> 8; in knav_setup_queue_range()
|