Searched refs:adc1 (Results 1 – 4 of 4) sorted by relevance
/drivers/mfd/ |
D | mc13xxx-core.c | 256 u32 adc0, adc1, old_adc0; in mc13xxx_adc_do_conversion() local 280 adc1 = MC13XXX_ADC1_ADEN | MC13XXX_ADC1_ADTRIGIGN | MC13XXX_ADC1_ASC; in mc13xxx_adc_do_conversion() 289 adc1 |= MC13XXX_ADC1_ADSEL; in mc13xxx_adc_do_conversion() 302 adc1 |= 4 << MC13XXX_ADC1_CHAN1_SHIFT; in mc13xxx_adc_do_conversion() 307 adc1 |= (channel & 0x7) << MC13XXX_ADC1_CHAN0_SHIFT; in mc13xxx_adc_do_conversion() 308 adc1 |= MC13XXX_ADC1_RAND; in mc13xxx_adc_do_conversion() 313 adc1 |= 4 << MC13XXX_ADC1_CHAN1_SHIFT; in mc13xxx_adc_do_conversion() 321 adc1 |= ato << MC13783_ADC1_ATO_SHIFT; in mc13xxx_adc_do_conversion() 323 adc1 |= MC13783_ADC1_ATOX; in mc13xxx_adc_do_conversion() 332 mc13xxx_reg_write(mc13xxx, MC13XXX_ADC1, adc1); in mc13xxx_adc_do_conversion()
|
/drivers/iio/adc/ |
D | sc27xx_adc.c | 118 int adc1; member 212 graph->adc1 = sc27xx_adc_get_calib_data(calib_data >> 8, in sc27xx_adc_scale_calibration() 213 calib_graph->adc1); in sc27xx_adc_scale_calibration() 597 tmp = (graph->volt0 - graph->volt1) * (raw_adc - graph->adc1); in adc_to_volt() 598 tmp /= (graph->adc0 - graph->adc1); in adc_to_volt()
|
/drivers/iio/light/ |
D | tsl2563.c | 305 u16 adc0, adc1; in tsl2563_get_adc() local 337 adc1 = ret; in tsl2563_get_adc() 343 chip->data1 = tsl2563_normalize_adc(adc1, 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/clk/stm32/ |
D | clk-stm32mp13.c | 855 static struct clk_stm32_gate adc1 = { variable 1371 STM32_GATE_CFG(ADC1, adc1, SECF_ADC1),
|