Searched refs:gainlevel (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/iio/light/
H A Dtsl2563.c123 struct tsl2563_gainlevel_coeff const *gainlevel; member in struct:tsl2563_chip
172 chip->gainlevel->gaintime); tsl2563_configure()
275 switch (chip->gainlevel->gaintime & TSL2563_TIMING_MASK) { tsl2563_wait_adc()
296 if (adc > chip->gainlevel->max || adc < chip->gainlevel->min) { tsl2563_adjust_gainlevel()
298 (adc > chip->gainlevel->max) ? tsl2563_adjust_gainlevel()
299 chip->gainlevel++ : chip->gainlevel--; tsl2563_adjust_gainlevel()
303 chip->gainlevel->gaintime); tsl2563_adjust_gainlevel()
353 chip->data0 = tsl2563_normalize_adc(adc0, chip->gainlevel->gaintime); tsl2563_get_adc()
354 chip->data1 = tsl2563_normalize_adc(adc1, chip->gainlevel->gaintime); tsl2563_get_adc()
751 chip->gainlevel = tsl2563_gainlevel_table; tsl2563_probe()

Completed in 47 milliseconds