Home
last modified time | relevance | path

Searched refs:PWM_MAX (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
H A Daspeed-pwm-tacho.c146 #define PWM_MAX 255 macro
488 dc_time_on = (fan_ctrl * period) / PWM_MAX; in aspeed_set_pwm_port_fan_ctrl()
589 if (fan_ctrl < 0 || fan_ctrl > PWM_MAX) in pwm_store()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Daspeed-pwm-tacho.c145 #define PWM_MAX 255 macro
487 dc_time_on = (fan_ctrl * period) / PWM_MAX; in aspeed_set_pwm_port_fan_ctrl()
588 if (fan_ctrl < 0 || fan_ctrl > PWM_MAX) in pwm_store()

Completed in 4 milliseconds