/linux-6.1.9/drivers/iio/adc/ |
D | qcom-pm8xxx-xoadc.c | 234 XOADC_CHAN(VCOIN, 0x00, 0x00, IIO_VOLTAGE, 1, 3, SCALE_DEFAULT, AMUX_RSV1), 235 XOADC_CHAN(VBAT, 0x00, 0x01, IIO_VOLTAGE, 1, 3, SCALE_DEFAULT, AMUX_RSV1), 236 XOADC_CHAN(VPH_PWR, 0x00, 0x02, IIO_VOLTAGE, 1, 3, SCALE_DEFAULT, AMUX_RSV1), 239 XOADC_CHAN(AMUX8, 0x00, 0x08, IIO_VOLTAGE, 1, 1, SCALE_DEFAULT, AMUX_RSV2), 240 XOADC_CHAN(INTERNAL, 0x00, 0x0c, IIO_VOLTAGE, 1, 1, SCALE_DEFAULT, AMUX_RSV1), 241 XOADC_CHAN(125V, 0x00, 0x0d, IIO_VOLTAGE, 1, 1, SCALE_DEFAULT, AMUX_RSV1), 251 XOADC_CHAN(VCOIN, 0x00, 0x00, IIO_VOLTAGE, 1, 3, SCALE_DEFAULT, AMUX_RSV1), 252 XOADC_CHAN(VBAT, 0x00, 0x01, IIO_VOLTAGE, 1, 3, SCALE_DEFAULT, AMUX_RSV1), 253 XOADC_CHAN(DCIN, 0x00, 0x02, IIO_VOLTAGE, 1, 6, SCALE_DEFAULT, AMUX_RSV1), 254 XOADC_CHAN(ICHG, 0x00, 0x03, IIO_VOLTAGE, 1, 1, SCALE_DEFAULT, AMUX_RSV1), [all …]
|
D | mxs-lradc-adc.c | 594 MXS_ADC_CHAN(0, IIO_VOLTAGE, "LRADC0"), 595 MXS_ADC_CHAN(1, IIO_VOLTAGE, "LRADC1"), 596 MXS_ADC_CHAN(2, IIO_VOLTAGE, "LRADC2"), 597 MXS_ADC_CHAN(3, IIO_VOLTAGE, "LRADC3"), 598 MXS_ADC_CHAN(4, IIO_VOLTAGE, "LRADC4"), 599 MXS_ADC_CHAN(5, IIO_VOLTAGE, "LRADC5"), 600 MXS_ADC_CHAN(6, IIO_VOLTAGE, "VDDIO"), 601 MXS_ADC_CHAN(7, IIO_VOLTAGE, "VBATT"), 621 MXS_ADC_CHAN(10, IIO_VOLTAGE, NULL), 622 MXS_ADC_CHAN(11, IIO_VOLTAGE, NULL), [all …]
|
D | twl6030-gpadc.c | 797 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 …]
|
D | lp8788_adc.c | 137 [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),
|
D | axp20x_adc.c | 161 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, 189 AXP20X_ADC_CHANNEL(AXP20X_TS_IN, "ts_v", IIO_VOLTAGE, 202 AXP20X_ADC_CHANNEL(AXP22X_BATT_V, "batt_v", IIO_VOLTAGE, 208 AXP20X_ADC_CHANNEL(AXP22X_TS_IN, "ts_v", IIO_VOLTAGE, 221 AXP20X_ADC_CHANNEL(AXP813_GPIO0_V, "gpio0_v", IIO_VOLTAGE, [all …]
|
D | rn5t618-adc.c | 180 RN5T618_ADC_CHANNEL(VBAT, IIO_VOLTAGE, "VBAT"), 181 RN5T618_ADC_CHANNEL(VADP, IIO_VOLTAGE, "VADP"), 182 RN5T618_ADC_CHANNEL(VUSB, IIO_VOLTAGE, "VUSB"), 183 RN5T618_ADC_CHANNEL(VSYS, IIO_VOLTAGE, "VSYS"), 184 RN5T618_ADC_CHANNEL(VTHM, IIO_VOLTAGE, "VTHM"), 185 RN5T618_ADC_CHANNEL(AIN1, IIO_VOLTAGE, "AIN1"), 186 RN5T618_ADC_CHANNEL(AIN0, IIO_VOLTAGE, "AIN0")
|
D | vf610_adc.c | 531 VF610_ADC_CHAN(0, IIO_VOLTAGE), 532 VF610_ADC_CHAN(1, IIO_VOLTAGE), 533 VF610_ADC_CHAN(2, IIO_VOLTAGE), 534 VF610_ADC_CHAN(3, IIO_VOLTAGE), 535 VF610_ADC_CHAN(4, IIO_VOLTAGE), 536 VF610_ADC_CHAN(5, IIO_VOLTAGE), 537 VF610_ADC_CHAN(6, IIO_VOLTAGE), 538 VF610_ADC_CHAN(7, IIO_VOLTAGE), 539 VF610_ADC_CHAN(8, IIO_VOLTAGE), 540 VF610_ADC_CHAN(9, IIO_VOLTAGE), [all …]
|
D | da9150-gpadc.c | 278 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"),
|
D | twl4030-madc.c | 214 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 …]
|
D | berlin2-adc.c | 92 BERLIN2_ADC_CHANNEL(0, IIO_VOLTAGE), /* external input */ 93 BERLIN2_ADC_CHANNEL(1, IIO_VOLTAGE), /* external input */ 94 BERLIN2_ADC_CHANNEL(2, IIO_VOLTAGE), /* external input */ 95 BERLIN2_ADC_CHANNEL(3, IIO_VOLTAGE), /* external input */ 96 BERLIN2_ADC_CHANNEL(4, IIO_VOLTAGE), /* reserved */ 97 BERLIN2_ADC_CHANNEL(5, IIO_VOLTAGE), /* reserved */ 105 BERLIN2_ADC_CHANNEL(7, IIO_VOLTAGE), /* reserved */ 212 if (chan->type != IIO_VOLTAGE) in berlin2_adc_read_raw()
|
D | mt6360-adc.c | 245 MT6360_ADC_CHAN(USBID, IIO_VOLTAGE), 246 MT6360_ADC_CHAN(VBUSDIV5, IIO_VOLTAGE), 247 MT6360_ADC_CHAN(VBUSDIV2, IIO_VOLTAGE), 248 MT6360_ADC_CHAN(VSYS, IIO_VOLTAGE), 249 MT6360_ADC_CHAN(VBAT, IIO_VOLTAGE), 252 MT6360_ADC_CHAN(CHG_VDDP, IIO_VOLTAGE), 254 MT6360_ADC_CHAN(VREF_TS, IIO_VOLTAGE), 255 MT6360_ADC_CHAN(TS, IIO_VOLTAGE),
|
D | ingenic-adc.c | 391 .type = IIO_VOLTAGE, 400 .type = IIO_VOLTAGE, 414 .type = IIO_VOLTAGE, 423 .type = IIO_VOLTAGE, 432 .type = IIO_VOLTAGE, 441 .type = IIO_VOLTAGE, 454 .type = IIO_VOLTAGE, 465 .type = IIO_VOLTAGE, 476 .type = IIO_VOLTAGE, 487 .type = IIO_VOLTAGE, [all …]
|
D | ad7291.c | 151 IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, in ad7291_event_handler() 158 IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE, in ad7291_event_handler() 175 case IIO_VOLTAGE: in ad7291_threshold_reg() 215 if (info == IIO_EV_INFO_HYSTERESIS || chan->type == IIO_VOLTAGE) in ad7291_read_event_value() 233 if (info == IIO_EV_INFO_HYSTERESIS || chan->type == IIO_VOLTAGE) { in ad7291_write_event_value() 257 case IIO_VOLTAGE: in ad7291_read_event_config() 290 case IIO_VOLTAGE: in ad7291_write_event_config() 331 case IIO_VOLTAGE: in ad7291_read_raw() 376 case IIO_VOLTAGE: in ad7291_read_raw() 425 .type = IIO_VOLTAGE, \
|
D | cpcap-adc.c | 359 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 …]
|
D | palmas_gpadc.c | 450 PALMAS_ADC_CHAN_IIO(IN0, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED), 452 PALMAS_ADC_CHAN_IIO(IN2, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED), 454 PALMAS_ADC_CHAN_IIO(IN4, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED), 455 PALMAS_ADC_CHAN_IIO(IN5, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED), 456 PALMAS_ADC_CHAN_IIO(IN6, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED), 457 PALMAS_ADC_CHAN_IIO(IN7, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED), 458 PALMAS_ADC_CHAN_IIO(IN8, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED), 459 PALMAS_ADC_CHAN_IIO(IN9, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED), 460 PALMAS_ADC_CHAN_IIO(IN10, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED), 461 PALMAS_ADC_CHAN_IIO(IN11, IIO_VOLTAGE, IIO_CHAN_INFO_PROCESSED), [all …]
|
D | mp2629_adc.c | 48 MP2629_ADC_CHAN(BATT_VOLT, IIO_VOLTAGE), 49 MP2629_ADC_CHAN(SYSTEM_VOLT, IIO_VOLTAGE), 50 MP2629_ADC_CHAN(INPUT_VOLT, IIO_VOLTAGE),
|
D | ltc2471.c | 82 .type = IIO_VOLTAGE, 90 .type = IIO_VOLTAGE,
|
D | ad7791.c | 94 _storagebits, _shift, "shorted", IIO_VOLTAGE, \ 100 _storagebits, _shift, NULL, IIO_VOLTAGE, \ 106 _storagebits, _shift, NULL, IIO_VOLTAGE, \ 112 _storagebits, _shift, "supply", IIO_VOLTAGE, \
|
/linux-6.1.9/drivers/input/touchscreen/ |
D | tsc2007_iio.c | 26 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-6.1.9/drivers/iio/dummy/ |
D | iio_simple_dummy.c | 99 .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()
|
D | iio_simple_dummy_events.c | 65 case IIO_VOLTAGE: in iio_simple_dummy_write_event_config() 186 IIO_EVENT_CODE(IIO_VOLTAGE, 0, 0, in iio_simple_dummy_event_handler()
|
/linux-6.1.9/drivers/iio/gyro/ |
D | adis16080.c | 97 case IIO_VOLTAGE: in adis16080_read_raw() 112 case IIO_VOLTAGE: in adis16080_read_raw() 139 .type = IIO_VOLTAGE, 147 .type = IIO_VOLTAGE,
|
/linux-6.1.9/drivers/iio/cdc/ |
D | ad7746.c | 159 .type = IIO_VOLTAGE, 168 .type = IIO_VOLTAGE, 291 case IIO_VOLTAGE: in ad7746_select_channel() 480 case IIO_VOLTAGE: in ad7746_write_raw() 542 case IIO_VOLTAGE: in ad7746_write_raw() 566 case IIO_VOLTAGE: in ad7746_read_avail() 641 case IIO_VOLTAGE: in ad7746_read_raw() 681 case IIO_VOLTAGE: in ad7746_read_raw() 701 case IIO_VOLTAGE: in ad7746_read_raw()
|
/linux-6.1.9/drivers/iio/dac/ |
D | ad7293.c | 487 case IIO_VOLTAGE: in ad7293_read_raw() 518 case IIO_VOLTAGE: in ad7293_read_raw() 553 case IIO_VOLTAGE: in ad7293_read_raw() 591 case IIO_VOLTAGE: in ad7293_write_raw() 601 case IIO_VOLTAGE: in ad7293_write_raw() 624 case IIO_VOLTAGE: in ad7293_write_raw() 671 case IIO_VOLTAGE: in ad7293_read_avail() 688 .type = IIO_VOLTAGE, \ 699 .type = IIO_VOLTAGE, \
|
/linux-6.1.9/drivers/iio/temperature/ |
D | tmp006.c | 83 if (channel->type == IIO_VOLTAGE) { in tmp006_read_raw() 100 if (channel->type == IIO_VOLTAGE) { in tmp006_read_raw() 162 .type = IIO_VOLTAGE,
|