Searched refs:cooling_levels (Results 1 – 4 of 4) sorted by relevance
112 u8 cooling_levels[MLXREG_FAN_MAX_STATE + 1]; member346 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()
175 u8 *cooling_levels; member796 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()
186 u8 *cooling_levels; member811 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()
93 u8 cooling_levels[MLXSW_THERMAL_MAX_STATE + 1]; member652 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()