Searched full:batt_v (Results 1 – 5 of 5) sorted by relevance
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | x-powers,axp209-adc.yaml | 27 8 | batt_v 35 1 | batt_v 42 0 | batt_v 55 2 | batt_v
|
/linux/drivers/power/supply/ |
H A D | axp20x_battery.c | 116 struct iio_channel *batt_v; member 409 ret = iio_read_channel_processed(axp20x_batt->batt_v, in axp20x_battery_get_prop() 567 ret = iio_read_channel_processed(axp20x_batt->batt_v, in axp717_battery_get_prop() 908 axp_batt->batt_v = devm_iio_channel_get(&pdev->dev, "batt_v"); in axp209_bat_cfg_iio_channels() 909 if (IS_ERR(axp_batt->batt_v)) { in axp209_bat_cfg_iio_channels() 910 if (PTR_ERR(axp_batt->batt_v) == -ENODEV) in axp209_bat_cfg_iio_channels() 912 return PTR_ERR(axp_batt->batt_v); in axp209_bat_cfg_iio_channels() 937 axp_batt->batt_v = devm_iio_channel_get(&pdev->dev, "batt_v"); in axp717_bat_cfg_iio_channels() 938 if (IS_ERR(axp_batt->batt_v)) { in axp717_bat_cfg_iio_channels() 939 if (PTR_ERR(axp_batt->batt_v) == -ENODEV) in axp717_bat_cfg_iio_channels() [all …]
|
/linux/drivers/iio/adc/ |
H A D | axp20x_adc.c | 177 .consumer_channel = "batt_v", 178 .adc_channel_label = "batt_v", 193 .consumer_channel = "batt_v", 194 .adc_channel_label = "batt_v", 213 .consumer_channel = "batt_v", 214 .adc_channel_label = "batt_v", 225 * The only exception is for the battery. batt_v will be in_voltage6_raw and 255 AXP20X_ADC_CHANNEL(AXP192_BATT_V, "batt_v", IIO_VOLTAGE, 288 AXP20X_ADC_CHANNEL(AXP20X_BATT_V, "batt_v", IIO_VOLTAGE, 307 AXP20X_ADC_CHANNEL(AXP22X_BATT_V, "batt_v", IIO_VOLTAGE, [all …]
|
H A D | axp288_adc.c | 100 .datasheet_name = "BATT_V", 112 IIO_MAP("BATT_V", "axp288-batt", "axp288-batt-volt"),
|
H A D | mt6359-auxadc.c | 176 MTK_PMIC_IIO_CHAN(MT6357, batt_v, VBAT, 0, 15, IIO_VOLTAGE), 223 MTK_PMIC_IIO_CHAN(MT6358, batt_v, VBAT, 0, 15, IIO_VOLTAGE), 270 MTK_PMIC_IIO_CHAN(MT6359, batt_v, VBAT, 0, 15, IIO_VOLTAGE),
|