Searched refs:temp_channel_desc (Results 1 – 1 of 1) sorted by relevance
23 struct temp_channel_desc { struct38 struct temp_channel_desc *temp_channel_desc; argument93 err = mlx5_hwmon_query_mtmp(hwmon->mdev, hwmon->temp_channel_desc[channel].sensor_index, in mlx5_hwmon_read()122 hwmon->temp_channel_desc[channel].sensor_index); in mlx5_hwmon_write()152 *str = (const char *)hwmon->temp_channel_desc[channel].sensor_name; in mlx5_hwmon_read_string()172 err = mlx5_hwmon_query_mtmp(hwmon->mdev, hwmon->temp_channel_desc[i].sensor_index, in mlx5_hwmon_init_channels_names()179 snprintf(hwmon->temp_channel_desc[i].sensor_name, in mlx5_hwmon_init_channels_names()180 sizeof(hwmon->temp_channel_desc[i].sensor_name), "sensor%u", in mlx5_hwmon_init_channels_names()181 hwmon->temp_channel_desc[i].sensor_index); in mlx5_hwmon_init_channels_names()185 memcpy(&hwmon->temp_channel_desc[i].sensor_name, sensor_name, in mlx5_hwmon_init_channels_names()[all …]