Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/iio/adc/
Daxp20x_adc.c163 AXP20X_ADC_CHANNEL(AXP20X_ACIN_I, "acin_i", IIO_CURRENT,
167 AXP20X_ADC_CHANNEL(AXP20X_VBUS_I, "vbus_i", IIO_CURRENT,
185 AXP20X_ADC_CHANNEL(AXP20X_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT,
187 AXP20X_ADC_CHANNEL(AXP20X_BATT_DISCHRG_I, "batt_dischrg_i", IIO_CURRENT,
202 AXP20X_ADC_CHANNEL(AXP22X_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT,
204 AXP20X_ADC_CHANNEL(AXP22X_BATT_DISCHRG_I, "batt_dischrg_i", IIO_CURRENT,
221 AXP20X_ADC_CHANNEL(AXP22X_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT,
223 AXP20X_ADC_CHANNEL(AXP22X_BATT_DISCHRG_I, "batt_dischrg_i", IIO_CURRENT,
238 if (chan->type == IIO_CURRENT && chan->channel == AXP20X_BATT_DISCHRG_I) in axp20x_adc_raw()
261 if (chan->type == IIO_CURRENT && chan->channel == AXP22X_BATT_DISCHRG_I) in axp22x_adc_raw()
[all …]
Daxp288_adc.c80 .type = IIO_CURRENT,
87 .type = IIO_CURRENT,
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"),
Dqcom-spmi-iadc.c468 .type = IIO_CURRENT,
476 .type = IIO_CURRENT,
Dlp8788_adc.c139 [LPADC_IBATT] = LP8788_CHAN(IBATT, IIO_CURRENT),
Dda9150-gpadc.c282 DA9150_GPADC_CHANNEL_PROCESSED(IBUS, IBUS_SENSE, IIO_CURRENT, "ibus"),
Dina2xx-adc.c693 INA226_CHAN(IIO_CURRENT, 3, INA2XX_CURRENT),
701 INA219_CHAN(IIO_CURRENT, 3, INA2XX_CURRENT),
Dmax9611.c191 .type = IIO_CURRENT,
Dtwl4030-madc.c224 TWL4030_ADC_CHANNEL(10, IIO_CURRENT, "ADCIN10"),
/Linux-v5.4/drivers/iio/dac/
Dad5421.c107 .type = IIO_CURRENT,
240 IIO_UNMOD_EVENT_CODE(IIO_CURRENT, in ad5421_fault_handler()
249 IIO_UNMOD_EVENT_CODE(IIO_CURRENT, in ad5421_fault_handler()
318 if (chan->type != IIO_CURRENT) in ad5421_read_raw()
390 case IIO_CURRENT: in ad5421_write_event_config()
421 case IIO_CURRENT: in ad5421_read_event_config()
445 case IIO_CURRENT: in ad5421_read_event_value()
Dds4424.c27 .type = IIO_CURRENT, \
Dad5758.c651 AD5758_DAC_CHAN(IIO_CURRENT)
/Linux-v5.4/drivers/iio/light/
Dmax44000.c155 .type = IIO_CURRENT,
286 case IIO_CURRENT: in max44000_read_raw()
301 case IIO_CURRENT: in max44000_read_raw()
347 if (mask == IIO_CHAN_INFO_RAW && chan->type == IIO_CURRENT) { in max44000_write_raw()
Dsi1145.c648 case IIO_CURRENT: in si1145_read_raw()
767 if (chan->type != IIO_CURRENT) in si1145_write_raw()
872 .type = IIO_CURRENT, \
Dlm3533-als.c203 case IIO_CURRENT: in lm3533_als_read_raw()
226 .type = IIO_CURRENT, \
/Linux-v5.4/drivers/iio/humidity/
Dhdc100x.c115 .type = IIO_CURRENT,
202 if (chan->type == IIO_CURRENT) { in hdc100x_read_raw()
263 if (chan->type != IIO_CURRENT || val2 != 0) in hdc100x_write_raw()
/Linux-v5.4/drivers/iio/chemical/
Dccs811.c82 .type = IIO_CURRENT,
217 case IIO_CURRENT: in ccs811_read_raw()
249 case IIO_CURRENT: in ccs811_read_raw()
/Linux-v5.4/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-v5.4/tools/iio/
Diio_event_monitor.c30 [IIO_CURRENT] = "current",
133 case IIO_CURRENT: in event_is_known()
/Linux-v5.4/include/uapi/linux/iio/
Dtypes.h16 IIO_CURRENT, enumerator
/Linux-v5.4/drivers/iio/afe/
Diio-rescale.c243 .type = IIO_CURRENT,
247 .type = IIO_CURRENT,
/Linux-v5.4/drivers/iio/health/
Dafe440x.h102 .type = IIO_CURRENT, \
Dafe4403.c259 case IIO_CURRENT: in afe4403_read_raw()
287 case IIO_CURRENT: in afe4403_write_raw()
Dafe4404.c271 case IIO_CURRENT: in afe4404_read_raw()
306 case IIO_CURRENT: in afe4404_write_raw()
/Linux-v5.4/drivers/hwmon/
Diio_hwmon.c121 case IIO_CURRENT: in iio_hwmon_probe()

12