Lines Matching defs:hwclock
543 struct device_node *cpuid = NULL, *hwclock = NULL, *cpunode = NULL;
573 /* Lookup the i2c hwclock */
574 for (hwclock = NULL;
575 (hwclock = of_find_node_by_name(hwclock, "i2c-hwclock")) != NULL;){
576 const char *loc = of_get_property(hwclock,
582 if (!of_get_property(hwclock, "platform-get-frequency", NULL))
586 if (hwclock == NULL) {
592 DBG("cpufreq: i2c clock chip found: %s\n", hwclock->full_name);
596 pmf_find_function(hwclock, "get-frequency");
598 pmf_find_function(hwclock, "set-frequency-high");
600 pmf_find_function(hwclock, "set-frequency-low");
602 pmf_find_function(hwclock, "slewing-done");
604 pmf_find_function(hwclock, "set-voltage-high-0");
606 pmf_find_function(hwclock, "set-voltage-low-0");
608 pmf_find_function(hwclock, "set-voltage-high-1");
610 pmf_find_function(hwclock, "set-voltage-low-1");
713 of_node_put(hwclock);