Searched refs:ts_cap (Results 1 – 2 of 2) sorted by relevance
1613 static inline bool rt_supported(int ts_cap) in rt_supported() argument1615 return ts_cap == MLX5_TIMESTAMP_FORMAT_CAP_REAL_TIME || in rt_supported()1616 ts_cap == MLX5_TIMESTAMP_FORMAT_CAP_FREE_RUNNING_AND_REAL_TIME; in rt_supported()
1176 static bool fr_supported(int ts_cap) in fr_supported() argument1178 return ts_cap == MLX5_TIMESTAMP_FORMAT_CAP_FREE_RUNNING || in fr_supported()1179 ts_cap == MLX5_TIMESTAMP_FORMAT_CAP_FREE_RUNNING_AND_REAL_TIME; in fr_supported()1207 u8 ts_cap = MLX5_CAP_GEN(dev->mdev, rq_ts_format); in get_rq_ts_format() local1209 return get_ts_format(dev, recv_cq, fr_supported(ts_cap), in get_rq_ts_format()1210 rt_supported(ts_cap)); in get_rq_ts_format()1215 u8 ts_cap = MLX5_CAP_GEN(dev->mdev, sq_ts_format); in get_sq_ts_format() local1217 return get_ts_format(dev, send_cq, fr_supported(ts_cap), in get_sq_ts_format()1218 rt_supported(ts_cap)); in get_sq_ts_format()1224 u8 ts_cap = MLX5_CAP_ROCE(dev->mdev, qp_ts_format); in get_qp_ts_format() local[all …]