Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/light/
Dtsl2563.c110 struct tsl2563_gainlevel_coeff const *gainlevel; member
159 chip->gainlevel->gaintime); in tsl2563_configure()
262 switch (chip->gainlevel->gaintime & TSL2563_TIMING_MASK) { in tsl2563_wait_adc()
283 if (adc > chip->gainlevel->max || adc < chip->gainlevel->min) { in tsl2563_adjust_gainlevel()
285 (adc > chip->gainlevel->max) ? in tsl2563_adjust_gainlevel()
286 chip->gainlevel++ : chip->gainlevel--; in tsl2563_adjust_gainlevel()
290 chip->gainlevel->gaintime); in tsl2563_adjust_gainlevel()
340 chip->data0 = tsl2563_normalize_adc(adc0, chip->gainlevel->gaintime); in tsl2563_get_adc()
341 chip->data1 = tsl2563_normalize_adc(adc1, chip->gainlevel->gaintime); in tsl2563_get_adc()
736 chip->gainlevel = tsl2563_gainlevel_table; in tsl2563_probe()