Lines Matching full:batt_v
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()
941 return PTR_ERR(axp_batt->batt_v); in axp717_bat_cfg_iio_channels()