Home
last modified time | relevance | path

Searched refs:hwclock (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/drivers/cpufreq/
Dpmac64-cpufreq.c482 struct device_node *cpuid = NULL, *hwclock = NULL; in g5_pm72_cpufreq_init() local
502 for_each_node_by_name(hwclock, "i2c-hwclock") { in g5_pm72_cpufreq_init()
503 const char *loc = of_get_property(hwclock, in g5_pm72_cpufreq_init()
509 if (!of_get_property(hwclock, "platform-get-frequency", NULL)) in g5_pm72_cpufreq_init()
513 if (hwclock == NULL) { in g5_pm72_cpufreq_init()
519 DBG("cpufreq: i2c clock chip found: %s\n", hwclock->full_name); in g5_pm72_cpufreq_init()
523 pmf_find_function(hwclock, "get-frequency"); in g5_pm72_cpufreq_init()
525 pmf_find_function(hwclock, "set-frequency-high"); in g5_pm72_cpufreq_init()
527 pmf_find_function(hwclock, "set-frequency-low"); in g5_pm72_cpufreq_init()
529 pmf_find_function(hwclock, "slewing-done"); in g5_pm72_cpufreq_init()
[all …]
/linux-4.1.27/Documentation/ia64/
Defirtc.txt23 portable way, the CMOS clock. A program like /sbin/hwclock uses such a clock
37 similar to the struct tm, i.e. struct rtc_time, as used by hwclock.
80 Those two ioctl()s can be exercised with the hwclock command:
83 # /sbin/hwclock --show
87 # /sbin/hwclock --systohc
/linux-4.1.27/Documentation/virtual/kvm/
Dtimekeeping.txt189 dangerous to allow userspace utilities such as hwclock to have direct RTC
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dtg3.c6326 static void tg3_hwclock_to_timestamp(struct tg3 *tp, u64 hwclock, in tg3_hwclock_to_timestamp() argument
6330 timestamp->hwtstamp = ns_to_ktime((hwclock & TG3_TSTAMP_MASK) + in tg3_hwclock_to_timestamp()
6544 u64 hwclock = tr32(TG3_TX_TSTAMP_LSB); in tg3_tx() local
6545 hwclock |= (u64)tr32(TG3_TX_TSTAMP_MSB) << 32; in tg3_tx()
6547 tg3_hwclock_to_timestamp(tp, hwclock, &timestamp); in tg3_tx()
/linux-4.1.27/drivers/rtc/
DKconfig100 expected by "hwclock" and some other programs. Recent