Searched refs:desired_brightness (Results 1 – 2 of 2) sorted by relevance
20 unsigned desired_brightness; /* desired brightness when led is on */ member36 if (gpio_data->desired_brightness) in gpio_trig_irq()38 gpio_data->desired_brightness); in gpio_trig_irq()53 return sprintf(buf, "%u\n", gpio_data->desired_brightness); in gpio_trig_brightness_show()60 unsigned desired_brightness; in gpio_trig_brightness_store() local63 ret = sscanf(buf, "%u", &desired_brightness); in gpio_trig_brightness_store()64 if (ret < 1 || desired_brightness > 255) { in gpio_trig_brightness_store()69 gpio_data->desired_brightness = desired_brightness; in gpio_trig_brightness_store()73 static DEVICE_ATTR(desired_brightness, 0644, gpio_trig_brightness_show,
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()567 pwm->desired_brightness = 0; in init_pwm()