Home
last modified time | relevance | path

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

/linux-6.14.4/Documentation/devicetree/bindings/iio/adc/
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-6.14.4/drivers/power/supply/
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()
525 ret = iio_read_channel_processed_scale(axp20x_batt->batt_chrg_i, in axp717_battery_get_prop()
915 axp_batt->batt_chrg_i = devm_iio_channel_get(&pdev->dev, in axp209_bat_cfg_iio_channels()
916 "batt_chrg_i"); 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()
945 "batt_chrg_i"); in axp717_bat_cfg_iio_channels()
[all …]
/linux-6.14.4/drivers/iio/adc/
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",
227 AXP20X_ADC_CHANNEL(AXP192_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT,
260 AXP20X_ADC_CHANNEL(AXP20X_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT,
279 AXP20X_ADC_CHANNEL(AXP22X_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT,
288 * Scale and offset is unknown for temp, ts, batt_chrg_i, vmid_v, and
302 AXP20X_ADC_CHANNEL(AXP717_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT,
323 AXP20X_ADC_CHANNEL(AXP22X_BATT_CHRG_I, "batt_chrg_i", IIO_CURRENT,