Home
last modified time | relevance | path

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

/drivers/leds/
Dleds-lm3532.c219 static int lm3532_get_als_imp_index(int als_imped) in lm3532_get_als_imp_index() argument
223 if (als_imped > als_imp_table[1]) in lm3532_get_als_imp_index()
226 if (als_imped < als_imp_table[LM3532_NUM_IMP_VALS - 1]) in lm3532_get_als_imp_index()
230 if (als_imped == als_imp_table[i]) in lm3532_get_als_imp_index()
234 if (als_imped < als_imp_table[i - 1] && in lm3532_get_als_imp_index()
235 als_imped > als_imp_table[i]) { in lm3532_get_als_imp_index()
236 if (als_imped - als_imp_table[i - 1] < in lm3532_get_als_imp_index()
237 als_imp_table[i] - als_imped) in lm3532_get_als_imp_index()