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

/linux-4.1.27/drivers/iio/light/
H A Dtsl2563.c131 u32 calib0; member in struct:tsl2563_chip
466 chip->calib0 = calib_from_sysfs(val); tsl2563_write_raw()
482 u32 calib0, calib1; tsl2563_read_raw() local
494 calib0 = calib_adc(chip->data0, chip->calib0) * tsl2563_read_raw()
498 *val = adc_to_lux(calib0, calib1); tsl2563_read_raw()
518 *val = calib_to_sysfs(chip->calib0); tsl2563_read_raw()
753 chip->calib0 = calib_from_sysfs(CALIB_BASE_SYSFS); tsl2563_probe()

Completed in 76 milliseconds