Searched refs:pwm_value (Results 1 – 2 of 2) sorted by relevance
34 unsigned int pwm_value; member47 if (ctx->pwm_value == pwm) in __set_pwm()58 if (ctx->pwm_value == 0) { in __set_pwm()64 ctx->pwm_value = pwm; in __set_pwm()104 return sprintf(buf, "%u\n", ctx->pwm_value); in show_pwm()238 ctx->pwm_value = MAX_PWM; in pwm_fan_probe()288 if (ctx->pwm_value) in pwm_fan_remove()298 if (ctx->pwm_value) in pwm_fan_suspend()309 if (ctx->pwm_value == 0) in pwm_fan_resume()312 duty = DIV_ROUND_UP(ctx->pwm_value * (ctx->pwm->period - 1), MAX_PWM); in pwm_fan_resume()
143 u8 pwm_value; in lp3944_dim_set_dutycycle() local157 pwm_value = (duty_cycle * 255) / LP3944_DUTY_CYCLE_MAX; in lp3944_dim_set_dutycycle()159 err = lp3944_reg_write(client, pwm_reg, pwm_value); in lp3944_dim_set_dutycycle()