Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Dltrf216a.c236 int ret, greendata; in ltrf216a_get_lux() local
243 greendata = ltrf216a_read_data(data, LTRF216A_ALS_DATA_0); in ltrf216a_get_lux()
244 if (greendata < 0) in ltrf216a_get_lux()
245 return greendata; in ltrf216a_get_lux()
249 lux = greendata * 45 * LTRF216A_WIN_FAC * 100; in ltrf216a_get_lux()