Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhwmon.c207 static int mlx5_hwmon_init_sensors_indexes(struct mlx5_hwmon *hwmon, u64 sensor_map) in mlx5_hwmon_init_sensors_indexes() argument
209 DECLARE_BITMAP(smap, BITS_PER_TYPE(sensor_map)); in mlx5_hwmon_init_sensors_indexes()
214 bitmap_from_u64(smap, sensor_map); in mlx5_hwmon_init_sensors_indexes()
216 for_each_set_bit(bit_pos, smap, BITS_PER_TYPE(sensor_map)) { in mlx5_hwmon_init_sensors_indexes()
356 mlx5_hwmon_init_sensors_indexes(hwmon, MLX5_GET64(mtcap_reg, mtcap_out, sensor_map)); in mlx5_hwmon_dev_init()
/linux-6.15/drivers/thermal/mediatek/
H A Dlvts_thermal.c880 u32 sensor_map = 0; in lvts_ctrl_monitor_enable() local
888 sensor_map |= sensor_filt_bitmap[i]; in lvts_ctrl_monitor_enable()
896 writel(sensor_map | BIT(9), LVTS_MONCTL0(lvts_ctrl->base)); in lvts_ctrl_monitor_enable()
1156 u32 sensor_map = 0; in lvts_ctrl_start() local
1204 sensor_map |= sensor_bitmap[i]; in lvts_ctrl_start()
1227 writel(sensor_map, LVTS_MSRCTL1(lvts_ctrl->base)); in lvts_ctrl_start()
1234 writel(sensor_map | BIT(9), LVTS_MONCTL0(lvts_ctrl->base)); in lvts_ctrl_start()
/linux-6.15/include/linux/mlx5/
H A Dmlx5_ifc.h11489 u8 sensor_map[0x40]; member