Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.h80 #define REAL_TIME_TO_NS(hi, low) (((u64)hi) * NSEC_PER_SEC + ((u64)low)) macro
85 u64 time = REAL_TIME_TO_NS(timestamp >> 32, timestamp & 0xFFFFFFFF); in mlx5_real_time_cyc2time()
H A Dclock.c210 *device_time = ns_to_ktime(REAL_TIME_TO_NS(device >> 32, device & U32_MAX)); in mlx5_mtctr_syncdevicetime()
258 return real_time ? REAL_TIME_TO_NS(timer_h1, timer_l) : in mlx5_read_time()