MAX_PWM            82 drivers/hwmon/pwm-fan.c 	state.duty_cycle = DIV_ROUND_UP(pwm * (period - 1), MAX_PWM);
MAX_PWM           111 drivers/hwmon/pwm-fan.c 	if (kstrtoul(buf, 10, &pwm) || pwm > MAX_PWM)
MAX_PWM           255 drivers/hwmon/pwm-fan.c 		if (ctx->pwm_fan_cooling_levels[i] > MAX_PWM) {
MAX_PWM           257 drivers/hwmon/pwm-fan.c 				ctx->pwm_fan_cooling_levels[i], MAX_PWM);
MAX_PWM           329 drivers/hwmon/pwm-fan.c 	ctx->pwm_value = MAX_PWM;
MAX_PWM           440 drivers/hwmon/pwm-fan.c 	duty = DIV_ROUND_UP(ctx->pwm_value * (pargs.period - 1), MAX_PWM);