Home
last modified time | relevance | path

Searched refs:intspec (Results 1 – 25 of 46) sorted by relevance

12

/linux/arch/powerpc/platforms/85xx/
A Dsocrates_fpga_pic.c240 struct device_node *ct, const u32 *intspec, unsigned int intsize, in socrates_fpga_pic_host_xlate() argument
243 struct socrates_fpga_irq_info *fpga_irq = &fpga_irqs[intspec[0]]; in socrates_fpga_pic_host_xlate()
245 *out_hwirq = intspec[0]; in socrates_fpga_pic_host_xlate()
248 if (intspec[1] != IRQ_TYPE_LEVEL_LOW && in socrates_fpga_pic_host_xlate()
249 intspec[1] != IRQ_TYPE_LEVEL_HIGH) { in socrates_fpga_pic_host_xlate()
253 *out_flags = intspec[1]; in socrates_fpga_pic_host_xlate()
261 if (intspec[2] <= 2) in socrates_fpga_pic_host_xlate()
262 fpga_irq->irq_line = intspec[2]; in socrates_fpga_pic_host_xlate()
/linux/drivers/irqchip/
A Dirq-bcm2835.c109 const u32 *intspec, unsigned int intsize, in armctrl_xlate() argument
115 if (WARN_ON(intspec[0] >= NR_BANKS)) in armctrl_xlate()
118 if (WARN_ON(intspec[1] >= IRQS_PER_BANK)) in armctrl_xlate()
121 if (WARN_ON(intspec[0] == 0 && intspec[1] >= NR_IRQS_BANK0)) in armctrl_xlate()
124 *out_hwirq = MAKE_HWIRQ(intspec[0], intspec[1]); in armctrl_xlate()
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()
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()
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()
A Dirq-xtensa-mx.c47 const u32 *intspec, unsigned int intsize, in xtensa_mx_irq_domain_xlate() argument
50 return xtensa_irq_domain_xlate(intspec, intsize, in xtensa_mx_irq_domain_xlate()
51 intspec[0], intspec[0] + HW_IRQ_EXTERN_BASE, in xtensa_mx_irq_domain_xlate()
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()
A Dirq-atmel-aic.c173 const u32 *intspec, unsigned int intsize, in aic_irq_domain_xlate() argument
187 ret = aic_common_irq_domain_xlate(d, ctrlr, intspec, intsize, in aic_irq_domain_xlate()
192 idx = intspec[0] / dgc->irqs_per_chip; in aic_irq_domain_xlate()
200 aic_common_set_priority(intspec[2], &smr); in aic_irq_domain_xlate()
A Dirq-mips-gic.c447 const u32 *intspec, unsigned int intsize, in gic_irq_domain_xlate() argument
454 if (intspec[0] == GIC_SHARED) in gic_irq_domain_xlate()
455 *out_hwirq = GIC_SHARED_TO_HWIRQ(intspec[1]); in gic_irq_domain_xlate()
456 else if (intspec[0] == GIC_LOCAL) in gic_irq_domain_xlate()
457 *out_hwirq = GIC_LOCAL_TO_HWIRQ(intspec[1]); in gic_irq_domain_xlate()
460 *out_type = intspec[2] & IRQ_TYPE_SENSE_MASK; in gic_irq_domain_xlate()
571 const u32 *intspec, unsigned int intsize, in gic_ipi_domain_xlate() argument
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()
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/
A Dpic.c100 const u32 *intspec, unsigned int intsize, in mpc8xx_pic_host_xlate() argument
110 if (intspec[0] > 0x1f) in mpc8xx_pic_host_xlate()
113 *out_hwirq = intspec[0]; in mpc8xx_pic_host_xlate()
114 if (intsize > 1 && intspec[1] < 4) in mpc8xx_pic_host_xlate()
115 *out_flags = map_pic_senses[intspec[1]]; in mpc8xx_pic_host_xlate()
/linux/arch/powerpc/sysdev/
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()
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()
A Dmpic.c1086 const u32 *intspec, unsigned int intsize, in mpic_host_xlate() argument
1098 *out_hwirq = intspec[0]; in mpic_host_xlate()
1107 switch (intspec[2]) { in mpic_host_xlate()
1117 *out_hwirq = mpic->err_int_vecs[intspec[3]]; in mpic_host_xlate()
1121 if (intspec[0] >= ARRAY_SIZE(mpic->ipi_vecs)) in mpic_host_xlate()
1124 *out_hwirq = mpic->ipi_vecs[intspec[0]]; in mpic_host_xlate()
1127 if (intspec[0] >= ARRAY_SIZE(mpic->timer_vecs)) in mpic_host_xlate()
1130 *out_hwirq = mpic->timer_vecs[intspec[0]]; in mpic_host_xlate()
1134 __func__, intspec[2]); in mpic_host_xlate()
1138 *out_flags = map_mpic_senses[intspec[1] & 3]; in mpic_host_xlate()
[all …]
/linux/arch/powerpc/platforms/52xx/
A Dmedia5200.c120 const u32 *intspec, unsigned int intsize, in media5200_irq_xlate() argument
127 pr_debug("%s: bank=%i, number=%i\n", __func__, intspec[0], intspec[1]); in media5200_irq_xlate()
128 *out_hwirq = intspec[1]; in media5200_irq_xlate()
A Dmpc52xx_pic.c305 const u32 *intspec, unsigned int intsize, in mpc52xx_irqhost_xlate() argument
317 intrvect_l1 = (int)intspec[0]; in mpc52xx_irqhost_xlate()
318 intrvect_l2 = (int)intspec[1]; in mpc52xx_irqhost_xlate()
319 intrvect_type = (int)intspec[2] & 0x3; in mpc52xx_irqhost_xlate()
/linux/arch/powerpc/platforms/cell/
A Dinterrupt.c228 const u32 *intspec, unsigned int intsize, in iic_host_xlate() argument
244 node = intspec[0] >> 24; in iic_host_xlate()
245 ext = (intspec[0] >> 16) & 0xff; in iic_host_xlate()
246 class = (intspec[0] >> 8) & 0xff; in iic_host_xlate()
247 unit = intspec[0] & 0xff; in iic_host_xlate()
/linux/drivers/gpio/
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/spmi/
A Dspmi-pmic-arb.c696 u32 *intspec = fwspec->param; in qpnpint_irq_domain_translate() local
701 intspec[0], intspec[1], intspec[2]); in qpnpint_irq_domain_translate()
707 if (intspec[0] > 0xF || intspec[1] > 0xFF || intspec[2] > 0x7) in qpnpint_irq_domain_translate()
710 ppid = intspec[0] << 8 | intspec[1]; in qpnpint_irq_domain_translate()
714 intspec[0], intspec[1], intspec[2], rc); in qpnpint_irq_domain_translate()
725 *out_hwirq = spec_to_hwirq(intspec[0], intspec[1], intspec[2], apid); in qpnpint_irq_domain_translate()
726 *out_type = intspec[3] & IRQ_TYPE_SENSE_MASK; in qpnpint_irq_domain_translate()
/linux/arch/powerpc/sysdev/ge/
A Dge_pic.c167 const u32 *intspec, unsigned int intsize, in gef_pic_host_xlate() argument
171 *out_hwirq = intspec[0]; in gef_pic_host_xlate()
173 *out_flags = intspec[1]; in gef_pic_host_xlate()
/linux/drivers/mailbox/
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/sh/intc/
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/arm/mach-s3c/
A Dirq-s3c24xx.c1189 const u32 *intspec, unsigned int intsize, in s3c24xx_irq_xlate_of() argument
1201 if (intspec[0] > 2 || !s3c_intc[intspec[0]]) { in s3c24xx_irq_xlate_of()
1202 pr_err("controller number %d invalid\n", intspec[0]); in s3c24xx_irq_xlate_of()
1205 intc = s3c_intc[intspec[0]]; in s3c24xx_irq_xlate_of()
1207 *out_hwirq = intspec[0] * 32 + intspec[2]; in s3c24xx_irq_xlate_of()
1208 *out_type = intspec[3] & IRQ_TYPE_SENSE_MASK; in s3c24xx_irq_xlate_of()
1212 irq_data = &intc->irqs[intspec[2]]; in s3c24xx_irq_xlate_of()
1213 irq_data->parent_irq = intspec[1]; in s3c24xx_irq_xlate_of()
1216 parent_irq_data->sub_bits |= (1UL << intspec[2]); in s3c24xx_irq_xlate_of()
1219 irqno = irq_create_mapping(parent_intc->domain, intspec[1]); in s3c24xx_irq_xlate_of()
/linux/Documentation/devicetree/bindings/interrupt-controller/
A Dmsi-controller.yaml37 A list of <phandle intspec span> tuples, where "phandle" is the
38 parent interrupt controller, "intspec" is the starting/base

Completed in 79 milliseconds

12