Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/
H A Dleds-lm3532.c89 #define LM3532_NUM_RAMP_VALS 8 macro
282 static const int ramp_table[LM3532_NUM_RAMP_VALS] = { 8, 1024, 2048, 4096, 8192,
289 if (ramp_time > ramp_table[LM3532_NUM_RAMP_VALS - 1]) in lm3532_get_ramp_index()
290 return LM3532_NUM_RAMP_VALS - 1; in lm3532_get_ramp_index()
292 return lm3532_get_index(&ramp_table[0], LM3532_NUM_RAMP_VALS, in lm3532_get_ramp_index()