Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/devicetree/bindings/iio/adc/
H A Dx-powers,axp209-adc.yaml27 8 | batt_v
35 1 | batt_v
44 2 | batt_v
/openbmc/linux/drivers/power/supply/
H A Daxp20x_battery.c74 struct iio_channel *batt_v; member
319 ret = iio_read_channel_processed(axp20x_batt->batt_v, in axp20x_battery_get_prop()
575 axp20x_batt->batt_v = devm_iio_channel_get(&pdev->dev, "batt_v"); in axp20x_power_probe()
576 if (IS_ERR(axp20x_batt->batt_v)) { in axp20x_power_probe()
577 if (PTR_ERR(axp20x_batt->batt_v) == -ENODEV) in axp20x_power_probe()
579 return PTR_ERR(axp20x_batt->batt_v); in axp20x_power_probe()