Home
last modified time | relevance | path

Searched refs:intspec (Results 1 – 25 of 44) 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/drivers/irqchip/
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-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-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.c172 const u32 *intspec, unsigned int intsize, in aic_irq_domain_xlate() argument
186 ret = aic_common_irq_domain_xlate(d, ctrlr, intspec, intsize, in aic_irq_domain_xlate()
191 idx = intspec[0] / dgc->irqs_per_chip; in aic_irq_domain_xlate()
199 aic_common_set_priority(intspec[2], &smr); in aic_irq_domain_xlate()
H A Dirq-mips-gic.c450 const u32 *intspec, unsigned int intsize, in gic_irq_domain_xlate() argument
457 if (intspec[0] == GIC_SHARED) in gic_irq_domain_xlate()
458 *out_hwirq = GIC_SHARED_TO_HWIRQ(intspec[1]); in gic_irq_domain_xlate()
459 else if (intspec[0] == GIC_LOCAL) in gic_irq_domain_xlate()
460 *out_hwirq = GIC_LOCAL_TO_HWIRQ(intspec[1]); in gic_irq_domain_xlate()
463 *out_type = intspec[2] & IRQ_TYPE_SENSE_MASK; in gic_irq_domain_xlate()
575 const u32 *intspec, unsigned int intsize, in gic_ipi_domain_xlate() argument
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()
/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/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.c1088 const u32 *intspec, unsigned int intsize, in mpic_host_xlate() argument
1100 *out_hwirq = intspec[0]; in mpic_host_xlate()
1109 switch (intspec[2]) { in mpic_host_xlate()
1116 if (intspec[3] >= ARRAY_SIZE(mpic->err_int_vecs)) in mpic_host_xlate()
1119 *out_hwirq = mpic->err_int_vecs[intspec[3]]; in mpic_host_xlate()
1123 if (intspec[0] >= ARRAY_SIZE(mpic->ipi_vecs)) in mpic_host_xlate()
1126 *out_hwirq = mpic->ipi_vecs[intspec[0]]; in mpic_host_xlate()
1129 if (intspec[0] >= ARRAY_SIZE(mpic->timer_vecs)) in mpic_host_xlate()
1132 *out_hwirq = mpic->timer_vecs[intspec[0]]; in mpic_host_xlate()
1136 __func__, intspec[2]); 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()
H A Dmpc52xx_pic.c306 const u32 *intspec, unsigned int intsize, in mpc52xx_irqhost_xlate() argument
318 intrvect_l1 = (int)intspec[0]; in mpc52xx_irqhost_xlate()
319 intrvect_l2 = (int)intspec[1]; in mpc52xx_irqhost_xlate()
320 intrvect_type = (int)intspec[2] & 0x3; in mpc52xx_irqhost_xlate()
/linux/arch/powerpc/platforms/cell/
H A Dinterrupt.c229 const u32 *intspec, unsigned int intsize, in iic_host_xlate() argument
245 node = intspec[0] >> 24; in iic_host_xlate()
246 ext = (intspec[0] >> 16) & 0xff; in iic_host_xlate()
247 class = (intspec[0] >> 8) & 0xff; in iic_host_xlate()
248 unit = intspec[0] & 0xff; in iic_host_xlate()
/linux/drivers/gpio/
H A Dgpio-sodaville.c93 const u32 *intspec, u32 intsize, irq_hw_number_t *out_hwirq, in sdv_xlate() argument
104 line = *intspec; in sdv_xlate()
107 intspec++; in sdv_xlate()
108 type = *intspec; in sdv_xlate()
/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.c127 struct device_node *node, const u32 *intspec, in qcom_ipcc_domain_xlate() argument
135 *out_hwirq = qcom_ipcc_get_hwirq(intspec[0], intspec[1]); in qcom_ipcc_domain_xlate()
136 *out_type = intspec[2] & IRQ_TYPE_SENSE_MASK; in qcom_ipcc_domain_xlate()
/linux/drivers/spmi/
H A Dspmi-pmic-arb.c905 u32 *intspec = fwspec->param; in qpnpint_irq_domain_translate() local
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/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/powerpc/sysdev/xics/
H A Dxics-common.c359 const u32 *intspec, unsigned int intsize, in xics_host_xlate() argument
363 *out_hwirq = intspec[0]; in xics_host_xlate()
370 if (intspec[1] & 1) in xics_host_xlate()

12