Searched refs:calibscale (Results 1 – 8 of 8) sorted by relevance
41 u8 calibscale; member247 *val = lv0104cs_calibscales[lv0104cs->calibscale].val; in lv0104cs_read_raw()248 *val2 = lv0104cs_calibscales[lv0104cs->calibscale].val2; in lv0104cs_read_raw()277 int calibscale = val * 1000000 + val2; in lv0104cs_set_calibscale() local290 if (calibscale >= floor && calibscale < mid) { in lv0104cs_set_calibscale()296 if (calibscale >= mid && calibscale <= ceil) { in lv0104cs_set_calibscale()313 lv0104cs->calibscale = index; in lv0104cs_set_calibscale()495 lv0104cs->calibscale = LV0104CS_CALIBSCALE_UNITY; in lv0104cs_probe()
83 int calibscale; member167 cm32181->calibscale = vals[CPM1_CALIBSCALE]; in cm32181_acpi_parse_cpm_tables()216 cm32181->calibscale = CM32181_CALIBSCALE_DEFAULT; in cm32181_reg_init()327 lux *= cm32181->calibscale; in cm32181_get_lux()352 *val = cm32181->calibscale; in cm32181_read_raw()372 cm32181->calibscale = val; in cm32181_write_raw()
57 int calibscale; member65 .calibscale = CM3232_CALIBSCALE_DEFAULT,225 lux *= als_info->calibscale; in cm3232_get_lux()251 *val = als_info->calibscale; in cm3232_read_raw()269 als_info->calibscale = val; in cm3232_write_raw()
84 unsigned int calibscale; member204 *lux = data_x_range * chip->calibscale + in isl29018_read_lux()376 chip->calibscale = val; in isl29018_write_raw()450 *val = chip->calibscale; in isl29018_read_raw()742 chip->calibscale = 1; in isl29018_probe()
7 calibscale. For calibscale, a full scale capacitance should
280 int calibscale; member317 tmp = div_s64((s64)val * priv->calibscale, MILLION) + priv->calibbias; in meson_sar_adc_calib_val()626 *val = priv->calibscale / MILLION; in meson_sar_adc_iio_info_read_raw()627 *val2 = priv->calibscale % MILLION; in meson_sar_adc_iio_info_read_raw()1031 priv->calibscale = div_s64((nominal1 - nominal0) * (s64)MILLION, in meson_sar_adc_calib()1033 priv->calibbias = nominal0 - div_s64((s64)value0 * priv->calibscale, in meson_sar_adc_calib()1231 priv->calibscale = MILLION; in meson_sar_adc_probe()
81 Output results are multiplied with calibscale / calibscale_default
93 Output results are multiplied with calibscale / calibscale_default