Searched refs:mtctr_reg (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.c | 177 u32 out[MLX5_ST_SZ_DW(mtctr_reg)] = {0}; in mlx5_mtctr_syncdevicetime() 178 u32 in[MLX5_ST_SZ_DW(mtctr_reg)] = {0}; in mlx5_mtctr_syncdevicetime() 186 MLX5_SET(mtctr_reg, in, first_clock_timestamp_request, in mlx5_mtctr_syncdevicetime() 188 MLX5_SET(mtctr_reg, in, second_clock_timestamp_request, in mlx5_mtctr_syncdevicetime() 197 if (!MLX5_GET(mtctr_reg, out, first_clock_valid) || in mlx5_mtctr_syncdevicetime() 198 !MLX5_GET(mtctr_reg, out, second_clock_valid)) in mlx5_mtctr_syncdevicetime() 201 host = MLX5_GET64(mtctr_reg, out, first_clock_timestamp); in mlx5_mtctr_syncdevicetime() 208 device = MLX5_GET64(mtctr_reg, out, second_clock_timestamp); in mlx5_mtctr_syncdevicetime()
|
/linux/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 11423 struct mlx5_ifc_mtctr_reg_bits mtctr_reg; member
|