Home
last modified time | relevance | path

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

/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/
Dx-powers,axp209-adc.yaml29 10 | batt_dischrg_i
37 3 | batt_dischrg_i
46 4 | batt_dischrg_i
/Linux-v6.1/drivers/power/supply/
Daxp20x_battery.c74 struct iio_channel *batt_dischrg_i; member
213 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, in axp20x_battery_get_prop()
271 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, &val1); in axp20x_battery_get_prop()
591 axp20x_batt->batt_dischrg_i = devm_iio_channel_get(&pdev->dev, in axp20x_power_probe()
592 "batt_dischrg_i"); in axp20x_power_probe()
593 if (IS_ERR(axp20x_batt->batt_dischrg_i)) { in axp20x_power_probe()
594 if (PTR_ERR(axp20x_batt->batt_dischrg_i) == -ENODEV) in axp20x_power_probe()
596 return PTR_ERR(axp20x_batt->batt_dischrg_i); in axp20x_power_probe()
/Linux-v6.1/drivers/iio/adc/
Daxp20x_adc.c133 .consumer_channel = "batt_dischrg_i",
134 .adc_channel_label = "batt_dischrg_i",
149 .consumer_channel = "batt_dischrg_i",
150 .adc_channel_label = "batt_dischrg_i",
187 AXP20X_ADC_CHANNEL(AXP20X_BATT_DISCHRG_I, "batt_dischrg_i", IIO_CURRENT,
206 AXP20X_ADC_CHANNEL(AXP22X_BATT_DISCHRG_I, "batt_dischrg_i", IIO_CURRENT,
227 AXP20X_ADC_CHANNEL(AXP22X_BATT_DISCHRG_I, "batt_dischrg_i", IIO_CURRENT,
Daxp288_adc.c90 .datasheet_name = "BATT_DISCHRG_I",
108 IIO_MAP("BATT_DISCHRG_I", "axp288-chrg", "axp288-chrg-d-curr"),