Searched refs:batt_v (Results 1 – 2 of 2) sorted by relevance
/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 | 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),
|