vref_mv 383 arch/mips/alchemy/devboards/db1000.c .vref_mv = 3300, vref_mv 109 drivers/hwmon/ads7828.c unsigned int vref_mv = ADS7828_INT_VREF_MV; vref_mv 124 drivers/hwmon/ads7828.c if (ext_vref && pdata->vref_mv) vref_mv 125 drivers/hwmon/ads7828.c vref_mv = pdata->vref_mv; vref_mv 132 drivers/hwmon/ads7828.c vref_mv = DIV_ROUND_CLOSEST(vref_uv, 1000); vref_mv 133 drivers/hwmon/ads7828.c if (vref_mv < ADS7828_EXT_VREF_MV_MIN || vref_mv 134 drivers/hwmon/ads7828.c vref_mv > ADS7828_EXT_VREF_MV_MAX) vref_mv 147 drivers/hwmon/ads7828.c vref_mv = clamp_val(vref_mv, ADS7828_EXT_VREF_MV_MIN, vref_mv 152 drivers/hwmon/ads7828.c data->lsb_resol = DIV_ROUND_CLOSEST(vref_mv * 1000, 4096); vref_mv 156 drivers/hwmon/ads7828.c data->lsb_resol = DIV_ROUND_CLOSEST(vref_mv * 1000, 256); vref_mv 118 drivers/iio/adc/ad7124.c unsigned int vref_mv; vref_mv 306 drivers/iio/adc/ad7124.c *val = st->channel_config[chan->address].vref_mv; vref_mv 351 drivers/iio/adc/ad7124.c vref = st->channel_config[chan->address].vref_mv * 1000000LL; vref_mv 422 drivers/iio/adc/ad7124.c st->channel_config[channel_number].vref_mv = vref_mv 425 drivers/iio/adc/ad7124.c st->channel_config[channel_number].vref_mv /= 1000; vref_mv 428 drivers/iio/adc/ad7124.c st->channel_config[channel_number].vref_mv = 2500; vref_mv 29 drivers/iio/adc/ad7266.c unsigned long vref_mv; vref_mv 168 drivers/iio/adc/ad7266.c scale_mv = st->vref_mv; vref_mv 406 drivers/iio/adc/ad7266.c st->vref_mv = ret / 1000; vref_mv 412 drivers/iio/adc/ad7266.c st->vref_mv = 2500; vref_mv 256 drivers/iio/adc/ad7793.c unsigned int vref_mv) vref_mv 329 drivers/iio/adc/ad7793.c scale_uv = ((u64)vref_mv * 100000000) vref_mv 709 drivers/iio/adc/ad7793.c int ret, vref_mv = 0; vref_mv 738 drivers/iio/adc/ad7793.c vref_mv = regulator_get_voltage(st->reg); vref_mv 739 drivers/iio/adc/ad7793.c if (vref_mv < 0) { vref_mv 740 drivers/iio/adc/ad7793.c ret = vref_mv; vref_mv 744 drivers/iio/adc/ad7793.c vref_mv /= 1000; vref_mv 746 drivers/iio/adc/ad7793.c vref_mv = 1170; /* Build-in ref */ vref_mv 766 drivers/iio/adc/ad7793.c ret = ad7793_setup(indio_dev, pdata, vref_mv); vref_mv 213 drivers/iio/adc/at91_adc.c u32 vref_mv; vref_mv 731 drivers/iio/adc/at91_adc.c *val = st->vref_mv; vref_mv 911 drivers/iio/adc/at91_adc.c st->vref_mv = prop; vref_mv 975 drivers/iio/adc/at91_adc.c st->vref_mv = pdata->vref; vref_mv 123 drivers/iio/adc/mxs-lradc-adc.c const u32 *vref_mv; vref_mv 240 drivers/iio/adc/mxs-lradc-adc.c *val = adc->vref_mv[chan->channel]; vref_mv 770 drivers/iio/adc/mxs-lradc-adc.c adc->vref_mv = mxs_lradc_adc_vref_mv[lradc->soc]; vref_mv 784 drivers/iio/adc/mxs-lradc-adc.c scale_uv = ((u64)adc->vref_mv[i] * 100000000) >> vref_mv 55 drivers/iio/adc/nau7802.c u32 vref_mv; vref_mv 342 drivers/iio/adc/nau7802.c *val = st->vref_mv; vref_mv 465 drivers/iio/adc/nau7802.c st->vref_mv = tmp; vref_mv 489 drivers/iio/adc/nau7802.c st->scale_avail[i] = (((u64)st->vref_mv) * 1000000000ULL) vref_mv 721 drivers/iio/adc/stm32-adc-core.c priv->common.vref_mv = ret / 1000; vref_mv 722 drivers/iio/adc/stm32-adc-core.c dev_dbg(&pdev->dev, "vref+=%dmV\n", priv->common.vref_mv); vref_mv 178 drivers/iio/adc/stm32-adc-core.h int vref_mv; vref_mv 1186 drivers/iio/adc/stm32-adc.c *val = adc->common->vref_mv * 2; vref_mv 1189 drivers/iio/adc/stm32-adc.c *val = adc->common->vref_mv; vref_mv 78 drivers/iio/adc/ti-ads7950.c unsigned int vref_mv; vref_mv 351 drivers/iio/adc/ti-ads7950.c if (st->vref_mv) { vref_mv 352 drivers/iio/adc/ti-ads7950.c vref = st->vref_mv; vref_mv 599 drivers/iio/adc/ti-ads7950.c st->vref_mv = TI_ADS7950_VA_MV_ACPI_DEFAULT; vref_mv 69 drivers/iio/adc/ti-ads8688.c unsigned int vref_mv; vref_mv 124 drivers/iio/adc/ti-ads8688.c ads8688_range_def[0].scale * st->vref_mv, vref_mv 125 drivers/iio/adc/ti-ads8688.c ads8688_range_def[1].scale * st->vref_mv, vref_mv 126 drivers/iio/adc/ti-ads8688.c ads8688_range_def[2].scale * st->vref_mv); vref_mv 262 drivers/iio/adc/ti-ads8688.c scale_mv = st->vref_mv; vref_mv 305 drivers/iio/adc/ti-ads8688.c if (offset == 0 && val2 == ads8688_range_def[0].scale * st->vref_mv) { vref_mv 312 drivers/iio/adc/ti-ads8688.c if (val2 == ads8688_range_def[i].scale * st->vref_mv && vref_mv 437 drivers/iio/adc/ti-ads8688.c st->vref_mv = ret / 1000; vref_mv 440 drivers/iio/adc/ti-ads8688.c st->vref_mv = ADS8688_VREF_MV; vref_mv 40 drivers/iio/dac/ad5446.c unsigned short vref_mv; vref_mv 176 drivers/iio/dac/ad5446.c *val = st->vref_mv; vref_mv 260 drivers/iio/dac/ad5446.c st->vref_mv = st->chip_info->int_vref_mv; vref_mv 262 drivers/iio/dac/ad5446.c st->vref_mv = voltage_uv / 1000; vref_mv 53 drivers/iio/dac/ad5504.c unsigned short vref_mv; vref_mv 113 drivers/iio/dac/ad5504.c *val = st->vref_mv; vref_mv 299 drivers/iio/dac/ad5504.c st->vref_mv = voltage_uv / 1000; vref_mv 301 drivers/iio/dac/ad5504.c st->vref_mv = pdata->vref_mv; vref_mv 58 drivers/iio/dac/ad5624r.h unsigned short vref_mv; vref_mv 55 drivers/iio/dac/ad5624r_spi.c *val = st->vref_mv; vref_mv 250 drivers/iio/dac/ad5624r_spi.c st->vref_mv = voltage_uv / 1000; vref_mv 252 drivers/iio/dac/ad5624r_spi.c st->vref_mv = st->chip_info->int_vref_mv; vref_mv 139 drivers/iio/dac/ad5686.c *val = st->vref_mv; vref_mv 456 drivers/iio/dac/ad5686.c st->vref_mv = voltage_uv / 1000; vref_mv 458 drivers/iio/dac/ad5686.c st->vref_mv = st->chip_info->int_vref_mv; vref_mv 127 drivers/iio/dac/ad5686.h unsigned short vref_mv; vref_mv 87 drivers/iio/dac/ad5791.c unsigned short vref_mv; vref_mv 267 drivers/iio/dac/ad5791.c *val = st->vref_mv; vref_mv 272 drivers/iio/dac/ad5791.c do_div(val64, st->vref_mv); vref_mv 385 drivers/iio/dac/ad5791.c st->vref_mv = (pos_voltage_uv + neg_voltage_uv) / 1000; vref_mv 388 drivers/iio/dac/ad5791.c st->vref_mv = pdata->vref_pos_mv + pdata->vref_neg_mv; vref_mv 402 drivers/iio/dac/ad5791.c st->ctrl = AD5761_CTRL_LINCOMP(st->chip_info->get_lin_comp(st->vref_mv)) vref_mv 44 drivers/iio/dac/ltc1660.c unsigned int vref_mv; vref_mv 36 drivers/iio/dac/ltc2632.c const int vref_mv; vref_mv 49 drivers/iio/dac/ltc2632.c int vref_mv; vref_mv 93 drivers/iio/dac/ltc2632.c *val = st->vref_mv; vref_mv 206 drivers/iio/dac/ltc2632.c .vref_mv = 2500, vref_mv 210 drivers/iio/dac/ltc2632.c .vref_mv = 2500, vref_mv 214 drivers/iio/dac/ltc2632.c .vref_mv = 2500, vref_mv 218 drivers/iio/dac/ltc2632.c .vref_mv = 4096, vref_mv 222 drivers/iio/dac/ltc2632.c .vref_mv = 4096, vref_mv 226 drivers/iio/dac/ltc2632.c .vref_mv = 4096, vref_mv 253 drivers/iio/dac/ltc2632.c st->vref_mv = chip_info->vref_mv; vref_mv 276 drivers/iio/dac/ltc2632.c st->vref_mv = regulator_get_voltage(st->vref_reg) / 1000; vref_mv 35 drivers/iio/dac/max517.c unsigned short vref_mv[8]; vref_mv 77 drivers/iio/dac/max517.c *val = data->vref_mv[chan->channel]; vref_mv 187 drivers/iio/dac/max517.c data->vref_mv[chan] = 5000; /* mV */ vref_mv 189 drivers/iio/dac/max517.c data->vref_mv[chan] = platform_data->vref_mv[chan]; vref_mv 36 drivers/iio/dac/max5821.c unsigned short vref_mv; vref_mv 247 drivers/iio/dac/max5821.c *val = data->vref_mv; vref_mv 341 drivers/iio/dac/max5821.c data->vref_mv = ret / 1000; vref_mv 30 drivers/iio/dac/mcp4922.c unsigned int vref_mv; vref_mv 72 drivers/iio/dac/mcp4922.c *val = state->vref_mv; vref_mv 151 drivers/iio/dac/mcp4922.c state->vref_mv = ret / 1000; vref_mv 100 drivers/iio/dac/stm32-dac-core.c priv->common.vref_mv = ret / 1000; vref_mv 101 drivers/iio/dac/stm32-dac-core.c dev_dbg(dev, "vref+=%dmV\n", priv->common.vref_mv); vref_mv 34 drivers/iio/dac/stm32-dac-core.h int vref_mv; vref_mv 108 drivers/iio/dac/stm32-dac.c *val = dac->common->vref_mv; vref_mv 106 drivers/input/touchscreen/ads7846.c u16 vref_mv; vref_mv 460 drivers/input/touchscreen/ads7846.c retval *= ts->vref_mv; vref_mv 513 drivers/input/touchscreen/ads7846.c if (!ts->vref_mv) { vref_mv 515 drivers/input/touchscreen/ads7846.c ts->vref_mv = 2500; vref_mv 521 drivers/input/touchscreen/ads7846.c if (!ts->vref_mv) { vref_mv 1208 drivers/input/touchscreen/ads7846.c of_property_read_u16(node, "ti,vref-mv", &pdata->vref_mv); vref_mv 1320 drivers/input/touchscreen/ads7846.c ts->vref_mv = pdata->vref_mv; vref_mv 95 drivers/staging/iio/impedance-analyzer/ad5933.c unsigned short vref_mv; vref_mv 254 drivers/staging/iio/impedance-analyzer/ad5933.c st->range_avail[i] = normalized_3v3[i] * st->vref_mv / 3300; vref_mv 711 drivers/staging/iio/impedance-analyzer/ad5933.c st->vref_mv = ret / 1000; vref_mv 12 include/linux/iio/dac/ad5504.h u16 vref_mv; vref_mv 11 include/linux/iio/dac/max517.h u16 vref_mv[8]; vref_mv 23 include/linux/platform_data/ads7828.h unsigned int vref_mv; vref_mv 18 include/linux/spi/ads7846.h u16 vref_mv; /* external vref value, milliVolts