Lines Matching refs:ya_node
248 struct device_node* ya_node; in pmac_fix_gatwick_interrupts() local
257 ya_node = node->child; in pmac_fix_gatwick_interrupts()
258 while(ya_node) in pmac_fix_gatwick_interrupts()
260 if (strcasecmp(ya_node->name, "floppy") == 0) { in pmac_fix_gatwick_interrupts()
261 if (ya_node->n_intrs < 2) { in pmac_fix_gatwick_interrupts()
262 ya_node->intrs = &gatwick_int_pool[count]; in pmac_fix_gatwick_interrupts()
265 ya_node->n_intrs = 2; in pmac_fix_gatwick_interrupts()
266 ya_node->intrs[0].line = 19+irq_base; in pmac_fix_gatwick_interrupts()
267 ya_node->intrs[1].line = 1+irq_base; in pmac_fix_gatwick_interrupts()
269 ya_node->intrs[0].line, ya_node->intrs[1].line); in pmac_fix_gatwick_interrupts()
271 if (strcasecmp(ya_node->name, "ata4") == 0) { in pmac_fix_gatwick_interrupts()
272 if (ya_node->n_intrs < 2) { in pmac_fix_gatwick_interrupts()
273 ya_node->intrs = &gatwick_int_pool[count]; in pmac_fix_gatwick_interrupts()
276 ya_node->n_intrs = 2; in pmac_fix_gatwick_interrupts()
277 ya_node->intrs[0].line = 14+irq_base; in pmac_fix_gatwick_interrupts()
278 ya_node->intrs[1].line = 3+irq_base; in pmac_fix_gatwick_interrupts()
280 ya_node->intrs[0].line, ya_node->intrs[1].line); in pmac_fix_gatwick_interrupts()
282 ya_node = ya_node->sibling; in pmac_fix_gatwick_interrupts()