Lines Matching refs:parent
78 if (!of_node_is_root(dp->parent)) { in sun4v_path_component()
119 if (!of_node_is_root(dp->parent)) { in sun4u_path_component()
311 struct device_node *parent = dp->parent; in __build_path_component() local
313 if (parent != NULL) { in __build_path_component()
314 if (of_node_is_type(parent, "pci") || in __build_path_component()
315 of_node_is_type(parent, "pciex")) { in __build_path_component()
319 if (of_node_is_type(parent, "sbus")) { in __build_path_component()
323 if (of_node_is_type(parent, "upa")) { in __build_path_component()
327 if (of_node_is_type(parent, "ebus")) { in __build_path_component()
331 if (of_node_name_eq(parent, "usb") || in __build_path_component()
332 of_node_name_eq(parent, "hub")) { in __build_path_component()
336 if (of_node_is_type(parent, "i2c")) { in __build_path_component()
340 if (of_node_is_type(parent, "firewire")) { in __build_path_component()
344 if (of_node_is_type(parent, "virtual-devices")) { in __build_path_component()
512 portid_parent = portid_parent->parent; in fill_in_one_cpu()