Home
last modified time | relevance | path

Searched refs:step_brightness (Results 1 – 1 of 1) sorted by relevance

/drivers/leds/trigger/
Dledtrig-pattern.c55 int step_brightness; in pattern_trig_compute_brightness() local
65 step_brightness = abs(data->next->brightness - data->curr->brightness); in pattern_trig_compute_brightness()
66 step_brightness = data->delta_t * step_brightness / data->curr->delta_t; in pattern_trig_compute_brightness()
69 return data->curr->brightness + step_brightness; in pattern_trig_compute_brightness()
71 return data->curr->brightness - step_brightness; in pattern_trig_compute_brightness()