Searched refs:rootdn (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Dlparcfg.c653 struct device_node *rootdn; lparcfg_data() local
662 rootdn = of_find_node_by_path("/"); lparcfg_data()
663 if (rootdn) { lparcfg_data()
664 tmp = of_get_property(rootdn, "model", NULL); lparcfg_data()
667 tmp = of_get_property(rootdn, "system-id", NULL); lparcfg_data()
670 lp_index_ptr = of_get_property(rootdn, "ibm,partition-no", lparcfg_data()
674 of_node_put(rootdn); lparcfg_data()
/linux-4.4.14/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c251 struct device_node *rootdn; gather_partition_info() local
257 rootdn = of_find_node_by_path("/"); gather_partition_info()
258 if (!rootdn) { gather_partition_info()
262 ppartition_name = of_get_property(rootdn, "ibm,partition-name", NULL); gather_partition_info()
266 p_number_ptr = of_get_property(rootdn, "ibm,partition-no", NULL); gather_partition_info()
269 of_node_put(rootdn); gather_partition_info()
H A Dibmvfc.c1142 struct device_node *rootdn; ibmvfc_gather_partition_info() local
1146 rootdn = of_find_node_by_path("/"); ibmvfc_gather_partition_info()
1147 if (!rootdn) ibmvfc_gather_partition_info()
1150 name = of_get_property(rootdn, "ibm,partition-name", NULL); ibmvfc_gather_partition_info()
1153 num = of_get_property(rootdn, "ibm,partition-no", NULL); ibmvfc_gather_partition_info()
1156 of_node_put(rootdn); ibmvfc_gather_partition_info()

Completed in 117 milliseconds