Searched refs:gainlevel (Results 1 – 1 of 1) sorted by relevance
112 struct tsl2563_gainlevel_coeff const *gainlevel; member161 chip->gainlevel->gaintime); in tsl2563_configure()264 switch (chip->gainlevel->gaintime & TSL2563_TIMING_MASK) { in tsl2563_wait_adc()285 if (adc > chip->gainlevel->max || adc < chip->gainlevel->min) { in tsl2563_adjust_gainlevel()287 (adc > chip->gainlevel->max) ? in tsl2563_adjust_gainlevel()288 chip->gainlevel++ : chip->gainlevel--; in tsl2563_adjust_gainlevel()292 chip->gainlevel->gaintime); in tsl2563_adjust_gainlevel()342 chip->data0 = tsl2563_normalize_adc(adc0, chip->gainlevel->gaintime); in tsl2563_get_adc()343 chip->data1 = tsl2563_normalize_adc(adc1, chip->gainlevel->gaintime); in tsl2563_get_adc()737 chip->gainlevel = tsl2563_gainlevel_table; in tsl2563_probe()