• Home
  • Raw
  • Download

Lines Matching refs:master

302         struct device_node *master = NULL;  in pmac_pic_probe_oldstyle()  local
314 if ((master = of_find_node_by_name(NULL, "gc")) != NULL) { in pmac_pic_probe_oldstyle()
316 } else if ((master = of_find_node_by_name(NULL, "ohare")) != NULL) { in pmac_pic_probe_oldstyle()
322 } else if ((master = of_find_node_by_name(NULL, "mac-io")) != NULL) { in pmac_pic_probe_oldstyle()
328 of_node_get(master); in pmac_pic_probe_oldstyle()
329 slave = of_find_node_by_name(master, "mac-io"); in pmac_pic_probe_oldstyle()
332 if (of_device_is_compatible(master, "gatwick")) { in pmac_pic_probe_oldstyle()
335 tmp = master; in pmac_pic_probe_oldstyle()
336 master = slave; in pmac_pic_probe_oldstyle()
344 BUG_ON(master == NULL); in pmac_pic_probe_oldstyle()
349 pmac_pic_host = irq_domain_add_linear(master, max_irqs, in pmac_pic_probe_oldstyle()
355 BUG_ON(of_address_to_resource(master, 0, &r)); in pmac_pic_probe_oldstyle()
365 of_node_put(master); in pmac_pic_probe_oldstyle()
368 master->full_name, max_real_irqs); in pmac_pic_probe_oldstyle()
457 int master) in pmac_setup_one_mpic() argument
459 const char *name = master ? " MPIC 1 " : " MPIC 2 "; in pmac_setup_one_mpic()
461 unsigned int flags = master ? 0 : MPIC_SECONDARY; in pmac_setup_one_mpic()
471 if (master && (flags & MPIC_BIG_ENDIAN)) in pmac_setup_one_mpic()
486 struct device_node *np, *master = NULL, *slave = NULL; in pmac_pic_probe_mpic() local
491 if (master == NULL && in pmac_pic_probe_mpic()
493 master = of_node_get(np); in pmac_pic_probe_mpic()
496 if (master && slave) in pmac_pic_probe_mpic()
501 if (master == NULL && slave != NULL) { in pmac_pic_probe_mpic()
502 master = slave; in pmac_pic_probe_mpic()
507 if (master == NULL) in pmac_pic_probe_mpic()
514 mpic1 = pmac_setup_one_mpic(master, 1); in pmac_pic_probe_mpic()
520 of_node_put(master); in pmac_pic_probe_mpic()