Searched refs:calib0 (Results 1 – 2 of 2) sorted by relevance
62 u32 calib0, calib1; member110 (priv->calib0 - priv->calib1))) - MCELSIUS(40); in rzg2l_thermal_get_temp()191 priv->calib0 = rzg2l_thermal_read(priv, OTPTSUTRIM_REG(0)); in rzg2l_thermal_probe()192 if (priv->calib0 & OTPTSUTRIM_EN_MASK) in rzg2l_thermal_probe()193 priv->calib0 &= OTPTSUTRIM_MASK; in rzg2l_thermal_probe()195 priv->calib0 = SW_CALIB0_VAL; in rzg2l_thermal_probe()
120 u32 calib0; member455 chip->calib0 = tsl2563_calib_from_sysfs(val); in tsl2563_write_raw()471 u32 calib0, calib1; in tsl2563_read_raw() local483 calib0 = tsl2563_calib_adc(chip->data0, chip->calib0) * in tsl2563_read_raw()487 *val = tsl2563_adc_to_lux(calib0, calib1); in tsl2563_read_raw()507 *val = tsl2563_calib_to_sysfs(chip->calib0); in tsl2563_read_raw()739 chip->calib0 = tsl2563_calib_from_sysfs(CALIB_BASE_SYSFS); in tsl2563_probe()