Home
last modified time | relevance | path

Searched full:adc0 (Results 1 – 25 of 82) sorted by relevance

1234

/Linux-v5.10/drivers/mfd/
Dmc13xxx-core.c256 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()
329 mc13xxx_reg_write(mc13xxx, MC13XXX_ADC0, adc0); in mc13xxx_adc_do_conversion()
/Linux-v5.10/arch/arm/boot/dts/
Dat91-kizboxmini-rd.dts23 adc0 {
43 &adc0 {
Dam5729-beagleboneai.dts430 adc0: iio-device@0 { label
432 iio-channels = <&adc0 4>, <&adc0 1>, <&adc0 2>, <&adc0 3>, <&adc0 4>, <&adc0 5>, <&adc0 6>;
Dvf500-colibri.dtsi20 io-channels = <&adc1 0>,<&adc0 0>,
21 <&adc0 1>,<&adc1 2>;
Dat91-smartkiz.dts53 adc0 {
93 &adc0 {
Dvf610-zii-dev.dtsi90 io-channels = <&adc0 8>, /* VCC_1V5 */
91 <&adc0 9>, /* VCC_1V8 */
97 &adc0 {
267 io-channels = <&adc0 16>;
Dvf610-zii-ssmb-dtu.dts52 io-channels = <&adc0 8>, /* 12V_MAIN */
53 <&adc0 9>, /* +3.3V */
59 &adc0 {
Dvf610-zii-spb4.dts48 io-channels = <&adc0 8>, /* 28V_SW */
49 <&adc0 9>, /* +3.3V */
55 &adc0 {
Dvf610-zii-ssmb-spu3.dts52 io-channels = <&adc0 8>, /* 12V_MAIN */
53 <&adc0 9>, /* +3.3V */
59 &adc0 {
Dvf610-zii-cfu1.dts77 io-channels = <&adc0 8>, /* 28VDC_IN */
78 <&adc0 9>, /* +3.3V */
84 &adc0 {
Dsama5d3xmb_cmp.dtsi105 adc0: adc@f8018000 { label
139 adc0 {
Dsama5d3xdm.dtsi24 adc0: adc@f8018000 { label
Dat91sam9g20.dtsi40 adc0: adc@fffe0000 { label
Dat91-dvk_som60.dts68 &adc0 {
Dat91-cosino_mega2560.dts22 &adc0 {
Dat91sam9x5dm.dtsi57 &adc0 {
Dat91sam9g25-gardena-smart-gateway.dts152 &adc0 {
/Linux-v5.10/Documentation/devicetree/bindings/input/touchscreen/
Dcolibri-vf50-ts.txt21 io-channels = <&adc1 0>,<&adc0 0>,
22 <&adc0 1>,<&adc1 2>;
/Linux-v5.10/drivers/iio/light/
Dtsl2563.c303 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()
365 * The basic formula is lux = c0 * adc0 - c1 * adc1, where c0 and c1 are
367 * kinds of light, determined by the ratio adc1/adc0 (basically the ratio
369 * lists the upper threshold of the adc1/adc0 ratio and the corresponding
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()
/Linux-v5.10/drivers/iio/adc/
Dsc27xx_adc.c85 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()
Drockchip_saradc.c158 SARADC_CHANNEL(0, "adc0", 10),
170 SARADC_CHANNEL(0, "adc0", 12),
181 SARADC_CHANNEL(0, "adc0", 10),
/Linux-v5.10/Documentation/devicetree/bindings/pinctrl/
Daspeed,ast2600-pinctrl.yaml34 enum: [ ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, ADC2,
59 enum: [ ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, ADC2,
/Linux-v5.10/Documentation/devicetree/bindings/sound/
Dmt6359.yaml32 Specifies the type of mic type connected to adc0
/Linux-v5.10/Documentation/devicetree/bindings/reset/
Dnxp,lpc1850-rgu.txt41 40 ADC0
/Linux-v5.10/drivers/pinctrl/
Dpinctrl-lpc18xx.c207 #define ADC0 (LPC18XX_ANALOG_PIN | (0x00 << 5)) macro
285 LPC_P(4,1, GPIO, CTOUT, LCD, R, R, LCD_ALT, UART3, ENET, ADC0|1, ND);
287 LPC_P(4,3, GPIO, CTOUT, LCD, R, R, LCD_ALT, UART3, SGPIO, ADC0|0, ND);
320 LPC_P(7,4, GPIO, CTOUT, R, LCD,LCD_ALT, TRACE, R, R, ADC0|4, ND);
321 LPC_P(7,5, GPIO, CTOUT, R, LCD,LCD_ALT, TRACE, R, R, ADC0|3, ND);
351 LPC_P(b,6, R, USB1, LCD, R, GPIO, CTIN, LCD_ALT, R, ADC0|6, ND);
408 LPC_P(f,8, R, UART0, CTIN, TRACE, GPIO, R, SGPIO, R, ADC0|2, ND);
410 LPC_P(f,10, R, UART0, R, R, GPIO, R, SDMMC, R, ADC0|5, ND);

1234