Searched refs:hwclock (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/cpufreq/ |
H A D | pmac64-cpufreq.c | 481 struct device_node *cpuid = NULL, *hwclock = NULL; in g5_pm72_cpufreq_init() local 501 for_each_node_by_name(hwclock, "i2c-hwclock") { in g5_pm72_cpufreq_init() 502 const char *loc = of_get_property(hwclock, in g5_pm72_cpufreq_init() 508 if (!of_property_present(hwclock, "platform-get-frequency")) in g5_pm72_cpufreq_init() 512 if (hwclock == NULL) { in g5_pm72_cpufreq_init() 518 DBG("cpufreq: i2c clock chip found: %pOF\n", hwclock); in g5_pm72_cpufreq_init() 522 pmf_find_function(hwclock, "get-frequency"); in g5_pm72_cpufreq_init() 524 pmf_find_function(hwclock, "set-frequency-high"); in g5_pm72_cpufreq_init() 526 pmf_find_function(hwclock, "set-frequency-low"); in g5_pm72_cpufreq_init() 528 pmf_find_function(hwclock, "slewing-done"); in g5_pm72_cpufreq_init() [all …]
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 6302 static void tg3_hwclock_to_timestamp(struct tg3 *tp, u64 hwclock, in tg3_hwclock_to_timestamp() argument 6306 timestamp->hwtstamp = ns_to_ktime((hwclock & TG3_TSTAMP_MASK) + in tg3_hwclock_to_timestamp() 6310 static void tg3_read_tx_tstamp(struct tg3 *tp, u64 *hwclock) in tg3_read_tx_tstamp() argument 6312 *hwclock = tr32(TG3_TX_TSTAMP_LSB); in tg3_read_tx_tstamp() 6313 *hwclock |= (u64)tr32(TG3_TX_TSTAMP_MSB) << 32; in tg3_read_tx_tstamp() 6320 u64 hwclock; in tg3_ptp_ts_aux_work() local 6325 tg3_read_tx_tstamp(tp, &hwclock); in tg3_ptp_ts_aux_work() 6327 if (hwclock != tp->pre_tx_ts) { in tg3_ptp_ts_aux_work() 6328 tg3_hwclock_to_timestamp(tp, hwclock, ×tamp); in tg3_ptp_ts_aux_work() 6580 u64 hwclock; in tg3_tx() local [all …]
|
/linux/Documentation/virt/kvm/x86/ |
H A D | timekeeping.rst | 200 dangerous to allow userspace utilities such as hwclock to have direct RTC
|
/linux/drivers/rtc/ |
H A D | Kconfig | 130 expected by "hwclock" and some other programs. Recent
|