Home
last modified time | relevance | path

Searched full:batt_dischrg_i (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/devicetree/bindings/iio/adc/
H A Dx-powers,axp209-adc.yaml29 10 | batt_dischrg_i
37 3 | batt_dischrg_i
57 4 | batt_dischrg_i
/linux/drivers/power/supply/
H A Daxp20x_battery.c115 struct iio_channel *batt_dischrg_i; member
302 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, in axp20x_battery_get_prop()
360 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, &val1); in axp20x_battery_get_prop()
923 axp_batt->batt_dischrg_i = devm_iio_channel_get(&pdev->dev, in axp209_bat_cfg_iio_channels()
924 "batt_dischrg_i"); in axp209_bat_cfg_iio_channels()
925 if (IS_ERR(axp_batt->batt_dischrg_i)) { in axp209_bat_cfg_iio_channels()
926 if (PTR_ERR(axp_batt->batt_dischrg_i) == -ENODEV) in axp209_bat_cfg_iio_channels()
928 return PTR_ERR(axp_batt->batt_dischrg_i); in axp209_bat_cfg_iio_channels()
/linux/drivers/iio/adc/
H A Daxp20x_adc.c185 .consumer_channel = "batt_dischrg_i",
186 .adc_channel_label = "batt_dischrg_i",
201 .consumer_channel = "batt_dischrg_i",
202 .adc_channel_label = "batt_dischrg_i",
259 AXP20X_ADC_CHANNEL(AXP192_BATT_DISCHRG_I, "batt_dischrg_i", IIO_CURRENT,
292 AXP20X_ADC_CHANNEL(AXP20X_BATT_DISCHRG_I, "batt_dischrg_i", IIO_CURRENT,
311 AXP20X_ADC_CHANNEL(AXP22X_BATT_DISCHRG_I, "batt_dischrg_i", IIO_CURRENT,
355 AXP20X_ADC_CHANNEL(AXP22X_BATT_DISCHRG_I, "batt_dischrg_i", IIO_CURRENT,
H A Daxp288_adc.c93 .datasheet_name = "BATT_DISCHRG_I",
111 IIO_MAP("BATT_DISCHRG_I", "axp288-chrg", "axp288-chrg-d-curr"),