Lines Matching defs:soc
41 struct device_node *soc;
46 soc = of_find_node_by_type(NULL, "soc");
47 if (soc) {
50 if (!of_range_to_resource(soc, 0, &res))
53 of_node_put(soc);
64 struct device_node *soc;
69 soc = of_find_node_by_type(NULL, "soc");
70 if (!soc)
73 of_property_read_u32(soc, "clock-frequency", &sysfreq);
75 of_property_read_u32(soc, "bus-frequency", &sysfreq);
77 of_node_put(soc);