/linux-6.6.21/drivers/iio/adc/ |
D | axp20x_adc.c | 164 AXP20X_ADC_CHANNEL(AXP20X_ACIN_I, "acin_i", IIO_CURRENT, 168 AXP20X_ADC_CHANNEL(AXP20X_VBUS_I, "vbus_i", IIO_CURRENT, 186 AXP20X_ADC_CHANNEL(AXP20X_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT, 188 AXP20X_ADC_CHANNEL(AXP20X_BATT_DISCHRG_I, "batt_dischrg_i", IIO_CURRENT, 205 AXP20X_ADC_CHANNEL(AXP22X_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT, 207 AXP20X_ADC_CHANNEL(AXP22X_BATT_DISCHRG_I, "batt_dischrg_i", IIO_CURRENT, 226 AXP20X_ADC_CHANNEL(AXP22X_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT, 228 AXP20X_ADC_CHANNEL(AXP22X_BATT_DISCHRG_I, "batt_dischrg_i", IIO_CURRENT, 245 if (chan->type == IIO_CURRENT && chan->channel == AXP20X_BATT_DISCHRG_I) in axp20x_adc_raw() 396 case IIO_CURRENT: in axp20x_adc_scale() [all …]
|
D | mp2629_adc.c | 51 MP2629_ADC_CHAN(BATT_CURRENT, IIO_CURRENT), 52 MP2629_ADC_CHAN(INPUT_CURRENT, IIO_CURRENT)
|
D | axp288_adc.c | 83 .type = IIO_CURRENT, 90 .type = IIO_CURRENT,
|
D | mt6370-adc.c | 279 MT6370_ADC_CHAN(IBUS, IIO_CURRENT, 8, 0), 280 MT6370_ADC_CHAN(IBAT, IIO_CURRENT, 9, 0),
|
D | cpcap-adc.c | 363 CPCAP_CHAN(IIO_CURRENT, 5, CPCAP_REG_ADCD5, "chg_isense"), 364 CPCAP_CHAN(IIO_CURRENT, 6, CPCAP_REG_ADCD6, "batti"), 368 CPCAP_CHAN(IIO_CURRENT, 8, CPCAP_REG_ADCD0, "ad8"), 379 CPCAP_CHAN(IIO_CURRENT, 17, CPCAP_REG_ADCD1, "batti2"),
|
D | mt6360-adc.c | 250 MT6360_ADC_CHAN(IBUS, IIO_CURRENT), 251 MT6360_ADC_CHAN(IBAT, IIO_CURRENT),
|
D | qcom-spmi-iadc.c | 467 .type = IIO_CURRENT, 475 .type = IIO_CURRENT,
|
D | lp8788_adc.c | 139 [LPADC_IBATT] = LP8788_CHAN(IBATT, IIO_CURRENT),
|
D | intel_mrfld_adc.c | 158 BCOVE_ADC_CHANNEL(IIO_CURRENT, 2, "CH2", 0xED),
|
/linux-6.6.21/drivers/iio/dac/ |
D | ad5421.c | 109 .type = IIO_CURRENT, 243 IIO_UNMOD_EVENT_CODE(IIO_CURRENT, in ad5421_fault_handler() 252 IIO_UNMOD_EVENT_CODE(IIO_CURRENT, in ad5421_fault_handler() 321 if (chan->type != IIO_CURRENT) in ad5421_read_raw() 393 case IIO_CURRENT: in ad5421_write_event_config() 424 case IIO_CURRENT: in ad5421_read_event_config() 448 case IIO_CURRENT: in ad5421_read_event_value()
|
D | ad7293.c | 496 case IIO_CURRENT: in ad7293_read_raw() 530 case IIO_CURRENT: in ad7293_read_raw() 561 case IIO_CURRENT: in ad7293_read_raw() 609 case IIO_CURRENT: in ad7293_write_raw() 626 case IIO_CURRENT: in ad7293_write_raw() 675 case IIO_CURRENT: in ad7293_read_avail() 709 .type = IIO_CURRENT, \
|
/linux-6.6.21/drivers/iio/humidity/ |
D | hdc2010.c | 100 .type = IIO_CURRENT, 168 if (chan->type == IIO_CURRENT) { in hdc2010_read_raw() 225 if (chan->type != IIO_CURRENT || val2 != 0) in hdc2010_write_raw()
|
D | hdc100x.c | 123 .type = IIO_CURRENT, 210 if (chan->type == IIO_CURRENT) { in hdc100x_read_raw() 271 if (chan->type != IIO_CURRENT || val2 != 0) in hdc100x_write_raw()
|
/linux-6.6.21/drivers/iio/light/ |
D | max44000.c | 160 .type = IIO_CURRENT, 291 case IIO_CURRENT: in max44000_read_raw() 306 case IIO_CURRENT: in max44000_read_raw() 352 if (mask == IIO_CHAN_INFO_RAW && chan->type == IIO_CURRENT) { in max44000_write_raw()
|
D | adux1020.c | 393 case IIO_CURRENT: in adux1020_read_raw() 478 if (chan->type == IIO_CURRENT) { in adux1020_write_raw() 671 .type = IIO_CURRENT,
|
/linux-6.6.21/drivers/iio/proximity/ |
D | isl29501.c | 515 .type = IIO_CURRENT, 639 case IIO_CURRENT: in isl29501_get_raw() 682 case IIO_CURRENT: in isl29501_get_scale() 801 case IIO_CURRENT: in isl29501_set_raw() 831 if (chan->type != IIO_CURRENT) in isl29501_set_scale()
|
/linux-6.6.21/drivers/iio/chemical/ |
D | ccs811.c | 90 .type = IIO_CURRENT, 243 case IIO_CURRENT: in ccs811_read_raw() 275 case IIO_CURRENT: in ccs811_read_raw()
|
/linux-6.6.21/include/uapi/linux/iio/ |
D | types.h | 16 IIO_CURRENT, enumerator
|
/linux-6.6.21/tools/iio/ |
D | iio_event_monitor.c | 31 [IIO_CURRENT] = "current", 145 case IIO_CURRENT: in event_is_known()
|
/linux-6.6.21/drivers/iio/health/ |
D | afe440x.h | 102 .type = IIO_CURRENT, \
|
D | afe4403.c | 262 case IIO_CURRENT: in afe4403_read_raw() 291 case IIO_CURRENT: in afe4403_write_raw()
|
/linux-6.6.21/drivers/iio/addac/ |
D | ad74413r.c | 978 case IIO_CURRENT: in ad74413r_read_raw() 993 case IIO_CURRENT: in ad74413r_read_raw() 1120 AD74413R_ADC_CHANNEL(IIO_CURRENT, BIT(IIO_CHAN_INFO_SCALE) \ 1129 AD74413R_DAC_CHANNEL(IIO_CURRENT, BIT(IIO_CHAN_INFO_SCALE)), 1142 AD74413R_DAC_CHANNEL(IIO_CURRENT, BIT(IIO_CHAN_INFO_SCALE)),
|
D | ad74115.c | 1100 if (chan->type == IIO_CURRENT) in ad74115_get_adc_scale() 1306 AD74115_ADC_CHANNEL(IIO_CURRENT, AD74115_ADC_CH_CONV1), 1311 AD74115_ADC_CHANNEL(IIO_CURRENT, AD74115_ADC_CH_CONV1), 1316 AD74115_DAC_CHANNEL(IIO_CURRENT, AD74115_DAC_CH_MAIN), 1339 AD74115_DAC_CHANNEL(IIO_CURRENT, AD74115_DAC_CH_MAIN),
|
/linux-6.6.21/drivers/hwmon/ |
D | iio_hwmon.c | 125 case IIO_CURRENT: in iio_hwmon_probe()
|
/linux-6.6.21/drivers/iio/afe/ |
D | iio-rescale.c | 485 .type = IIO_CURRENT, 489 .type = IIO_CURRENT,
|