Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c6300 static void tg3_hwclock_to_timestamp(struct tg3 *tp, u64 hwclock, in tg3_hwclock_to_timestamp() argument
6304 timestamp->hwtstamp = ns_to_ktime((hwclock & TG3_TSTAMP_MASK) + in tg3_hwclock_to_timestamp()
6308 static void tg3_read_tx_tstamp(struct tg3 *tp, u64 *hwclock) in tg3_read_tx_tstamp() argument
6310 *hwclock = tr32(TG3_TX_TSTAMP_LSB); in tg3_read_tx_tstamp()
6311 *hwclock |= (u64)tr32(TG3_TX_TSTAMP_MSB) << 32; in tg3_read_tx_tstamp()
6318 u64 hwclock; in tg3_ptp_ts_aux_work() local
6323 tg3_read_tx_tstamp(tp, &hwclock); in tg3_ptp_ts_aux_work()
6325 if (hwclock != tp->pre_tx_ts) { in tg3_ptp_ts_aux_work()
6326 tg3_hwclock_to_timestamp(tp, hwclock, &timestamp); in tg3_ptp_ts_aux_work()
6578 u64 hwclock; in tg3_tx() local
[all …]
/linux/Documentation/virt/kvm/x86/
H A Dtimekeeping.rst200 dangerous to allow userspace utilities such as hwclock to have direct RTC
/linux/drivers/rtc/
H A DKconfig130 expected by "hwclock" and some other programs. Recent