Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Daxp20x_battery.c114 struct iio_channel *batt_chrg_i; member
358 ret = iio_read_channel_processed(axp20x_batt->batt_chrg_i, &val->intval); in axp20x_battery_get_prop()
524 ret = iio_read_channel_processed(axp20x_batt->batt_chrg_i, &val->intval); in axp717_battery_get_prop()
915 axp_batt->batt_chrg_i = devm_iio_channel_get(&pdev->dev, in axp209_bat_cfg_iio_channels()
917 if (IS_ERR(axp_batt->batt_chrg_i)) { in axp209_bat_cfg_iio_channels()
918 if (PTR_ERR(axp_batt->batt_chrg_i) == -ENODEV) in axp209_bat_cfg_iio_channels()
920 return PTR_ERR(axp_batt->batt_chrg_i); in axp209_bat_cfg_iio_channels()
944 axp_batt->batt_chrg_i = devm_iio_channel_get(&pdev->dev, in axp717_bat_cfg_iio_channels()
946 if (IS_ERR(axp_batt->batt_chrg_i)) { in axp717_bat_cfg_iio_channels()
947 if (PTR_ERR(axp_batt->batt_chrg_i) == -ENODEV) in axp717_bat_cfg_iio_channels()
[all …]