Searched refs:imaplen (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/of/ |
D | irq.c | 100 int imaplen, match, i, rc = -EINVAL; in of_irq_parse_raw() local 177 imap = of_get_property(ipar, "interrupt-map", &imaplen); in of_irq_parse_raw() 184 imaplen /= sizeof(u32); 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() 199 pr_debug(" -> match=%d (imaplen=%d)\n", match, imaplen); in of_irq_parse_raw() 207 --imaplen; in of_irq_parse_raw() 235 || (imaplen < (newaddrsize + newintsize))) { in of_irq_parse_raw() 241 imaplen -= newaddrsize + newintsize; in of_irq_parse_raw() 243 pr_debug(" -> imaplen=%d\n", imaplen); in of_irq_parse_raw()
|
/Linux-v5.10/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-v5.10/arch/powerpc/platforms/cell/ |
D | spider-pic.c | 219 int imaplen, intsize, unit; in spider_find_cascade_and_node() local 237 imap = of_get_property(of_node, "interrupt-map", &imaplen); in spider_find_cascade_and_node() 238 if (imap == NULL || imaplen < (intsize + 1)) in spider_find_cascade_and_node()
|