Home
last modified time | relevance | path

Searched refs:batt_dischrg_i (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/iio/adc/
H A Dx-powers,axp209-adc.yaml29 10 | batt_dischrg_i
37 3 | batt_dischrg_i
46 4 | batt_dischrg_i
/openbmc/linux/drivers/power/supply/
H A Daxp20x_battery.c73 struct iio_channel *batt_dischrg_i; member
212 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, in axp20x_battery_get_prop()
270 ret = iio_read_channel_processed(axp20x_batt->batt_dischrg_i, &val1); in axp20x_battery_get_prop()
590 axp20x_batt->batt_dischrg_i = devm_iio_channel_get(&pdev->dev, in axp20x_power_probe()
592 if (IS_ERR(axp20x_batt->batt_dischrg_i)) { in axp20x_power_probe()
593 if (PTR_ERR(axp20x_batt->batt_dischrg_i) == -ENODEV) in axp20x_power_probe()
595 return PTR_ERR(axp20x_batt->batt_dischrg_i); in axp20x_power_probe()