Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/iio/light/
Dtsl2563.c135 u32 calib1; member
513 u32 calib0, calib1; in tsl2563_lux_show() local
523 calib1 = calib_adc(chip->data1, chip->calib1) * chip->cover_comp_gain; in tsl2563_lux_show()
525 ret = snprintf(buf, PAGE_SIZE, "%d\n", adc_to_lux(calib0, calib1)); in tsl2563_lux_show()
551 ret = format_calib(buf, PAGE_SIZE, chip->calib1); in tsl2563_calib_show()
580 chip->calib1 = calib; in tsl2563_calib_store()
851 chip->calib1 = calib_from_sysfs(CALIB_BASE_SYSFS); in tsl2563_probe()