Home
last modified time | relevance | path

Searched refs:seconds_lsb (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/ptp/
H A Dptp_dfl_tod.c100 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 Dotx2_txrx.c1115 origin_tstamp->seconds_lsb = htonl(ts.tv_sec & 0xffffffff); in otx2_set_txtstamp()