Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/thermal/
Drzg2l_thermal.c62 u32 calib0, calib1; member
110 (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()
/Linux-v6.1/drivers/iio/light/
Dtsl2563.c120 u32 calib0; member
455 chip->calib0 = tsl2563_calib_from_sysfs(val); in tsl2563_write_raw()
471 u32 calib0, calib1; in tsl2563_read_raw() local
483 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()