Searched refs:batt_v (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/power/supply/ |
| H A D | axp20x_battery.c | 118 struct iio_channel *batt_v; member 414 ret = iio_read_channel_processed_scale(axp20x_batt->batt_v, in axp20x_battery_get_prop() 572 ret = iio_read_channel_processed_scale(axp20x_batt->batt_v, in axp717_battery_get_prop() 911 axp_batt->batt_v = devm_iio_channel_get(&pdev->dev, "batt_v"); in axp209_bat_cfg_iio_channels() 912 if (IS_ERR(axp_batt->batt_v)) { in axp209_bat_cfg_iio_channels() 913 if (PTR_ERR(axp_batt->batt_v) == -ENODEV) in axp209_bat_cfg_iio_channels() 915 return PTR_ERR(axp_batt->batt_v); in axp209_bat_cfg_iio_channels() 940 axp_batt->batt_v = devm_iio_channel_get(&pdev->dev, "batt_v"); in axp717_bat_cfg_iio_channels() 941 if (IS_ERR(axp_batt->batt_v)) { in axp717_bat_cfg_iio_channels() 942 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 | 223 MTK_PMIC_IIO_CHAN(MT6357, batt_v, VBAT, 0, 15, IIO_VOLTAGE), 270 MTK_PMIC_IIO_CHAN(MT6358, batt_v, VBAT, 0, 15, IIO_VOLTAGE), 317 MTK_PMIC_IIO_CHAN(MT6359, batt_v, VBAT, 0, 15, IIO_VOLTAGE),
|