Home
last modified time | relevance | path

Searched refs:int_vref_mv (Results 1 – 21 of 21) sorted by relevance

/drivers/staging/iio/adc/
Dmax1363_core.c258 st->chip_info->int_vref_mv) { in max1363_read_raw()
263 *val = (st->chip_info->int_vref_mv) in max1363_read_raw()
850 .int_vref_mv = 2048,
860 .int_vref_mv = 4096,
870 .int_vref_mv = 2048,
880 .int_vref_mv = 4096,
890 .int_vref_mv = 4096,
900 .int_vref_mv = 2048,
910 .int_vref_mv = 4096,
920 .int_vref_mv = 2048,
[all …]
Dad7476_core.c60 scale_uv = (st->int_vref_mv * 1000) in ad7476_read_raw()
117 .int_vref_mv = 2500,
150 if (st->chip_info->int_vref_mv) in ad7476_probe()
151 st->int_vref_mv = st->chip_info->int_vref_mv; in ad7476_probe()
153 st->int_vref_mv = pdata->vref_mv; in ad7476_probe()
155 st->int_vref_mv = voltage_uv / 1000; in ad7476_probe()
Dad7887_core.c59 scale_uv = (st->int_vref_mv * 1000) in ad7887_read_raw()
93 .int_vref_mv = 2500,
178 st->int_vref_mv = pdata->vref_mv; in ad7887_probe()
180 st->int_vref_mv = voltage_uv / 1000; in ad7887_probe()
188 st->int_vref_mv = pdata->vref_mv; in ad7887_probe()
190 st->int_vref_mv = st->chip_info->int_vref_mv; in ad7887_probe()
Dad799x_core.c165 scale_uv = (st->int_vref_mv * 1000) >> chan->scan_type.realbits; in ad799x_read_raw()
484 .int_vref_mv = 4096,
520 .int_vref_mv = 1024,
556 .int_vref_mv = 1024,
580 .int_vref_mv = 4096,
621 .int_vref_mv = 1024,
662 .int_vref_mv = 4096,
731 .int_vref_mv = 1024,
800 .int_vref_mv = 4096,
828 st->int_vref_mv = pdata->vref_mv; in ad799x_probe()
[all …]
Dad7476.h22 u16 int_vref_mv; member
31 u16 int_vref_mv; member
Dad7780.c46 u16 int_vref_mv; member
118 scale_uv = (st->int_vref_mv * 100000) in ad7780_read_raw()
191 st->int_vref_mv = pdata->vref_mv; in ad7780_probe()
193 st->int_vref_mv = voltage_uv / 1000; in ad7780_probe()
Dad7887.h58 u16 int_vref_mv; member
67 u16 int_vref_mv; member
Dad799x.h99 u16 int_vref_mv; member
110 u16 int_vref_mv; member
Dad7298_core.c146 scale_uv = (st->int_vref_mv * 1000) >> AD7298_BITS; in ad7298_read_raw()
213 st->int_vref_mv = pdata->vref_mv; in ad7298_probe()
216 st->int_vref_mv = AD7298_INTREF_mV; in ad7298_probe()
Dad7291.c103 u16 int_vref_mv; member
516 scale_uv = (chip->int_vref_mv * 1000) >> AD7291_BITS; in ad7291_read_raw()
614 chip->int_vref_mv = voltage_uv / 1000; in ad7291_probe()
617 chip->int_vref_mv = 2500; /* Build-in ref */ in ad7291_probe()
Dad7298.h42 u16 int_vref_mv; member
Dad7793.c51 u16 int_vref_mv; member
304 scale_uv = ((u64)st->int_vref_mv * 100000000) in ad7793_setup()
929 st->int_vref_mv = pdata->vref_mv; in ad7793_probe()
931 st->int_vref_mv = voltage_uv / 1000; in ad7793_probe()
933 st->int_vref_mv = 2500; /* Build-in ref */ in ad7793_probe()
Dad7606.h53 u16 int_vref_mv; member
Dad7606_core.c279 .int_vref_mv = 2500,
285 .int_vref_mv = 2500,
291 .int_vref_mv = 2500,
Dmax1363.h107 u16 int_vref_mv; member
Dad7192.c143 u16 int_vref_mv; member
441 scale_uv = ((u64)st->int_vref_mv * 100000000) in ad7192_setup()
1054 st->int_vref_mv = pdata->vref_mv; in ad7192_probe()
1056 st->int_vref_mv = voltage_uv / 1000; in ad7192_probe()
/drivers/staging/iio/dac/
Dad5624r_spi.c49 .int_vref_mv = 1250,
53 .int_vref_mv = 2500,
57 .int_vref_mv = 1250,
61 .int_vref_mv = 2500,
65 .int_vref_mv = 1250,
69 .int_vref_mv = 2500,
280 st->vref_mv = st->chip_info->int_vref_mv; in ad5624r_probe()
Dad5446.c211 .int_vref_mv = 2500,
217 .int_vref_mv = 1250,
223 .int_vref_mv = 2500,
229 .int_vref_mv = 1250,
235 .int_vref_mv = 2500,
241 .int_vref_mv = 1250,
363 st->vref_mv = st->chip_info->int_vref_mv; in ad5446_probe()
Dad5686.c54 u16 int_vref_mv; member
111 .int_vref_mv = 2500,
118 .int_vref_mv = 2500,
125 .int_vref_mv = 2500,
383 st->vref_mv = st->chip_info->int_vref_mv; in ad5686_probe()
Dad5624r.h41 u16 int_vref_mv; member
Dad5446.h71 u16 int_vref_mv; member