Searched refs:ts_cap (Results 1 – 2 of 2) sorted by relevance
1561 static inline bool rt_supported(int ts_cap) in rt_supported() argument1563 return ts_cap == MLX5_TIMESTAMP_FORMAT_CAP_REAL_TIME || in rt_supported()1564 ts_cap == MLX5_TIMESTAMP_FORMAT_CAP_FREE_RUNNING_AND_REAL_TIME; in rt_supported()
1178 static bool fr_supported(int ts_cap) in fr_supported() argument1180 return ts_cap == MLX5_TIMESTAMP_FORMAT_CAP_FREE_RUNNING || in fr_supported()1181 ts_cap == MLX5_TIMESTAMP_FORMAT_CAP_FREE_RUNNING_AND_REAL_TIME; in fr_supported()1209 u8 ts_cap = MLX5_CAP_GEN(dev->mdev, rq_ts_format); in get_rq_ts_format() local1211 return get_ts_format(dev, recv_cq, fr_supported(ts_cap), in get_rq_ts_format()1212 rt_supported(ts_cap)); in get_rq_ts_format()1217 u8 ts_cap = MLX5_CAP_GEN(dev->mdev, sq_ts_format); in get_sq_ts_format() local1219 return get_ts_format(dev, send_cq, fr_supported(ts_cap), in get_sq_ts_format()1220 rt_supported(ts_cap)); in get_sq_ts_format()1226 u8 ts_cap = MLX5_CAP_ROCE(dev->mdev, qp_ts_format); in get_qp_ts_format() local[all …]