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 | 305 u16 adc0, adc1; in tsl2563_get_adc() local 331 adc0 = ret; in tsl2563_get_adc() 339 retry = tsl2563_adjust_gainlevel(chip, adc0); in tsl2563_get_adc() 342 chip->data0 = tsl2563_normalize_adc(adc0, chip->gainlevel->gaintime); in tsl2563_get_adc() 418 static unsigned int tsl2563_adc_to_lux(u32 adc0, u32 adc1) in tsl2563_adc_to_lux() argument 421 unsigned long ratio, lux, ch0 = adc0, ch1 = adc1; in tsl2563_adc_to_lux()
|
/drivers/iio/adc/ |
D | sc27xx_adc.c | 116 int adc0; member 211 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0); in sc27xx_adc_scale_calibration() 598 tmp /= (graph->adc0 - graph->adc1); in adc_to_volt()
|