Home
last modified time | relevance | path

Searched refs:imaplen (Results 1 – 2 of 2) sorted by relevance

/drivers/of/
Dirq.c100 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()
/drivers/irqchip/
Dirq-renesas-rza1.c145 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()