Home
last modified time | relevance | path

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

/linux/drivers/ptp/
H A Dptp_dfl_tod.c100 u32 seconds_msb, seconds_lsb, nanosec; in coarse_adjust_tod_clock() local
109 seconds_msb = readl(base + TOD_SECONDSH); in coarse_adjust_tod_clock()
112 seconds = CAL_SECONDS(seconds_msb, seconds_lsb); in coarse_adjust_tod_clock()
116 seconds_msb = FIELD_GET(SECONDS_MSB, seconds); in coarse_adjust_tod_clock()
119 writel(seconds_msb, base + TOD_SECONDSH); in coarse_adjust_tod_clock()
230 u32 seconds_msb, seconds_lsb, nanosec; in dfl_tod_get_timex() local
239 seconds_msb = readl(base + TOD_SECONDSH); in dfl_tod_get_timex()
243 seconds = CAL_SECONDS(seconds_msb, seconds_lsb); in dfl_tod_get_timex()
255 u32 seconds_msb = FIELD_GET(SECONDS_MSB, ts->tv_sec); in dfl_tod_set_time() local
262 writel(seconds_msb, base + TOD_SECONDSH); in dfl_tod_set_time()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.h310 __be16 seconds_msb; /* 16 bits + */ member
H A Dotx2_txrx.c1101 origin_tstamp->seconds_msb = htons((ts.tv_sec >> 32) & 0xffff); in otx2_set_txtstamp()