Home
last modified time | relevance | path

Searched full:batt_chrg_i (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/iio/adc/
H A Dx-powers,axp209-adc.yaml28 9 | batt_chrg_i
36 2 | batt_chrg_i
47 5 | batt_chrg_i
56 3 | batt_chrg_i
/linux/drivers/power/supply/
H A Daxp20x_battery.c114 struct iio_channel *batt_chrg_i; member
359 ret = iio_read_channel_processed_scale(axp20x_batt->batt_chrg_i, in axp20x_battery_get_prop()
526 ret = iio_read_channel_processed_scale(axp20x_batt->batt_chrg_i, in axp717_battery_get_prop()
916 axp_batt->batt_chrg_i = devm_iio_channel_get(&pdev->dev, in axp209_bat_cfg_iio_channels()
917 "batt_chrg_i"); in axp209_bat_cfg_iio_channels()
918 if (IS_ERR(axp_batt->batt_chrg_i)) { in axp209_bat_cfg_iio_channels()
919 if (PTR_ERR(axp_batt->batt_chrg_i) == -ENODEV) in axp209_bat_cfg_iio_channels()
921 return PTR_ERR(axp_batt->batt_chrg_i); in axp209_bat_cfg_iio_channels()
945 axp_batt->batt_chrg_i = devm_iio_channel_get(&pdev->dev, in axp717_bat_cfg_iio_channels()
946 "batt_chrg_i"); in axp717_bat_cfg_iio_channels()
[all …]