Home
last modified time | relevance | path

Searched full:batt_chrg_i (Results 1 – 3 of 3) 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.c116 struct iio_channel *batt_chrg_i; member
362 ret = iio_read_channel_processed_scale(axp20x_batt->batt_chrg_i, in axp20x_battery_get_prop()
528 ret = iio_read_channel_processed_scale(axp20x_batt->batt_chrg_i, in axp717_battery_get_prop()
918 axp_batt->batt_chrg_i = devm_iio_channel_get(&pdev->dev, in axp209_bat_cfg_iio_channels()
919 "batt_chrg_i"); in axp209_bat_cfg_iio_channels()
920 if (IS_ERR(axp_batt->batt_chrg_i)) { in axp209_bat_cfg_iio_channels()
921 if (PTR_ERR(axp_batt->batt_chrg_i) == -ENODEV) in axp209_bat_cfg_iio_channels()
923 return PTR_ERR(axp_batt->batt_chrg_i); in axp209_bat_cfg_iio_channels()
947 axp_batt->batt_chrg_i = devm_iio_channel_get(&pdev->dev, in axp717_bat_cfg_iio_channels()
948 "batt_chrg_i"); in axp717_bat_cfg_iio_channels()
[all …]
/linux/drivers/iio/adc/
H A Daxp20x_adc.c164 IIO_MAP("batt_chrg_i", "axp20x-battery-power-supply", "batt_chrg_i"),
171 IIO_MAP("batt_chrg_i", "axp20x-battery-power-supply", "batt_chrg_i"),
187 .consumer_channel = "batt_chrg_i",
188 .adc_channel_label = "batt_chrg_i",
228 AXP20X_ADC_CHANNEL(AXP192_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT,
261 AXP20X_ADC_CHANNEL(AXP20X_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT,
280 AXP20X_ADC_CHANNEL(AXP22X_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT,
289 * Scale and offset is unknown for temp, ts, batt_chrg_i, vmid_v, and
303 AXP20X_ADC_CHANNEL(AXP717_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT,
324 AXP20X_ADC_CHANNEL(AXP22X_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT,