Searched refs:seconds_msb (Results 1 – 3 of 3) 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 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 D | otx2_common.h | 310 __be16 seconds_msb; /* 16 bits + */ member
|
H A D | otx2_txrx.c | 1101 origin_tstamp->seconds_msb = htons((ts.tv_sec >> 32) & 0xffff); in otx2_set_txtstamp()
|