Searched refs:intsize (Results 1 - 39 of 39) sorted by relevance

/linux-4.4.14/arch/xtensa/kernel/
H A Dirq.c73 int xtensa_irq_domain_xlate(const u32 *intspec, unsigned int intsize, xtensa_irq_domain_xlate() argument
77 if (WARN_ON(intsize < 1 || intsize > 2)) xtensa_irq_domain_xlate()
79 if (intsize == 2 && intspec[1] == 1) { xtensa_irq_domain_xlate()
/linux-4.4.14/drivers/sh/intc/
H A Dirqdomain.c28 const u32 *intspec, unsigned int intsize, intc_evt_xlate()
31 if (WARN_ON(intsize < 1)) intc_evt_xlate()
27 intc_evt_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) intc_evt_xlate() argument
/linux-4.4.14/drivers/irqchip/
H A Dirq-xtensa-pic.c31 const u32 *intspec, unsigned int intsize, xtensa_pic_irq_domain_xlate()
34 return xtensa_irq_domain_xlate(intspec, intsize, xtensa_pic_irq_domain_xlate()
29 xtensa_pic_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) xtensa_pic_irq_domain_xlate() argument
H A Dirq-atmel-aic-common.h27 unsigned int intsize,
H A Dirq-xtensa-mx.c46 const u32 *intspec, unsigned int intsize, xtensa_mx_irq_domain_xlate()
49 return xtensa_irq_domain_xlate(intspec, intsize, xtensa_mx_irq_domain_xlate()
44 xtensa_mx_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) xtensa_mx_irq_domain_xlate() argument
H A Dirq-atmel-aic-common.c98 unsigned int intsize, aic_common_irq_domain_xlate()
102 if (WARN_ON(intsize < 3)) aic_common_irq_domain_xlate()
95 aic_common_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type) aic_common_irq_domain_xlate() argument
H A Dexynos-combiner.c143 const u32 *intspec, unsigned int intsize, combiner_irq_domain_xlate()
150 if (intsize < 2) combiner_irq_domain_xlate()
141 combiner_irq_domain_xlate(struct irq_domain *d, struct device_node *controller, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) combiner_irq_domain_xlate() argument
H A Dirq-atmel-aic.c173 const u32 *intspec, unsigned int intsize, aic_irq_domain_xlate()
186 ret = aic_common_irq_domain_xlate(d, ctrlr, intspec, intsize, aic_irq_domain_xlate()
171 aic_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type) aic_irq_domain_xlate() argument
H A Dirq-atmel-aic5.c256 const u32 *intspec, unsigned int intsize, aic5_irq_domain_xlate()
267 ret = aic_common_irq_domain_xlate(d, ctrlr, intspec, intsize, aic5_irq_domain_xlate()
254 aic5_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type) aic5_irq_domain_xlate() argument
H A Dirq-bcm2835.c118 const u32 *intspec, unsigned int intsize, armctrl_xlate()
121 if (WARN_ON(intsize != 2)) armctrl_xlate()
117 armctrl_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) armctrl_xlate() argument
H A Dirq-hip04.c322 const u32 *intspec, unsigned int intsize, hip04_irq_domain_xlate()
330 if (intsize < 3) hip04_irq_domain_xlate()
320 hip04_irq_domain_xlate(struct irq_domain *d, struct device_node *controller, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) hip04_irq_domain_xlate() argument
H A Dirq-mips-gic.c783 const u32 *intspec, unsigned int intsize, gic_irq_domain_xlate()
787 if (intsize != 3) gic_irq_domain_xlate()
782 gic_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type) gic_irq_domain_xlate() argument
H A Dirq-mmp.c171 const u32 *intspec, unsigned int intsize, mmp_irq_domain_xlate()
170 mmp_irq_domain_xlate(struct irq_domain *d, struct device_node *node, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) mmp_irq_domain_xlate() argument
H A Dirq-s3c24xx.c1176 const u32 *intspec, unsigned int intsize, s3c24xx_irq_xlate_of()
1185 if (WARN_ON(intsize < 4)) s3c24xx_irq_xlate_of()
1175 s3c24xx_irq_xlate_of(struct irq_domain *d, struct device_node *n, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type) s3c24xx_irq_xlate_of() argument
/linux-4.4.14/drivers/of/
H A Dirq.c103 u32 intsize = 1, addrsize, newintsize = 0, newaddrsize = 0; of_irq_parse_raw() local
119 intsize = be32_to_cpu(*tmp); of_irq_parse_raw()
131 pr_debug("of_irq_parse_raw: ipar=%s, size=%d\n", of_node_full_name(ipar), intsize); of_irq_parse_raw()
133 if (out_irq->args_count != intsize) of_irq_parse_raw()
153 if (WARN_ON(addrsize + intsize > MAX_PHANDLE_ARGS)) of_irq_parse_raw()
159 for (i = 0; i < intsize; i++) of_irq_parse_raw()
199 while (imaplen > (addrsize + intsize + 1) && !match) { of_irq_parse_raw()
202 for (i = 0; i < (addrsize + intsize); i++, imaplen--) of_irq_parse_raw()
260 out_irq->args_count = intsize = newintsize; of_irq_parse_raw()
293 u32 intsize, intlen; of_irq_parse_one() local
331 intsize = be32_to_cpu(*tmp); of_irq_parse_one()
333 pr_debug(" intsize=%d intlen=%d\n", intsize, intlen); of_irq_parse_one()
336 if ((index + 1) * intsize > intlen) { of_irq_parse_one()
342 intspec += index * intsize; of_irq_parse_one()
344 out_irq->args_count = intsize; of_irq_parse_one()
345 for (i = 0; i < intsize; i++) of_irq_parse_one()
/linux-4.4.14/arch/xtensa/include/asm/
H A Dirq.h49 int xtensa_irq_domain_xlate(const u32 *intspec, unsigned int intsize,
/linux-4.4.14/arch/powerpc/platforms/cell/
H A Dspider-pic.c184 const u32 *intspec, unsigned int intsize, spider_host_xlate()
232 int imaplen, intsize, unit; spider_find_cascade_and_node() local
249 intsize = *tmp; spider_find_cascade_and_node()
251 if (imap == NULL || imaplen < (intsize + 1)) spider_find_cascade_and_node()
253 iic = of_find_node_by_phandle(imap[intsize]); spider_find_cascade_and_node()
256 imap += intsize + 1; spider_find_cascade_and_node()
262 intsize = *tmp; spider_find_cascade_and_node()
264 unit = imap[intsize - 1]; spider_find_cascade_and_node()
183 spider_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) spider_host_xlate() argument
H A Dinterrupt.c251 const u32 *intspec, unsigned int intsize, iic_host_xlate()
261 if (intsize != 1) iic_host_xlate()
250 iic_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) iic_host_xlate() argument
/linux-4.4.14/arch/powerpc/sysdev/
H A Dmpc8xx_pic.c100 const u32 *intspec, unsigned int intsize, mpc8xx_pic_host_xlate()
114 if (intsize > 1 && intspec[1] < 4) mpc8xx_pic_host_xlate()
99 mpc8xx_pic_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) mpc8xx_pic_host_xlate() argument
H A Dehv_pic.c218 const u32 *intspec, unsigned int intsize, ehv_pic_host_xlate()
237 if (intsize > 1) { ehv_pic_host_xlate()
217 ehv_pic_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) ehv_pic_host_xlate() argument
H A Di8259.c190 const u32 *intspec, unsigned int intsize, i8259_host_xlate()
201 if (intsize > 1 && intspec[1] < 4) i8259_host_xlate()
189 i8259_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) i8259_host_xlate() argument
H A Dxilinx_intc.c147 const u32 *intspec, unsigned int intsize, xilinx_intc_xlate()
151 if ((intsize < 2) || (intspec[0] >= XILINX_INTC_MAXIRQS)) xilinx_intc_xlate()
146 xilinx_intc_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) xilinx_intc_xlate() argument
H A Dmpic.c1088 const u32 *intspec, unsigned int intsize, mpic_host_xlate()
1101 if (intsize >= 4 && (mpic->flags & MPIC_FSL)) { mpic_host_xlate()
1141 } else if (intsize > 1) { mpic_host_xlate()
1161 intsize, intspec[0], intspec[1], *out_hwirq, *out_flags); mpic_host_xlate()
1087 mpic_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) mpic_host_xlate() argument
H A Dtsi108_pci.c380 const u32 *intspec, unsigned int intsize, pci_irq_host_xlate()
379 pci_irq_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) pci_irq_host_xlate() argument
/linux-4.4.14/include/linux/
H A Dirqdomain.h99 const u32 *intspec, unsigned int intsize,
323 const u32 *intspec, unsigned int intsize,
326 const u32 *intspec, unsigned int intsize,
329 const u32 *intspec, unsigned int intsize,
/linux-4.4.14/drivers/clk/at91/
H A Dpmc.c135 const u32 *intspec, unsigned int intsize, pmc_irq_domain_xlate()
142 if (WARN_ON(intsize < 1)) pmc_irq_domain_xlate()
133 pmc_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type) pmc_irq_domain_xlate() argument
/linux-4.4.14/arch/powerpc/platforms/52xx/
H A Dmedia5200.c126 const u32 *intspec, unsigned int intsize, media5200_irq_xlate()
130 if (intsize != 2) media5200_irq_xlate()
125 media5200_irq_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) media5200_irq_xlate() argument
H A Dmpc52xx_gpt.c220 const u32 *intspec, unsigned int intsize, mpc52xx_gpt_irq_xlate()
228 if ((intsize < 1) || (intspec[0] > 3)) { mpc52xx_gpt_irq_xlate()
219 mpc52xx_gpt_irq_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) mpc52xx_gpt_irq_xlate() argument
H A Dmpc52xx_pic.c305 const u32 *intspec, unsigned int intsize, mpc52xx_irqhost_xlate()
314 if (intsize != 3) mpc52xx_irqhost_xlate()
304 mpc52xx_irqhost_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) mpc52xx_irqhost_xlate() argument
/linux-4.4.14/arch/powerpc/sysdev/ge/
H A Dge_pic.c167 const u32 *intspec, unsigned int intsize, gef_pic_host_xlate()
172 if (intsize > 1) gef_pic_host_xlate()
166 gef_pic_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) gef_pic_host_xlate() argument
/linux-4.4.14/drivers/gpio/
H A Dgpio-sodaville.c100 const u32 *intspec, u32 intsize, irq_hw_number_t *out_hwirq, sdv_xlate()
108 if (intsize < 2) sdv_xlate()
99 sdv_xlate(struct irq_domain *h, struct device_node *node, const u32 *intspec, u32 intsize, irq_hw_number_t *out_hwirq, u32 *out_type) sdv_xlate() argument
/linux-4.4.14/kernel/irq/
H A Dirqdomain.c777 const u32 *intspec, unsigned int intsize, irq_domain_xlate_onecell()
780 if (WARN_ON(intsize < 1)) irq_domain_xlate_onecell()
796 const u32 *intspec, unsigned int intsize, irq_domain_xlate_twocell()
799 if (WARN_ON(intsize < 2)) irq_domain_xlate_twocell()
820 const u32 *intspec, unsigned int intsize, irq_domain_xlate_onetwocell()
823 if (WARN_ON(intsize < 1)) irq_domain_xlate_onetwocell()
826 *out_type = (intsize > 1) ? intspec[1] : IRQ_TYPE_NONE; irq_domain_xlate_onetwocell()
776 irq_domain_xlate_onecell(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) irq_domain_xlate_onecell() argument
795 irq_domain_xlate_twocell(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type) irq_domain_xlate_twocell() argument
818 irq_domain_xlate_onetwocell(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) irq_domain_xlate_onetwocell() argument
/linux-4.4.14/arch/mips/cavium-octeon/
H A Docteon-irq.c1089 unsigned int intsize, octeon_irq_gpio_xlat()
1100 if (intsize < 2) octeon_irq_gpio_xlat()
1138 unsigned int intsize, octeon_irq_ciu_xlat()
1855 unsigned int intsize, octeon_irq_ciu2_xlat()
2132 unsigned int intsize, octeon_irq_cib_xlat()
2138 if (intsize == 2) octeon_irq_cib_xlat()
1086 octeon_irq_gpio_xlat(struct irq_domain *d, struct device_node *node, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) octeon_irq_gpio_xlat() argument
1135 octeon_irq_ciu_xlat(struct irq_domain *d, struct device_node *node, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) octeon_irq_ciu_xlat() argument
1852 octeon_irq_ciu2_xlat(struct irq_domain *d, struct device_node *node, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) octeon_irq_ciu2_xlat() argument
2129 octeon_irq_cib_xlat(struct irq_domain *d, struct device_node *node, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) octeon_irq_cib_xlat() argument
/linux-4.4.14/arch/arc/kernel/
H A Dmcip.c265 const u32 *intspec, unsigned int intsize, idu_irq_xlate()
264 idu_irq_xlate(struct irq_domain *d, struct device_node *n, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type) idu_irq_xlate() argument
/linux-4.4.14/arch/powerpc/platforms/85xx/
H A Dsocrates_fpga_pic.c245 struct device_node *ct, const u32 *intspec, unsigned int intsize, socrates_fpga_pic_host_xlate()
244 socrates_fpga_pic_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) socrates_fpga_pic_host_xlate() argument
/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Dopal-irqchip.c156 const u32 *intspec, unsigned int intsize, opal_event_xlate()
155 opal_event_xlate(struct irq_domain *h, struct device_node *np, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) opal_event_xlate() argument
/linux-4.4.14/drivers/spmi/
H A Dspmi-pmic-arb.c642 unsigned int intsize, qpnpint_irq_domain_dt_translate()
657 if (intsize != 4) qpnpint_irq_domain_dt_translate()
639 qpnpint_irq_domain_dt_translate(struct irq_domain *d, struct device_node *controller, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) qpnpint_irq_domain_dt_translate() argument
/linux-4.4.14/drivers/pinctrl/sunxi/
H A Dpinctrl-sunxi.c706 unsigned int intsize, sunxi_pinctrl_irq_of_xlate()
714 if (intsize < 3) sunxi_pinctrl_irq_of_xlate()
703 sunxi_pinctrl_irq_of_xlate(struct irq_domain *d, struct device_node *node, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type) sunxi_pinctrl_irq_of_xlate() argument
/linux-4.4.14/arch/powerpc/sysdev/xics/
H A Dxics-common.c350 const u32 *intspec, unsigned int intsize, xics_host_xlate()
349 xics_host_xlate(struct irq_domain *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags) xics_host_xlate() argument

Completed in 1009 milliseconds