Lines Matching refs:hwclock
481 struct device_node *cpuid = NULL, *hwclock = NULL;
500 /* Lookup the i2c hwclock */
501 for_each_node_by_name(hwclock, "i2c-hwclock") {
502 const char *loc = of_get_property(hwclock,
508 if (!of_get_property(hwclock, "platform-get-frequency", NULL))
512 if (hwclock == NULL) {
518 DBG("cpufreq: i2c clock chip found: %pOF\n", hwclock);
522 pmf_find_function(hwclock, "get-frequency");
524 pmf_find_function(hwclock, "set-frequency-high");
526 pmf_find_function(hwclock, "set-frequency-low");
528 pmf_find_function(hwclock, "slewing-done");
530 pmf_find_function(hwclock, "set-voltage-high-0");
532 pmf_find_function(hwclock, "set-voltage-low-0");
534 pmf_find_function(hwclock, "set-voltage-high-1");
536 pmf_find_function(hwclock, "set-voltage-low-1");
640 of_node_put(hwclock);