Searched refs:ts_cap (Results 1 – 2 of 2) sorted by relevance
1624 static inline bool rt_supported(int ts_cap) in rt_supported() argument1626 return ts_cap == MLX5_TIMESTAMP_FORMAT_CAP_REAL_TIME || in rt_supported()1627 ts_cap == MLX5_TIMESTAMP_FORMAT_CAP_FREE_RUNNING_AND_REAL_TIME; in rt_supported()
1262 static bool fr_supported(int ts_cap) in fr_supported() argument1264 return ts_cap == MLX5_TIMESTAMP_FORMAT_CAP_FREE_RUNNING || in fr_supported()1265 ts_cap == MLX5_TIMESTAMP_FORMAT_CAP_FREE_RUNNING_AND_REAL_TIME; in fr_supported()1293 u8 ts_cap = MLX5_CAP_GEN(dev->mdev, rq_ts_format); in get_rq_ts_format() local1295 return get_ts_format(dev, recv_cq, fr_supported(ts_cap), in get_rq_ts_format()1296 rt_supported(ts_cap)); in get_rq_ts_format()1301 u8 ts_cap = MLX5_CAP_GEN(dev->mdev, sq_ts_format); in get_sq_ts_format() local1303 return get_ts_format(dev, send_cq, fr_supported(ts_cap), in get_sq_ts_format()1304 rt_supported(ts_cap)); in get_sq_ts_format()1310 u8 ts_cap = MLX5_CAP_ROCE(dev->mdev, qp_ts_format); in get_qp_ts_format() local[all …]