Home
last modified time | relevance | path

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

/linux-3.4.99/arch/powerpc/platforms/powernv/
Dopal.c28 static struct device_node *opal_node; variable
286 opal_node = of_find_node_by_path("/ibm,opal"); in opal_init()
287 if (!opal_node) { in opal_init()
294 consoles = of_node_get(opal_node); in opal_init()
305 irqs = of_get_property(opal_node, "opal-interrupts", &irqlen); in opal_init()
/linux-3.4.99/arch/powerpc/kernel/
Dprom_init.c1486 phandle opal_node; in prom_instantiate_opal() local
1494 opal_node = call_prom("finddevice", 1, 1, ADDR("/ibm,opal")); in prom_instantiate_opal()
1495 prom_debug("opal_node: %x\n", opal_node); in prom_instantiate_opal()
1496 if (!PHANDLE_VALID(opal_node)) in prom_instantiate_opal()
1499 prom_getprop(opal_node, "opal-runtime-size", &size, sizeof(size)); in prom_instantiate_opal()
1502 prom_getprop(opal_node, "opal-runtime-alignment", &align, in prom_instantiate_opal()
1538 prom_setprop(opal_node, "/ibm,opal", "opal-base-address", in prom_instantiate_opal()
1540 prom_setprop(opal_node, "/ibm,opal", "opal-entry-address", in prom_instantiate_opal()