Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/
Dhwmon.c43 static int mlx5_hwmon_query_mtmp(struct mlx5_core_dev *mdev, u32 sensor_index, u32 *mtmp_out) in mlx5_hwmon_query_mtmp() argument
50 mtmp_out, MLX5_ST_SZ_BYTES(mtmp_reg), in mlx5_hwmon_query_mtmp()
56 u32 mtmp_out[MLX5_ST_SZ_DW(mtmp_reg)] = {}; in mlx5_hwmon_reset_max_temp() local
63 mtmp_out, sizeof(mtmp_out), in mlx5_hwmon_reset_max_temp()
69 u32 mtmp_out[MLX5_ST_SZ_DW(mtmp_reg)] = {}; in mlx5_hwmon_enable_max_temp() local
79 mtmp_out, sizeof(mtmp_out), in mlx5_hwmon_enable_max_temp()
87 u32 mtmp_out[MLX5_ST_SZ_DW(mtmp_reg)] = {}; in mlx5_hwmon_read() local
94 mtmp_out); in mlx5_hwmon_read()
100 *val = mtmp_temp_to_mdeg(MLX5_GET(mtmp_reg, mtmp_out, temperature)); in mlx5_hwmon_read()
103 *val = mtmp_temp_to_mdeg(MLX5_GET(mtmp_reg, mtmp_out, max_temperature)); in mlx5_hwmon_read()
[all …]