Home
last modified time | relevance | path

Searched refs:IIO_CURRENT (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.6.21/drivers/iio/adc/
Daxp20x_adc.c164 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 …]
Dmp2629_adc.c51 MP2629_ADC_CHAN(BATT_CURRENT, IIO_CURRENT),
52 MP2629_ADC_CHAN(INPUT_CURRENT, IIO_CURRENT)
Daxp288_adc.c83 .type = IIO_CURRENT,
90 .type = IIO_CURRENT,
Dmt6370-adc.c279 MT6370_ADC_CHAN(IBUS, IIO_CURRENT, 8, 0),
280 MT6370_ADC_CHAN(IBAT, IIO_CURRENT, 9, 0),
Dcpcap-adc.c363 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"),
Dmt6360-adc.c250 MT6360_ADC_CHAN(IBUS, IIO_CURRENT),
251 MT6360_ADC_CHAN(IBAT, IIO_CURRENT),
Dqcom-spmi-iadc.c467 .type = IIO_CURRENT,
475 .type = IIO_CURRENT,
Dlp8788_adc.c139 [LPADC_IBATT] = LP8788_CHAN(IBATT, IIO_CURRENT),
Dintel_mrfld_adc.c158 BCOVE_ADC_CHANNEL(IIO_CURRENT, 2, "CH2", 0xED),
/linux-6.6.21/drivers/iio/dac/
Dad5421.c109 .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()
Dad7293.c496 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/
Dhdc2010.c100 .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()
Dhdc100x.c123 .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/
Dmax44000.c160 .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()
Dadux1020.c393 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/
Disl29501.c515 .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/
Dccs811.c90 .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/
Dtypes.h16 IIO_CURRENT, enumerator
/linux-6.6.21/tools/iio/
Diio_event_monitor.c31 [IIO_CURRENT] = "current",
145 case IIO_CURRENT: in event_is_known()
/linux-6.6.21/drivers/iio/health/
Dafe440x.h102 .type = IIO_CURRENT, \
Dafe4403.c262 case IIO_CURRENT: in afe4403_read_raw()
291 case IIO_CURRENT: in afe4403_write_raw()
/linux-6.6.21/drivers/iio/addac/
Dad74413r.c978 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)),
Dad74115.c1100 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/
Diio_hwmon.c125 case IIO_CURRENT: in iio_hwmon_probe()
/linux-6.6.21/drivers/iio/afe/
Diio-rescale.c485 .type = IIO_CURRENT,
489 .type = IIO_CURRENT,

12