Home
last modified time | relevance | path

Searched refs:utc_sec (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c1390 u32 utc_sec = mlxsw_core_read_utc_sec(mlxsw_core); in mlxsw_ptp_utc_time_stamp_sec_get() local
1392 if (cqe_ts_sec > (utc_sec & 0xff)) in mlxsw_ptp_utc_time_stamp_sec_get()
1396 utc_sec -= 256; in mlxsw_ptp_utc_time_stamp_sec_get()
1398 utc_sec &= ~0xff; in mlxsw_ptp_utc_time_stamp_sec_get()
1399 utc_sec |= cqe_ts_sec; in mlxsw_ptp_utc_time_stamp_sec_get()
1401 return utc_sec; in mlxsw_ptp_utc_time_stamp_sec_get()
H A Dreg.h10315 MLXSW_ITEM32(reg, mtutc, utc_sec, 0x10, 0, 32);
10338 u32 freq_adj, u32 utc_sec, u32 utc_nsec, u32 time_adj) in mlxsw_reg_mtutc_pack() argument
10343 mlxsw_reg_mtutc_utc_sec_set(payload, utc_sec); in mlxsw_reg_mtutc_pack()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c277 MLX5_SET(mtutc_reg, in, utc_sec, ts->tv_sec); in mlx5_ptp_settime_real_time()
/openbmc/linux/include/linux/mlx5/
H A Dmlx5_ifc.h10060 u8 utc_sec[0x20]; member