Home
last modified time | relevance | path

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

/drivers/hwmon/
Dmlxreg-fan.c112 u8 cooling_levels[MLXREG_FAN_MAX_STATE + 1]; member
346 fan->cooling_levels[i] = state; in mlxreg_fan_set_cur_state()
348 fan->cooling_levels[i] = i; in mlxreg_fan_set_cur_state()
367 state = fan->cooling_levels[state]; in mlxreg_fan_set_cur_state()
519 fan->cooling_levels[i] = MLXREG_FAN_SPEED_MIN_LEVEL; in mlxreg_fan_config()
521 fan->cooling_levels[i] = i; in mlxreg_fan_config()
Daspeed-pwm-tacho.c175 u8 *cooling_levels; member
796 cdev->cooling_levels[cdev->cur_state]; in aspeed_pwm_cz_set_cur_state()
798 cdev->cooling_levels[cdev->cur_state]); in aspeed_pwm_cz_set_cur_state()
822 cdev->cooling_levels = devm_kzalloc(dev, num_levels, GFP_KERNEL); in aspeed_create_pwm_cooling()
823 if (!cdev->cooling_levels) in aspeed_create_pwm_cooling()
828 cdev->cooling_levels, in aspeed_create_pwm_cooling()
Dnpcm750-pwm-fan.c186 u8 *cooling_levels; member
811 cdev->cooling_levels[cdev->cur_state]); in npcm7xx_pwm_cz_set_cur_state()
834 cdev->cooling_levels = devm_kzalloc(dev, num_levels, GFP_KERNEL); in npcm7xx_create_pwm_cooling()
835 if (!cdev->cooling_levels) in npcm7xx_create_pwm_cooling()
840 cdev->cooling_levels, in npcm7xx_create_pwm_cooling()
/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c93 u8 cooling_levels[MLXSW_THERMAL_MAX_STATE + 1]; member
652 state = thermal->cooling_levels[state]; in mlxsw_thermal_set_cur_state()
960 thermal->cooling_levels[i] = max(MLXSW_THERMAL_MIN_STATE, i); in mlxsw_thermal_init()