Searched refs:adc0 (Results 1 – 3 of 3) sorted by relevance
/drivers/mfd/ |
D | mc13xxx-core.c | 256 u32 adc0, adc1, old_adc0; in mc13xxx_adc_do_conversion() local 278 adc0 = MC13XXX_ADC0_ADINC1 | MC13XXX_ADC0_ADINC2 | in mc13xxx_adc_do_conversion() 291 adc0 |= MC13XXX_ADC0_ADIN7SEL_UID; in mc13xxx_adc_do_conversion() 294 adc0 |= MC13XXX_ADC0_ADIN7SEL_DIE; in mc13xxx_adc_do_conversion() 300 adc0 |= MC13XXX_ADC0_ADREFEN | MC13XXX_ADC0_TSMOD0 | in mc13xxx_adc_do_conversion() 306 adc0 |= old_adc0 & MC13XXX_ADC0_CONFIG_MASK; in mc13xxx_adc_do_conversion() 312 adc0 |= old_adc0 & MC13XXX_ADC0_CONFIG_MASK; in mc13xxx_adc_do_conversion() 331 mc13xxx_reg_write(mc13xxx, MC13XXX_ADC0, adc0); in mc13xxx_adc_do_conversion()
|
/drivers/iio/light/ |
D | tsl2563.c | 303 u16 adc0, adc1; in tsl2563_get_adc() local 329 adc0 = ret; in tsl2563_get_adc() 337 retry = tsl2563_adjust_gainlevel(chip, adc0); in tsl2563_get_adc() 340 chip->data0 = tsl2563_normalize_adc(adc0, chip->gainlevel->gaintime); in tsl2563_get_adc() 416 static unsigned int tsl2563_adc_to_lux(u32 adc0, u32 adc1) in tsl2563_adc_to_lux() argument 419 unsigned long ratio, lux, ch0 = adc0, ch1 = adc1; in tsl2563_adc_to_lux()
|
/drivers/iio/adc/ |
D | sc27xx_adc.c | 85 int adc0; member 155 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0); in sc27xx_adc_scale_calibration() 277 tmp /= (graph->adc0 - graph->adc1); in sc27xx_adc_to_volt()
|