Searched refs:seconds_lsb (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/ptp/ |
H A D | ptp_dfl_tod.c | 100 u32 seconds_msb, seconds_lsb, nanosec; in coarse_adjust_tod_clock() local 108 seconds_lsb = readl(base + TOD_SECONDSL); in coarse_adjust_tod_clock() 112 seconds = CAL_SECONDS(seconds_msb, seconds_lsb); in coarse_adjust_tod_clock() 117 seconds_lsb = FIELD_GET(SECONDS_LSB, seconds); in coarse_adjust_tod_clock() 120 writel(seconds_lsb, base + TOD_SECONDSL); in coarse_adjust_tod_clock() 230 u32 seconds_msb, seconds_lsb, nanosec; in dfl_tod_get_timex() local 238 seconds_lsb = readl(base + TOD_SECONDSL); in dfl_tod_get_timex() 243 seconds = CAL_SECONDS(seconds_msb, seconds_lsb); in dfl_tod_get_timex() 256 u32 seconds_lsb = FIELD_GET(SECONDS_LSB, ts->tv_sec); in dfl_tod_set_time() local 263 writel(seconds_lsb, base + TOD_SECONDSL); in dfl_tod_set_time()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 1115 origin_tstamp->seconds_lsb = htonl(ts.tv_sec & 0xffffffff); in otx2_set_txtstamp()
|