Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhwmon.c23 struct temp_channel_desc { struct
38 struct temp_channel_desc *temp_channel_desc; member
122 hwmon->temp_channel_desc[channel].sensor_index); in mlx5_hwmon_write()
179 snprintf(hwmon->temp_channel_desc[i].sensor_name, in mlx5_hwmon_init_channels_names()
181 hwmon->temp_channel_desc[i].sensor_index); in mlx5_hwmon_init_channels_names()
223 &hwmon->temp_channel_desc[i].sensor_index); in mlx5_hwmon_init_sensors_indexes()
290 kfree(hwmon->temp_channel_desc); in mlx5_hwmon_free()
316 hwmon->temp_channel_desc = kcalloc(sensors_count, sizeof(*hwmon->temp_channel_desc), in mlx5_hwmon_alloc()
318 if (!hwmon->temp_channel_desc) { in mlx5_hwmon_alloc()
336 kfree(hwmon->temp_channel_desc); in mlx5_hwmon_alloc()
[all …]