Searched refs:gainlevel (Results 1 – 1 of 1) sorted by relevance
126 struct tsl2563_gainlevel_coeff *gainlevel; member198 chip->gainlevel->gaintime); in tsl2563_configure()293 switch (chip->gainlevel->gaintime & TSL2563_TIMING_MASK) { in tsl2563_wait_adc()314 if (adc > chip->gainlevel->max || adc < chip->gainlevel->min) { in tsl2563_adjust_gainlevel()316 (adc > chip->gainlevel->max) ? in tsl2563_adjust_gainlevel()317 chip->gainlevel++ : chip->gainlevel--; in tsl2563_adjust_gainlevel()320 chip->gainlevel->gaintime); in tsl2563_adjust_gainlevel()373 chip->data0 = normalize_adc(adc0, chip->gainlevel->gaintime); in tsl2563_get_adc()374 chip->data1 = normalize_adc(adc1, chip->gainlevel->gaintime); in tsl2563_get_adc()848 chip->gainlevel = tsl2563_gainlevel_table; in tsl2563_probe()