Searched refs:desired_brightness (Results 1 – 2 of 2) sorted by relevance
20 unsigned desired_brightness; /* desired brightness when led is on */ member32 if (gpio_data->desired_brightness) in gpio_trig_irq()34 gpio_data->desired_brightness); in gpio_trig_irq()49 return sysfs_emit(buf, "%u\n", gpio_data->desired_brightness); in desired_brightness_show()56 u8 desired_brightness; in desired_brightness_store() local59 ret = kstrtou8(buf, 10, &desired_brightness); in desired_brightness_store()63 gpio_data->desired_brightness = desired_brightness; in desired_brightness_store()67 static DEVICE_ATTR_RW(desired_brightness);
123 int desired_brightness; member355 if (pwm->desired_brightness != pwm->brightness) in pwm_done()456 if (pwm->running || pwm->desired_brightness == pwm->brightness) in lm8323_pwm_work()459 kill = (pwm->desired_brightness == 0); in lm8323_pwm_work()460 up = (pwm->desired_brightness > pwm->brightness); in lm8323_pwm_work()461 steps = abs(pwm->desired_brightness - pwm->brightness); in lm8323_pwm_work()491 pwm->brightness = pwm->desired_brightness; in lm8323_pwm_work()504 pwm->desired_brightness = brightness; in lm8323_pwm_set_brightness()568 pwm->desired_brightness = 0; in init_pwm()