Lines Matching refs:root
75 struct device_node *root; in efika_pcisetup() local
78 root = of_find_node_by_path("/"); in efika_pcisetup()
79 if (root == NULL) { in efika_pcisetup()
86 pcictrl = of_get_next_child(root, pcictrl); in efika_pcisetup()
91 of_node_put(root); in efika_pcisetup()
146 struct device_node *root; in efika_show_cpuinfo() local
151 root = of_find_node_by_path("/"); in efika_show_cpuinfo()
152 if (!root) in efika_show_cpuinfo()
155 revision = of_get_property(root, "revision", NULL); in efika_show_cpuinfo()
156 codegendescription = of_get_property(root, "CODEGEN,description", NULL); in efika_show_cpuinfo()
157 codegenvendor = of_get_property(root, "CODEGEN,vendor", NULL); in efika_show_cpuinfo()
170 of_node_put(root); in efika_show_cpuinfo()