Home
last modified time | relevance | path

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

/openbmc/linux/drivers/leds/
H A Dleds-lm3532.c218 static int lm3532_get_als_imp_index(int als_imped) in lm3532_get_als_imp_index() argument
222 if (als_imped > als_imp_table[1]) in lm3532_get_als_imp_index()
225 if (als_imped < als_imp_table[LM3532_NUM_IMP_VALS - 1]) in lm3532_get_als_imp_index()
229 if (als_imped == als_imp_table[i]) in lm3532_get_als_imp_index()
233 if (als_imped < als_imp_table[i - 1] && in lm3532_get_als_imp_index()
234 als_imped > als_imp_table[i]) { in lm3532_get_als_imp_index()
235 if (als_imped - als_imp_table[i - 1] < in lm3532_get_als_imp_index()
236 als_imp_table[i] - als_imped) in lm3532_get_als_imp_index()