Home
last modified time | relevance | path

Searched refs:IIO_VOLTAGE (Results 1 – 25 of 152) sorted by relevance

1234567

/Linux-v5.4/drivers/iio/adc/
Dqcom-pm8xxx-xoadc.c233 XOADC_CHAN(VCOIN, 0x00, 0x00, IIO_VOLTAGE, 1, 3, SCALE_DEFAULT, AMUX_RSV1),
234 XOADC_CHAN(VBAT, 0x00, 0x01, IIO_VOLTAGE, 1, 3, SCALE_DEFAULT, AMUX_RSV1),
235 XOADC_CHAN(VPH_PWR, 0x00, 0x02, IIO_VOLTAGE, 1, 3, SCALE_DEFAULT, AMUX_RSV1),
238 XOADC_CHAN(AMUX8, 0x00, 0x08, IIO_VOLTAGE, 1, 1, SCALE_DEFAULT, AMUX_RSV2),
239 XOADC_CHAN(INTERNAL, 0x00, 0x0c, IIO_VOLTAGE, 1, 1, SCALE_DEFAULT, AMUX_RSV1),
240 XOADC_CHAN(125V, 0x00, 0x0d, IIO_VOLTAGE, 1, 1, SCALE_DEFAULT, AMUX_RSV1),
250 XOADC_CHAN(VCOIN, 0x00, 0x00, IIO_VOLTAGE, 1, 3, SCALE_DEFAULT, AMUX_RSV1),
251 XOADC_CHAN(VBAT, 0x00, 0x01, IIO_VOLTAGE, 1, 3, SCALE_DEFAULT, AMUX_RSV1),
252 XOADC_CHAN(DCIN, 0x00, 0x02, IIO_VOLTAGE, 1, 6, SCALE_DEFAULT, AMUX_RSV1),
253 XOADC_CHAN(ICHG, 0x00, 0x03, IIO_VOLTAGE, 1, 1, SCALE_DEFAULT, AMUX_RSV1),
[all …]
Dmxs-lradc-adc.c595 MXS_ADC_CHAN(0, IIO_VOLTAGE, "LRADC0"),
596 MXS_ADC_CHAN(1, IIO_VOLTAGE, "LRADC1"),
597 MXS_ADC_CHAN(2, IIO_VOLTAGE, "LRADC2"),
598 MXS_ADC_CHAN(3, IIO_VOLTAGE, "LRADC3"),
599 MXS_ADC_CHAN(4, IIO_VOLTAGE, "LRADC4"),
600 MXS_ADC_CHAN(5, IIO_VOLTAGE, "LRADC5"),
601 MXS_ADC_CHAN(6, IIO_VOLTAGE, "VDDIO"),
602 MXS_ADC_CHAN(7, IIO_VOLTAGE, "VBATT"),
622 MXS_ADC_CHAN(10, IIO_VOLTAGE, NULL),
623 MXS_ADC_CHAN(11, IIO_VOLTAGE, NULL),
[all …]
Dtwl6030-gpadc.c797 TWL6030_GPADC_CHAN(0, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
799 TWL6030_GPADC_CHAN(2, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
800 TWL6030_GPADC_CHAN(3, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
802 TWL6030_GPADC_CHAN(5, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
803 TWL6030_GPADC_CHAN(6, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
804 TWL6030_GPADC_CHAN(7, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
805 TWL6030_GPADC_CHAN(8, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
806 TWL6030_GPADC_CHAN(9, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
807 TWL6030_GPADC_CHAN(10, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
808 TWL6030_GPADC_CHAN(11, IIO_VOLTAGE, IIO_CHAN_INFO_RAW),
[all …]
Dlp8788_adc.c137 [LPADC_VBATT_5P5] = LP8788_CHAN(VBATT_5P5, IIO_VOLTAGE),
138 [LPADC_VIN_CHG] = LP8788_CHAN(VIN_CHG, IIO_VOLTAGE),
141 [LPADC_VBATT_6P0] = LP8788_CHAN(VBATT_6P0, IIO_VOLTAGE),
142 [LPADC_VBATT_5P0] = LP8788_CHAN(VBATT_5P0, IIO_VOLTAGE),
143 [LPADC_ADC1] = LP8788_CHAN(ADC1, IIO_VOLTAGE),
144 [LPADC_ADC2] = LP8788_CHAN(ADC2, IIO_VOLTAGE),
145 [LPADC_VDD] = LP8788_CHAN(VDD, IIO_VOLTAGE),
146 [LPADC_VCOIN] = LP8788_CHAN(VCOIN, IIO_VOLTAGE),
147 [LPADC_ADC3] = LP8788_CHAN(ADC3, IIO_VOLTAGE),
148 [LPADC_ADC4] = LP8788_CHAN(ADC4, IIO_VOLTAGE),
Dvf610_adc.c528 VF610_ADC_CHAN(0, IIO_VOLTAGE),
529 VF610_ADC_CHAN(1, IIO_VOLTAGE),
530 VF610_ADC_CHAN(2, IIO_VOLTAGE),
531 VF610_ADC_CHAN(3, IIO_VOLTAGE),
532 VF610_ADC_CHAN(4, IIO_VOLTAGE),
533 VF610_ADC_CHAN(5, IIO_VOLTAGE),
534 VF610_ADC_CHAN(6, IIO_VOLTAGE),
535 VF610_ADC_CHAN(7, IIO_VOLTAGE),
536 VF610_ADC_CHAN(8, IIO_VOLTAGE),
537 VF610_ADC_CHAN(9, IIO_VOLTAGE),
[all …]
Dda9150-gpadc.c278 DA9150_GPADC_CHANNEL_PROCESSED(GPIOA, GPIOA_6V, IIO_VOLTAGE, NULL),
279 DA9150_GPADC_CHANNEL_PROCESSED(GPIOB, GPIOB_6V, IIO_VOLTAGE, NULL),
280 DA9150_GPADC_CHANNEL_PROCESSED(GPIOC, GPIOC_6V, IIO_VOLTAGE, NULL),
281 DA9150_GPADC_CHANNEL_PROCESSED(GPIOD, GPIOD_6V, IIO_VOLTAGE, NULL),
283 DA9150_GPADC_CHANNEL_PROCESSED(VBUS, VBUS_DIV_, IIO_VOLTAGE, "vbus"),
284 DA9150_GPADC_CHANNEL_PROCESSED(VSYS, VSYS, IIO_VOLTAGE, "vsys"),
285 DA9150_GPADC_CHANNEL_SCALED(VBAT, VBAT, IIO_VOLTAGE, "vbat"),
286 DA9150_GPADC_CHANNEL_RAW(TBAT, TBAT, IIO_VOLTAGE, "tbat"),
Daxp20x_adc.c161 AXP20X_ADC_CHANNEL(AXP20X_ACIN_V, "acin_v", IIO_VOLTAGE,
165 AXP20X_ADC_CHANNEL(AXP20X_VBUS_V, "vbus_v", IIO_VOLTAGE,
177 AXP20X_ADC_CHANNEL_OFFSET(AXP20X_GPIO0_V, "gpio0_v", IIO_VOLTAGE,
179 AXP20X_ADC_CHANNEL_OFFSET(AXP20X_GPIO1_V, "gpio1_v", IIO_VOLTAGE,
181 AXP20X_ADC_CHANNEL(AXP20X_IPSOUT_V, "ipsout_v", IIO_VOLTAGE,
183 AXP20X_ADC_CHANNEL(AXP20X_BATT_V, "batt_v", IIO_VOLTAGE,
200 AXP20X_ADC_CHANNEL(AXP22X_BATT_V, "batt_v", IIO_VOLTAGE,
217 AXP20X_ADC_CHANNEL(AXP813_GPIO0_V, "gpio0_v", IIO_VOLTAGE,
219 AXP20X_ADC_CHANNEL(AXP813_BATT_V, "batt_v", IIO_VOLTAGE,
361 case IIO_VOLTAGE: in axp20x_adc_scale()
[all …]
Dberlin2-adc.c90 BERLIN2_ADC_CHANNEL(0, IIO_VOLTAGE), /* external input */
91 BERLIN2_ADC_CHANNEL(1, IIO_VOLTAGE), /* external input */
92 BERLIN2_ADC_CHANNEL(2, IIO_VOLTAGE), /* external input */
93 BERLIN2_ADC_CHANNEL(3, IIO_VOLTAGE), /* external input */
94 BERLIN2_ADC_CHANNEL(4, IIO_VOLTAGE), /* reserved */
95 BERLIN2_ADC_CHANNEL(5, IIO_VOLTAGE), /* reserved */
103 BERLIN2_ADC_CHANNEL(7, IIO_VOLTAGE), /* reserved */
210 if (chan->type != IIO_VOLTAGE) in berlin2_adc_read_raw()
Dtwl4030-madc.c214 TWL4030_ADC_CHANNEL(0, IIO_VOLTAGE, "ADCIN0"),
216 TWL4030_ADC_CHANNEL(2, IIO_VOLTAGE, "ADCIN2"),
217 TWL4030_ADC_CHANNEL(3, IIO_VOLTAGE, "ADCIN3"),
218 TWL4030_ADC_CHANNEL(4, IIO_VOLTAGE, "ADCIN4"),
219 TWL4030_ADC_CHANNEL(5, IIO_VOLTAGE, "ADCIN5"),
220 TWL4030_ADC_CHANNEL(6, IIO_VOLTAGE, "ADCIN6"),
221 TWL4030_ADC_CHANNEL(7, IIO_VOLTAGE, "ADCIN7"),
222 TWL4030_ADC_CHANNEL(8, IIO_VOLTAGE, "ADCIN8"),
223 TWL4030_ADC_CHANNEL(9, IIO_VOLTAGE, "ADCIN9"),
225 TWL4030_ADC_CHANNEL(11, IIO_VOLTAGE, "ADCIN11"),
[all …]
Dad7291.c153 IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, in ad7291_event_handler()
160 IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, in ad7291_event_handler()
177 case IIO_VOLTAGE: in ad7291_threshold_reg()
217 if (info == IIO_EV_INFO_HYSTERESIS || chan->type == IIO_VOLTAGE) in ad7291_read_event_value()
235 if (info == IIO_EV_INFO_HYSTERESIS || chan->type == IIO_VOLTAGE) { in ad7291_write_event_value()
259 case IIO_VOLTAGE: in ad7291_read_event_config()
292 case IIO_VOLTAGE: in ad7291_write_event_config()
333 case IIO_VOLTAGE: in ad7291_read_raw()
378 case IIO_VOLTAGE: in ad7291_read_raw()
427 .type = IIO_VOLTAGE, \
Dcpcap-adc.c359 CPCAP_CHAN(IIO_VOLTAGE, 1, CPCAP_REG_ADCD1, "battp"),
360 CPCAP_CHAN(IIO_VOLTAGE, 2, CPCAP_REG_ADCD2, "vbus"),
362 CPCAP_CHAN(IIO_VOLTAGE, 4, CPCAP_REG_ADCD4, "ad4"),
365 CPCAP_CHAN(IIO_VOLTAGE, 7, CPCAP_REG_ADCD7, "usb_id"),
369 CPCAP_CHAN(IIO_VOLTAGE, 9, CPCAP_REG_ADCD1, "ad9"),
370 CPCAP_CHAN(IIO_VOLTAGE, 10, CPCAP_REG_ADCD2, "licell"),
371 CPCAP_CHAN(IIO_VOLTAGE, 11, CPCAP_REG_ADCD3, "hv_battp"),
372 CPCAP_CHAN(IIO_VOLTAGE, 12, CPCAP_REG_ADCD4, "tsx1_ad12"),
373 CPCAP_CHAN(IIO_VOLTAGE, 13, CPCAP_REG_ADCD5, "tsx2_ad13"),
374 CPCAP_CHAN(IIO_VOLTAGE, 14, CPCAP_REG_ADCD6, "tsy1_ad14"),
[all …]
Dpalmas_gpadc.c443 PALMAS_ADC_CHAN_IIO(IN0, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
445 PALMAS_ADC_CHAN_IIO(IN2, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
447 PALMAS_ADC_CHAN_IIO(IN4, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
448 PALMAS_ADC_CHAN_IIO(IN5, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
449 PALMAS_ADC_CHAN_IIO(IN6, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
450 PALMAS_ADC_CHAN_IIO(IN7, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
451 PALMAS_ADC_CHAN_IIO(IN8, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
452 PALMAS_ADC_CHAN_IIO(IN9, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
453 PALMAS_ADC_CHAN_IIO(IN10, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
454 PALMAS_ADC_CHAN_IIO(IN11, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED),
[all …]
Dltc2471.c82 .type = IIO_VOLTAGE,
90 .type = IIO_VOLTAGE,
Dti-ads8344.c37 .type = IIO_VOLTAGE, \
46 .type = IIO_VOLTAGE, \
Dti-adc161s626.c33 .type = IIO_VOLTAGE,
50 .type = IIO_VOLTAGE,
Dmax1363.c462 .type = IIO_VOLTAGE, \
483 .type = IIO_VOLTAGE, \
768 IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, 0,
770 IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, 1,
772 IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, 2,
774 IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, 3,
776 IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, 0,
778 IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, 1,
780 IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, 2,
782 IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, 3,
/Linux-v5.4/drivers/input/touchscreen/
Dtsc2007_iio.c26 TSC2007_CHAN_IIO(0, "x", IIO_VOLTAGE, IIO_CHAN_INFO_RAW),
27 TSC2007_CHAN_IIO(1, "y", IIO_VOLTAGE, IIO_CHAN_INFO_RAW),
28 TSC2007_CHAN_IIO(2, "z1", IIO_VOLTAGE, IIO_CHAN_INFO_RAW),
29 TSC2007_CHAN_IIO(3, "z2", IIO_VOLTAGE, IIO_CHAN_INFO_RAW),
30 TSC2007_CHAN_IIO(4, "adc", IIO_VOLTAGE, IIO_CHAN_INFO_RAW),
31 TSC2007_CHAN_IIO(5, "rt", IIO_VOLTAGE, IIO_CHAN_INFO_RAW), /* Ohms? */
/Linux-v5.4/include/linux/iio/adc/
Dad_sigma_delta.h159 _storagebits, _shift, NULL, IIO_VOLTAGE, \
165 _storagebits, _shift, "shorted", IIO_VOLTAGE, \
171 _storagebits, _shift, NULL, IIO_VOLTAGE, \
177 _storagebits, _shift, NULL, IIO_VOLTAGE, 0)
187 _storagebits, _shift, "supply", IIO_VOLTAGE, \
/Linux-v5.4/drivers/iio/dummy/
Diio_simple_dummy.c99 .type = IIO_VOLTAGE,
143 .type = IIO_VOLTAGE,
178 .type = IIO_VOLTAGE,
228 .type = IIO_VOLTAGE,
292 case IIO_VOLTAGE: in iio_dummy_read_raw()
347 case IIO_VOLTAGE: in iio_dummy_read_raw()
435 case IIO_VOLTAGE: in iio_dummy_write_raw()
Diio_simple_dummy_events.c65 case IIO_VOLTAGE: in iio_simple_dummy_write_event_config()
184 IIO_EVENT_CODE(IIO_VOLTAGE, 0, 0, in iio_simple_dummy_event_handler()
/Linux-v5.4/drivers/iio/gyro/
Dadis16080.c95 case IIO_VOLTAGE: in adis16080_read_raw()
110 case IIO_VOLTAGE: in adis16080_read_raw()
137 .type = IIO_VOLTAGE,
145 .type = IIO_VOLTAGE,
/Linux-v5.4/drivers/staging/iio/cdc/
Dad7746.c123 .type = IIO_VOLTAGE,
133 .type = IIO_VOLTAGE,
248 case IIO_VOLTAGE: in ad7746_select_channel()
444 case IIO_VOLTAGE: in ad7746_write_raw()
512 case IIO_VOLTAGE: in ad7746_write_raw()
573 case IIO_VOLTAGE: in ad7746_read_raw()
588 case IIO_VOLTAGE: in ad7746_read_raw()
628 case IIO_VOLTAGE: in ad7746_read_raw()
648 case IIO_VOLTAGE: in ad7746_read_raw()
/Linux-v5.4/drivers/iio/temperature/
Dtmp006.c83 if (channel->type == IIO_VOLTAGE) { in tmp006_read_raw()
100 if (channel->type == IIO_VOLTAGE) { in tmp006_read_raw()
162 .type = IIO_VOLTAGE,
/Linux-v5.4/drivers/iio/chemical/
Dccs811.c87 .type = IIO_VOLTAGE,
212 case IIO_VOLTAGE: in ccs811_read_raw()
245 case IIO_VOLTAGE: in ccs811_read_raw()
/Linux-v5.4/tools/iio/
Diio_event_monitor.c29 [IIO_VOLTAGE] = "voltage",
132 case IIO_VOLTAGE: in event_is_known()

1234567