Searched refs:imaplen (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/drivers/of/ |
D | irq.c | 105 int imaplen, match, i; in of_irq_map_raw() local 171 imap = of_get_property(ipar, "interrupt-map", &imaplen); in of_irq_map_raw() 178 imaplen /= sizeof(u32); in of_irq_map_raw() 194 while (imaplen > (addrsize + intsize + 1) && !match) { in of_irq_map_raw() 207 imaplen -= addrsize + intsize; in of_irq_map_raw() 209 pr_debug(" -> match=%d (imaplen=%d)\n", match, imaplen); in of_irq_map_raw() 217 --imaplen; in of_irq_map_raw() 241 if (imaplen < (newaddrsize + newintsize)) in of_irq_map_raw() 245 imaplen -= newaddrsize + newintsize; in of_irq_map_raw() 247 pr_debug(" -> imaplen=%d\n", imaplen); in of_irq_map_raw()
|
/linux-2.6.39/arch/powerpc/platforms/cell/ |
D | spider-pic.c | 231 int imaplen, intsize, unit; in spider_find_cascade_and_node() local 249 imap = of_get_property(pic->host->of_node, "interrupt-map", &imaplen); in spider_find_cascade_and_node() 250 if (imap == NULL || imaplen < (intsize + 1)) in spider_find_cascade_and_node()
|