Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dlparcfg.c745 struct device_node *rootdn; in lparcfg_data() local
754 rootdn = of_find_node_by_path("/"); in lparcfg_data()
755 if (rootdn) { in lparcfg_data()
756 tmp = of_get_property(rootdn, "model", NULL); in lparcfg_data()
759 tmp = of_get_property(rootdn, "system-id", NULL); in lparcfg_data()
762 lp_index_ptr = of_get_property(rootdn, "ibm,partition-no", in lparcfg_data()
766 of_node_put(rootdn); in lparcfg_data()
/openbmc/linux/arch/powerpc/sysdev/xive/
H A Dspapr.c710 struct device_node *rootdn; in xive_get_max_prio() local
715 rootdn = of_find_node_by_path("/"); in xive_get_max_prio()
716 if (!rootdn) { in xive_get_max_prio()
721 reg = of_get_property(rootdn, "ibm,plat-res-int-priorities", &len); in xive_get_max_prio()
722 of_node_put(rootdn); in xive_get_max_prio()
/openbmc/linux/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.c3638 struct device_node *rootdn, *vdevdn; in ibmvscsis_get_system_info() local
3642 rootdn = of_find_node_by_path("/"); in ibmvscsis_get_system_info()
3643 if (!rootdn) in ibmvscsis_get_system_info()
3646 model = of_get_property(rootdn, "model", NULL); in ibmvscsis_get_system_info()
3647 id = of_get_property(rootdn, "system-id", NULL); in ibmvscsis_get_system_info()
3651 name = of_get_property(rootdn, "ibm,partition-name", NULL); in ibmvscsis_get_system_info()
3655 num = of_get_property(rootdn, "ibm,partition-no", NULL); in ibmvscsis_get_system_info()
3659 of_node_put(rootdn); in ibmvscsis_get_system_info()
/openbmc/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc.c1447 struct device_node *rootdn; in ibmvfc_gather_partition_info() local
1451 rootdn = of_find_node_by_path("/"); in ibmvfc_gather_partition_info()
1452 if (!rootdn) in ibmvfc_gather_partition_info()
1455 name = of_get_property(rootdn, "ibm,partition-name", NULL); in ibmvfc_gather_partition_info()
1458 num = of_get_property(rootdn, "ibm,partition-no", NULL); in ibmvfc_gather_partition_info()
1461 of_node_put(rootdn); in ibmvfc_gather_partition_info()