Home
last modified time | relevance | path

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

/arch/powerpc/platforms/pseries/
Dlparcfg.c666 struct device_node *rootdn; in lparcfg_data() local
675 rootdn = of_find_node_by_path("/"); in lparcfg_data()
676 if (rootdn) { in lparcfg_data()
677 tmp = of_get_property(rootdn, "model", NULL); in lparcfg_data()
680 tmp = of_get_property(rootdn, "system-id", NULL); in lparcfg_data()
683 lp_index_ptr = of_get_property(rootdn, "ibm,partition-no", in lparcfg_data()
687 of_node_put(rootdn); in lparcfg_data()
/arch/powerpc/sysdev/xive/
Dspapr.c675 struct device_node *rootdn; in xive_get_max_prio() local
680 rootdn = of_find_node_by_path("/"); in xive_get_max_prio()
681 if (!rootdn) { in xive_get_max_prio()
686 reg = of_get_property(rootdn, "ibm,plat-res-int-priorities", &len); in xive_get_max_prio()
687 of_node_put(rootdn); in xive_get_max_prio()