Searched refs:adc1 (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/mfd/
H A Dmc13xxx-core.c259 u32 adc0, adc1, old_adc0; mc13xxx_adc_do_conversion() local
280 adc1 = MC13XXX_ADC1_ADEN | MC13XXX_ADC1_ADTRIGIGN | MC13XXX_ADC1_ASC; mc13xxx_adc_do_conversion()
283 adc1 |= MC13XXX_ADC1_ADSEL; mc13xxx_adc_do_conversion()
289 adc1 |= 4 << MC13XXX_ADC1_CHAN1_SHIFT; mc13xxx_adc_do_conversion()
294 adc1 |= (channel & 0x7) << MC13XXX_ADC1_CHAN0_SHIFT; mc13xxx_adc_do_conversion()
295 adc1 |= MC13XXX_ADC1_RAND; mc13xxx_adc_do_conversion()
300 adc1 |= 4 << MC13XXX_ADC1_CHAN1_SHIFT; mc13xxx_adc_do_conversion()
308 adc1 |= ato << MC13783_ADC1_ATO_SHIFT; mc13xxx_adc_do_conversion()
310 adc1 |= MC13783_ADC1_ATOX; mc13xxx_adc_do_conversion()
317 mc13xxx_reg_write(mc13xxx, MC13XXX_ADC1, adc1); mc13xxx_adc_do_conversion()
/linux-4.4.14/drivers/iio/light/
H A Dtsl2563.c316 u16 adc0, adc1; tsl2563_get_adc() local
348 adc1 = ret; tsl2563_get_adc()
354 chip->data1 = tsl2563_normalize_adc(adc1, chip->gainlevel->gaintime); tsl2563_get_adc()
378 * The basic formula is lux = c0 * adc0 - c1 * adc1, where c0 and c1 are
380 * kinds of light, determined by the ratio adc1/adc0 (basically the ratio
382 * lists the upper threshold of the adc1/adc0 ratio and the corresponding
429 static unsigned int tsl2563_adc_to_lux(u32 adc0, u32 adc1) tsl2563_adc_to_lux() argument
432 unsigned long ratio, lux, ch0 = adc0, ch1 = adc1; tsl2563_adc_to_lux()
/linux-4.4.14/drivers/iio/adc/
H A Drockchip_saradc.c139 ADC_CHANNEL(1, "adc1"),
152 ADC_CHANNEL(1, "adc1"),
H A Dexynos_adc.c549 ADC_CHANNEL(1, "adc1"),
/linux-4.4.14/drivers/clk/
H A Dclk-stm32f4.c107 { STM32F4_RCC_APB2ENR, 8, "adc1", "apb2_div" },
/linux-4.4.14/drivers/clk/imx/
H A Dclk-imx6ul.c324 clks[IMX6UL_CLK_ADC1] = imx_clk_gate2("adc1", "ipg", base + 0x6c, 16); imx6ul_clocks_init()
H A Dclk-vf610.c372 clk[VF610_CLK_ADC1] = imx_clk_gate2("adc1", "ipg_bus", CCM_CCGR7, CCM_CCGRx_CGn(11)); vf610_clocks_init()

Completed in 282 milliseconds