Searched refs:cooling_levels (Results 1 – 4 of 4) sorted by relevance
112 u8 cooling_levels[MLXREG_FAN_MAX_STATE + 1]; member340 fan->cooling_levels[i] = state; in mlxreg_fan_set_cur_state()342 fan->cooling_levels[i] = i; in mlxreg_fan_set_cur_state()361 state = fan->cooling_levels[state]; in mlxreg_fan_set_cur_state()513 fan->cooling_levels[i] = MLXREG_FAN_SPEED_MIN_LEVEL; in mlxreg_fan_config()515 fan->cooling_levels[i] = i; in mlxreg_fan_config()
175 u8 *cooling_levels; member790 cdev->cooling_levels[cdev->cur_state]; in aspeed_pwm_cz_set_cur_state()792 cdev->cooling_levels[cdev->cur_state]); in aspeed_pwm_cz_set_cur_state()816 cdev->cooling_levels = devm_kzalloc(dev, num_levels, GFP_KERNEL); in aspeed_create_pwm_cooling()817 if (!cdev->cooling_levels) in aspeed_create_pwm_cooling()822 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()