Searched refs:imaplen (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/of/ |
D | irq.c | 120 int imaplen, match, i, rc = -EINVAL; in of_irq_parse_raw() local 188 imap = of_get_property(ipar, "interrupt-map", &imaplen); in of_irq_parse_raw() 210 imaplen /= sizeof(u32); in of_irq_parse_raw() 219 while (imaplen > (addrsize + intsize + 1) && !match) { in of_irq_parse_raw() 222 for (i = 0; i < (addrsize + intsize); i++, imaplen--) in of_irq_parse_raw() 225 pr_debug(" -> match=%d (imaplen=%d)\n", match, imaplen); in of_irq_parse_raw() 233 --imaplen; in of_irq_parse_raw() 261 || (imaplen < (newaddrsize + newintsize))) { in of_irq_parse_raw() 267 imaplen -= newaddrsize + newintsize; in of_irq_parse_raw() 269 pr_debug(" -> imaplen=%d\n", imaplen); in of_irq_parse_raw()
|
/linux-6.1.9/drivers/irqchip/ |
D | irq-renesas-rza1.c | 145 unsigned int imaplen, i, j, ret; in rza1_irqc_parse_map() local 151 imap = of_get_property(dev->of_node, "interrupt-map", &imaplen); in rza1_irqc_parse_map() 156 if (imaplen < 3) in rza1_irqc_parse_map() 170 imaplen -= 3; in rza1_irqc_parse_map() 177 if (imaplen < intsize) in rza1_irqc_parse_map() 184 imaplen -= intsize; in rza1_irqc_parse_map()
|
/linux-6.1.9/arch/powerpc/platforms/cell/ |
D | spider-pic.c | 215 int imaplen, intsize, unit; in spider_find_cascade_and_node() local 233 imap = of_get_property(of_node, "interrupt-map", &imaplen); in spider_find_cascade_and_node() 234 if (imap == NULL || imaplen < (intsize + 1)) in spider_find_cascade_and_node()
|