Home
last modified time | relevance | path

Searched refs:intsize (Results 1 – 25 of 47) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/of/
Dirq.c99 u32 intsize = 1, addrsize, newintsize = 0, newaddrsize = 0; in of_irq_parse_raw() local
113 if (!of_property_read_u32(ipar, "#interrupt-cells", &intsize)) in of_irq_parse_raw()
124 pr_debug("of_irq_parse_raw: ipar=%pOF, size=%d\n", ipar, intsize); in of_irq_parse_raw()
126 if (out_irq->args_count != intsize) in of_irq_parse_raw()
146 if (WARN_ON(addrsize + intsize > MAX_PHANDLE_ARGS)) { in of_irq_parse_raw()
154 for (i = 0; i < intsize; i++) in of_irq_parse_raw()
193 while (imaplen > (addrsize + intsize + 1) && !match) { in of_irq_parse_raw()
196 for (i = 0; i < (addrsize + intsize); i++, imaplen--) in of_irq_parse_raw()
255 out_irq->args_count = intsize = newintsize; in of_irq_parse_raw()
290 u32 intsize; in of_irq_parse_one() local
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dspider-pic.c171 const u32 *intspec, unsigned int intsize, in spider_host_xlate() argument
219 int imaplen, intsize, unit; in spider_find_cascade_and_node() local
236 intsize = *tmp; in spider_find_cascade_and_node()
238 if (imap == NULL || imaplen < (intsize + 1)) in spider_find_cascade_and_node()
240 iic = of_find_node_by_phandle(imap[intsize]); in spider_find_cascade_and_node()
243 imap += intsize + 1; in spider_find_cascade_and_node()
249 intsize = *tmp; in spider_find_cascade_and_node()
251 unit = imap[intsize - 1]; in spider_find_cascade_and_node()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-ls-extirq.c113 u32 hwirq, intsize, j; in ls_extirq_parse_map() local
128 ret = of_property_read_u32(ipar, "#interrupt-cells", &intsize); in ls_extirq_parse_map()
132 if (intsize > mapsize) in ls_extirq_parse_map()
135 priv->map[hwirq].param_count = intsize; in ls_extirq_parse_map()
136 for (j = 0; j < intsize; ++j) in ls_extirq_parse_map()
138 mapsize -= intsize; in ls_extirq_parse_map()
Dirq-renesas-rza1.c149 u32 intsize; in rza1_irqc_parse_map() local
172 ret = of_property_read_u32(ipar, "#interrupt-cells", &intsize); in rza1_irqc_parse_map()
177 if (imaplen < intsize) in rza1_irqc_parse_map()
180 priv->map[i].args_count = intsize; in rza1_irqc_parse_map()
181 for (j = 0; j < intsize; j++) in rza1_irqc_parse_map()
184 imaplen -= intsize; in rza1_irqc_parse_map()
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()
Dirq-csky-mpintc.c192 unsigned int intsize, unsigned long *out_hwirq, in csky_irq_domain_xlate_cells() argument
195 if (WARN_ON(intsize < 1)) in csky_irq_domain_xlate_cells()
199 if (intsize > 1) in csky_irq_domain_xlate_cells()
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()
Dirq-hip04.c319 const u32 *intspec, unsigned int intsize, in hip04_irq_domain_xlate() argument
325 if (intsize == 1 && intspec[0] < 16) { in hip04_irq_domain_xlate()
330 if (intsize < 3) in hip04_irq_domain_xlate()
Dirq-atmel-aic-common.h27 unsigned int intsize,
Dirq-atmel-aic-common.c92 unsigned int intsize, in aic_common_irq_domain_xlate() argument
96 if (WARN_ON(intsize < 3)) in aic_common_irq_domain_xlate()
Dexynos-combiner.c140 const u32 *intspec, unsigned int intsize, in combiner_irq_domain_xlate() argument
147 if (intsize < 2) in combiner_irq_domain_xlate()
Dirq-bcm2835.c109 const u32 *intspec, unsigned int intsize, in armctrl_xlate() argument
112 if (WARN_ON(intsize != 2)) in armctrl_xlate()
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()
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dirq.c69 int xtensa_irq_domain_xlate(const u32 *intspec, unsigned int intsize, in xtensa_irq_domain_xlate() argument
73 if (WARN_ON(intsize < 1 || intsize > 2)) in xtensa_irq_domain_xlate()
75 if (intsize == 2 && intspec[1] == 1) { in xtensa_irq_domain_xlate()
/kernel/linux/linux-5.10/drivers/sh/intc/
Dirqdomain.c28 const u32 *intspec, unsigned int intsize, in intc_evt_xlate() argument
31 if (WARN_ON(intsize < 1)) in intc_evt_xlate()
/kernel/linux/linux-5.10/arch/powerpc/platforms/8xx/
Dpic.c100 const u32 *intspec, unsigned int intsize, in mpc8xx_pic_host_xlate() argument
114 if (intsize > 1 && intspec[1] < 4) in mpc8xx_pic_host_xlate()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ge/
Dge_pic.c167 const u32 *intspec, unsigned int intsize, in gef_pic_host_xlate() argument
172 if (intsize > 1) in gef_pic_host_xlate()
/kernel/linux/linux-5.10/include/linux/
Dirqdomain.h113 const u32 *intspec, unsigned int intsize,
432 const u32 *intspec, unsigned int intsize,
435 const u32 *intspec, unsigned int intsize,
438 const u32 *intspec, unsigned int intsize,
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Di8259.c186 const u32 *intspec, unsigned int intsize, in i8259_host_xlate() argument
197 if (intsize > 1 && intspec[1] < 4) in i8259_host_xlate()
Dehv_pic.c218 const u32 *intspec, unsigned int intsize, in ehv_pic_host_xlate() argument
237 if (intsize > 1) { in ehv_pic_host_xlate()
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dirq.h35 int xtensa_irq_domain_xlate(const u32 *intspec, unsigned int intsize,
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/
Dmedia5200.c121 const u32 *intspec, unsigned int intsize, in media5200_irq_xlate() argument
125 if (intsize != 2) in media5200_irq_xlate()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-sodaville.c93 const u32 *intspec, u32 intsize, irq_hw_number_t *out_hwirq, in sdv_xlate() argument
101 if (intsize < 2) in sdv_xlate()
/kernel/linux/linux-5.10/drivers/mailbox/
Dqcom-ipcc.c128 unsigned int intsize, in qcom_ipcc_domain_xlate() argument
132 if (intsize != 3) in qcom_ipcc_domain_xlate()
/kernel/linux/linux-5.10/kernel/irq/
Dirqdomain.c917 const u32 *intspec, unsigned int intsize, in irq_domain_xlate_onecell() argument
920 if (WARN_ON(intsize < 1)) in irq_domain_xlate_onecell()
936 const u32 *intspec, unsigned int intsize, in irq_domain_xlate_twocell() argument
941 of_phandle_args_to_fwspec(ctrlr, intspec, intsize, &fwspec); in irq_domain_xlate_twocell()
959 const u32 *intspec, unsigned int intsize, in irq_domain_xlate_onetwocell() argument
962 if (WARN_ON(intsize < 1)) in irq_domain_xlate_onetwocell()
965 if (intsize > 1) in irq_domain_xlate_onetwocell()

12