Home
last modified time | relevance | path

Searched full:intspec (Results 1 – 25 of 43) sorted by relevance

12

/linux/arch/powerpc/platforms/85xx/
H A Dsocrates_fpga_pic.c241 struct device_node *ct, const u32 *intspec, unsigned int intsize, in socrates_fpga_pic_host_xlate() argument
244 struct socrates_fpga_irq_info *fpga_irq = &fpga_irqs[intspec[0]]; in socrates_fpga_pic_host_xlate()
246 *out_hwirq = intspec[0]; in socrates_fpga_pic_host_xlate()
249 if (intspec[1] != IRQ_TYPE_LEVEL_LOW && in socrates_fpga_pic_host_xlate()
250 intspec[1] != IRQ_TYPE_LEVEL_HIGH) { in socrates_fpga_pic_host_xlate()
254 *out_flags = intspec[1]; in socrates_fpga_pic_host_xlate()
262 if (intspec[2] <= 2) in socrates_fpga_pic_host_xlate()
263 fpga_irq->irq_line = intspec[2]; in socrates_fpga_pic_host_xlate()
/linux/arch/powerpc/platforms/8xx/
H A Dpic.c99 const u32 *intspec, unsigned int intsize, in mpc8xx_pic_host_xlate() argument
109 if (intspec[0] > 0x1f) in mpc8xx_pic_host_xlate()
112 *out_hwirq = intspec[0]; in mpc8xx_pic_host_xlate()
113 if (intsize > 1 && intspec[1] < 4) in mpc8xx_pic_host_xlate()
114 *out_flags = map_pic_senses[intspec[1]]; in mpc8xx_pic_host_xlate()
/linux/drivers/irqchip/
H A Dirq-xtensa-pic.c31 const u32 *intspec, unsigned int intsize, in xtensa_pic_irq_domain_xlate() argument
34 return xtensa_irq_domain_xlate(intspec, intsize, in xtensa_pic_irq_domain_xlate()
35 intspec[0], intspec[0], in xtensa_pic_irq_domain_xlate()
H A Dirq-bcm2835.c111 const u32 *intspec, unsigned int intsize, in armctrl_xlate() argument
117 if (WARN_ON(intspec[0] >= NR_BANKS)) in armctrl_xlate()
120 if (WARN_ON(intspec[1] >= IRQS_PER_BANK)) in armctrl_xlate()
123 if (WARN_ON(intspec[0] == 0 && intspec[1] >= NR_IRQS_BANK0)) in armctrl_xlate()
126 *out_hwirq = MAKE_HWIRQ(intspec[0], intspec[1]); in armctrl_xlate()
H A Dirq-atmel-aic-common.c91 const u32 *intspec, in aic_common_irq_domain_xlate() argument
99 if (WARN_ON((intspec[2] < AT91_AIC_IRQ_MIN_PRIORITY) || in aic_common_irq_domain_xlate()
100 (intspec[2] > AT91_AIC_IRQ_MAX_PRIORITY))) in aic_common_irq_domain_xlate()
103 *out_hwirq = intspec[0]; in aic_common_irq_domain_xlate()
104 *out_type = intspec[1] & IRQ_TYPE_SENSE_MASK; in aic_common_irq_domain_xlate()
H A Dirq-pic32-evic.c165 const u32 *intspec, unsigned int intsize, in pic32_irq_domain_xlate() argument
173 if (WARN_ON(intspec[0] >= NR_IRQS)) in pic32_irq_domain_xlate()
176 *out_hwirq = intspec[0]; in pic32_irq_domain_xlate()
177 *out_type = intspec[1] & IRQ_TYPE_SENSE_MASK; in pic32_irq_domain_xlate()
179 priv->irq_types[intspec[0]] = intspec[1] & IRQ_TYPE_SENSE_MASK; in pic32_irq_domain_xlate()
H A Dirq-xtensa-mx.c48 const u32 *intspec, unsigned int intsize, in xtensa_mx_irq_domain_xlate() argument
51 return xtensa_irq_domain_xlate(intspec, intsize, in xtensa_mx_irq_domain_xlate()
52 intspec[0], intspec[0] + HW_IRQ_EXTERN_BASE, in xtensa_mx_irq_domain_xlate()
H A Dirq-hip04.c315 const u32 *intspec, unsigned int intsize, in hip04_irq_domain_xlate() argument
321 if (intsize == 1 && intspec[0] < 16) { in hip04_irq_domain_xlate()
322 *out_hwirq = intspec[0]; in hip04_irq_domain_xlate()
330 *out_hwirq = intspec[1] + 16; in hip04_irq_domain_xlate()
333 if (!intspec[0]) in hip04_irq_domain_xlate()
336 *out_type = intspec[2] & IRQ_TYPE_SENSE_MASK; in hip04_irq_domain_xlate()
H A Dirq-atmel-aic.c168 const u32 *intspec, unsigned int intsize, in aic_irq_domain_xlate() argument
180 ret = aic_common_irq_domain_xlate(d, ctrlr, intspec, intsize, in aic_irq_domain_xlate()
185 idx = intspec[0] / dgc->irqs_per_chip; in aic_irq_domain_xlate()
193 aic_common_set_priority(intspec[2], &smr); in aic_irq_domain_xlate()
H A Dexynos-combiner.c138 const u32 *intspec, unsigned int intsize, in combiner_irq_domain_xlate() argument
148 *out_hwirq = intspec[0] * IRQ_IN_COMBINER + intspec[1]; in combiner_irq_domain_xlate()
H A Dirq-csky-mpintc.c191 struct device_node *ctrlr, const u32 *intspec, in csky_irq_domain_xlate_cells() argument
198 *out_hwirq = intspec[0]; in csky_irq_domain_xlate_cells()
200 *out_type = intspec[1] & IRQ_TYPE_SENSE_MASK; in csky_irq_domain_xlate_cells()
H A Dirq-mips-gic.c616 const u32 *intspec, unsigned int intsize, in gic_irq_domain_xlate() argument
623 if (intspec[0] == GIC_SHARED) in gic_irq_domain_xlate()
624 *out_hwirq = GIC_SHARED_TO_HWIRQ(intspec[1]); in gic_irq_domain_xlate()
625 else if (intspec[0] == GIC_LOCAL) in gic_irq_domain_xlate()
626 *out_hwirq = GIC_LOCAL_TO_HWIRQ(intspec[1]); in gic_irq_domain_xlate()
629 *out_type = intspec[2] & IRQ_TYPE_SENSE_MASK; in gic_irq_domain_xlate()
738 const u32 *intspec, unsigned int intsize, in gic_ipi_domain_xlate() argument
H A Dirq-imx-intmux.c135 const u32 *intspec, unsigned int intsize, in imx_intmux_irq_xlate() argument
151 if (WARN_ON(intspec[1] >= data->channum)) in imx_intmux_irq_xlate()
154 *out_hwirq = intspec[0]; in imx_intmux_irq_xlate()
/linux/arch/powerpc/sysdev/
H A Dehv_pic.c219 const u32 *intspec, unsigned int intsize, in ehv_pic_host_xlate() argument
237 *out_hwirq = intspec[0]; in ehv_pic_host_xlate()
239 hwirq_intspec[intspec[0]] = intspec[1]; in ehv_pic_host_xlate()
240 *out_flags = map_of_senses_to_linux_irqtype[intspec[1] & in ehv_pic_host_xlate()
H A Di8259.c186 const u32 *intspec, unsigned int intsize, in i8259_host_xlate() argument
196 *out_hwirq = intspec[0]; in i8259_host_xlate()
197 if (intsize > 1 && intspec[1] < 4) in i8259_host_xlate()
198 *out_flags = map_isa_senses[intspec[1]]; in i8259_host_xlate()
H A Dmpic.c1089 const u32 *intspec, unsigned int intsize, in mpic_host_xlate() argument
1101 *out_hwirq = intspec[0]; in mpic_host_xlate()
1104 * Freescale MPIC with extended intspec: in mpic_host_xlate()
1110 switch (intspec[2]) { in mpic_host_xlate()
1117 if (intspec[3] >= ARRAY_SIZE(mpic->err_int_vecs)) in mpic_host_xlate()
1120 *out_hwirq = mpic->err_int_vecs[intspec[3]]; in mpic_host_xlate()
1124 if (intspec[0] >= ARRAY_SIZE(mpic->ipi_vecs)) in mpic_host_xlate()
1127 *out_hwirq = mpic->ipi_vecs[intspec[0]]; in mpic_host_xlate()
1130 if (intspec[0] >= ARRAY_SIZE(mpic->timer_vecs)) in mpic_host_xlate()
1133 *out_hwirq = mpic->timer_vecs[intspec[0]]; in mpic_host_xlate()
[all …]
/linux/arch/powerpc/platforms/52xx/
H A Dmedia5200.c121 const u32 *intspec, unsigned int intsize, in media5200_irq_xlate() argument
128 pr_debug("%s: bank=%i, number=%i\n", __func__, intspec[0], intspec[1]); in media5200_irq_xlate()
129 *out_hwirq = intspec[1]; in media5200_irq_xlate()
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dmsi-controller.yaml37 A list of <phandle intspec span> tuples, where "phandle" is the
38 parent interrupt controller, "intspec" is the starting/base
/linux/drivers/spmi/
H A Dspmi-pmic-arb.c905 u32 *intspec = fwspec->param; in qpnpint_irq_domain_translate() local
909 dev_dbg(&bus->spmic->dev, "intspec[0] 0x%1x intspec[1] 0x%02x intspec[2] 0x%02x\n", in qpnpint_irq_domain_translate()
910 intspec[0], intspec[1], intspec[2]); in qpnpint_irq_domain_translate()
916 if (intspec[0] > 0xF || intspec[1] > 0xFF || intspec[2] > 0x7) in qpnpint_irq_domain_translate()
919 ppid = intspec[0] << 8 | intspec[1]; in qpnpint_irq_domain_translate()
923 intspec[0], intspec[1], intspec[2], rc); in qpnpint_irq_domain_translate()
934 *out_hwirq = spec_to_hwirq(intspec[0], intspec[1], intspec[2], apid); in qpnpint_irq_domain_translate()
935 *out_type = intspec[3] & IRQ_TYPE_SENSE_MASK; in qpnpint_irq_domain_translate()
/linux/drivers/sh/intc/
H A Dirqdomain.c28 const u32 *intspec, unsigned int intsize, in intc_evt_xlate() argument
34 *out_hwirq = evt2irq(intspec[0]); in intc_evt_xlate()
/linux/arch/powerpc/sysdev/ge/
H A Dge_pic.c169 const u32 *intspec, unsigned int intsize, in gef_pic_host_xlate() argument
173 *out_hwirq = intspec[0]; in gef_pic_host_xlate()
175 *out_flags = intspec[1]; in gef_pic_host_xlate()
/linux/drivers/mailbox/
H A Dqcom-ipcc.c129 struct device_node *node, const u32 *intspec, in qcom_ipcc_domain_xlate() argument
137 *out_hwirq = qcom_ipcc_get_hwirq(intspec[0], intspec[1]); in qcom_ipcc_domain_xlate()
138 *out_type = intspec[2] & IRQ_TYPE_SENSE_MASK; in qcom_ipcc_domain_xlate()
/linux/kernel/irq/
H A Dirqdomain.c1065 * @intspec: The interrupt specifier data from the device tree
1066 * @intsize: The number of entries in @intspec
1074 const u32 *intspec, unsigned int intsize, in irq_domain_xlate_onecell() argument
1079 *out_hwirq = intspec[0]; in irq_domain_xlate_onecell()
1089 * @intspec: The interrupt specifier data from the device tree
1090 * @intsize: The number of entries in @intspec
1099 const u32 *intspec, unsigned int intsize, in irq_domain_xlate_twocell() argument
1104 of_phandle_args_to_fwspec(ctrlr, intspec, intsize, &fwspec); in irq_domain_xlate_twocell()
1113 * @intspec: The interrupt specifier data from the device tree
1114 * @intsize: The number of entries in @intspec
[all …]
/linux/arch/xtensa/kernel/
H A Dirq.c67 int xtensa_irq_domain_xlate(const u32 *intspec, unsigned int intsize, in xtensa_irq_domain_xlate() argument
73 if (intsize == 2 && intspec[1] == 1) { in xtensa_irq_domain_xlate()
/linux/arch/mips/cavium-octeon/
H A Docteon-irq.c1158 const u32 *intspec, in octeon_irq_gpio_xlat() argument
1173 pin = intspec[0]; in octeon_irq_gpio_xlat()
1177 trigger = intspec[1]; in octeon_irq_gpio_xlat()
1207 const u32 *intspec, in octeon_irq_ciu_xlat() argument
1215 ciu = intspec[0]; in octeon_irq_ciu_xlat()
1216 bit = intspec[1]; in octeon_irq_ciu_xlat()
1917 const u32 *intspec, in octeon_irq_ciu2_xlat() argument
1924 ciu = intspec[0]; in octeon_irq_ciu2_xlat()
1925 bit = intspec[1]; in octeon_irq_ciu2_xlat()
2187 const u32 *intspec, in octeon_irq_cib_xlat() argument
[all …]

12