Lines Matching defs:opp_node
385 cpufreq_dt_opp_v2_supported(const int opp_table, const int opp_node)
393 cpufreq_dt_node_supported(const struct fdt_opp_info *opp_info, const int opp_table, const int opp_node)
395 if (!fdtbus_status_okay(opp_node))
397 if (of_hasprop(opp_node, "opp-suspend"))
401 return opp_info->opp_supported(opp_table, opp_node);
414 int opp_node, len, i, index;
431 for (opp_node = OF_child(opp_table); opp_node; opp_node = OF_peer(opp_node)) {
432 if (!cpufreq_dt_node_supported(opp_info, opp_table, opp_node))
442 for (opp_node = OF_child(opp_table), i = 0; opp_node; opp_node = OF_peer(opp_node), i++) {
443 if (!cpufreq_dt_node_supported(opp_info, opp_table, opp_node))
445 if (of_getprop_uint64(opp_node, "opp-hz", &opp_hz) != 0)
447 opp_uv = fdtbus_get_prop(opp_node, "opp-microvolt", &len);
453 of_getprop_uint32(opp_node, "clock-latency-ns", &sc->sc_opp[index].latency_ns);