Home
last modified time | relevance | path

Searched refs:vref_mv (Results 1 – 25 of 34) sorted by relevance

12

/linux-3.4.99/drivers/staging/iio/dac/
Dmax517.c50 unsigned short vref_mv[2]; member
134 unsigned int scale_uv = (data->vref_mv[channel - 1] * 1000) >> 8; in max517_show_scale()
245 data->vref_mv[0] = data->vref_mv[1] = 5000; /* mV */ in max517_probe()
247 data->vref_mv[0] = platform_data->vref_mv[0]; in max517_probe()
248 data->vref_mv[1] = platform_data->vref_mv[1]; in max517_probe()
Dad5504.h36 u16 vref_mv; member
51 unsigned short vref_mv; member
Dad5791.c243 *val2 = (((u64)st->vref_mv) * 1000000ULL) >> chan->scan_type.realbits; in ad5791_read_raw()
247 do_div(val64, st->vref_mv); in ad5791_read_raw()
319 st->vref_mv = (pos_voltage_uv + neg_voltage_uv) / 1000; in ad5791_probe()
322 st->vref_mv = pdata->vref_pos_mv + pdata->vref_neg_mv; in ad5791_probe()
336 st->ctrl = AD5761_CTRL_LINCOMP(st->chip_info->get_lin_comp(st->vref_mv)) in ad5791_probe()
Dad5504.c93 scale_uv = (st->vref_mv * 1000) >> chan->scan_type.realbits; in ad5504_read_raw()
307 st->vref_mv = voltage_uv / 1000; in ad5504_probe()
309 st->vref_mv = pdata->vref_mv; in ad5504_probe()
Dad5686.c73 unsigned short vref_mv; member
309 scale_uv = (st->vref_mv * 100000) in ad5686_read_raw()
381 st->vref_mv = voltage_uv / 1000; in ad5686_probe()
383 st->vref_mv = st->chip_info->int_vref_mv; in ad5686_probe()
Dmax517.h16 u16 vref_mv[2]; member
Dad5624r_spi.c106 scale_uv = (st->vref_mv * 1000) >> chan->scan_type.realbits; in ad5624r_read_raw()
278 st->vref_mv = voltage_uv / 1000; in ad5624r_probe()
280 st->vref_mv = st->chip_info->int_vref_mv; in ad5624r_probe()
Dad5624r.h59 unsigned short vref_mv; member
Dad5791.h94 unsigned short vref_mv; member
Dad5446.h49 unsigned short vref_mv; member
Dad5446.c258 scale_uv = (st->vref_mv * 1000) >> chan->scan_type.realbits; in ad5446_read_raw()
363 st->vref_mv = st->chip_info->int_vref_mv; in ad5446_probe()
367 st->vref_mv = voltage_uv / 1000; in ad5446_probe()
/linux-3.4.99/drivers/staging/iio/adc/
Dad7887_core.c177 if (pdata && pdata->vref_mv) in ad7887_probe()
178 st->int_vref_mv = pdata->vref_mv; in ad7887_probe()
187 if (pdata && pdata->vref_mv) in ad7887_probe()
188 st->int_vref_mv = pdata->vref_mv; in ad7887_probe()
Dad7780.h26 u16 vref_mv; member
Dad7192.h35 u16 vref_mv; member
Dad7476.h18 u16 vref_mv; member
Dad7298.h35 u16 vref_mv; member
Dad7887.h34 u16 vref_mv; member
Dad7793.h101 u16 vref_mv; member
Dad7476_core.c152 else if (pdata && pdata->vref_mv) in ad7476_probe()
153 st->int_vref_mv = pdata->vref_mv; in ad7476_probe()
Dad799x.h121 u16 vref_mv; member
Dad7298_core.c212 if (pdata && pdata->vref_mv) { in ad7298_probe()
213 st->int_vref_mv = pdata->vref_mv; in ad7298_probe()
/linux-3.4.99/drivers/hwmon/
Dads7828.c53 static int vref_mv = ADS7828_INT_VREF_MV; /* set if vref != 2.5V */ variable
56 module_param(vref_mv, int, S_IRUGO);
259 ads7828_lsb_resol = (vref_mv*1000)/4096; in sensors_ads7828_init()
/linux-3.4.99/drivers/staging/iio/impedance-analyzer/
Dad5933.h25 unsigned short vref_mv; member
Dad5933.c98 unsigned short vref_mv; member
108 .vref_mv = 3300,
251 st->range_avail[i] = normalized_3v3[i] * st->vref_mv / 3300; in ad5933_calc_out_ranges()
703 st->vref_mv = voltage_uv / 1000; in ad5933_probe()
705 st->vref_mv = st->pdata->vref_mv; in ad5933_probe()
/linux-3.4.99/include/linux/spi/
Dads7846.h17 u16 vref_mv; /* external vref value, milliVolts member

12