Lines Matching full:vbat
934 "DG", "PVDD", "VBAT",
1197 SOC_SINGLE("VBAT Auto Restart Switch", MAX98396_R210E_AUTO_RESTART,
1217 SOC_SINGLE_EXT("ADC VBAT", MAX98396_R20B8_ADC_VBAT_READBACK_MSB, 0, 0x1FF, 0,
1270 SOC_SINGLE("VBAT Auto Restart Switch", MAX98396_R210E_AUTO_RESTART,
1290 SOC_SINGLE_EXT("ADC VBAT", MAX98396_R20B8_ADC_VBAT_READBACK_MSB, 0, 0x1FF, 0,
1400 (max98396->vbat == NULL) ? in max98396_probe()
1586 if (max98396->vbat) in max98396_suspend()
1587 regulator_disable(max98396->vbat); in max98396_suspend()
1608 if (max98396->vbat) { in max98396_resume()
1609 ret = regulator_enable(max98396->vbat); in max98396_resume()
1774 max98396->vbat = devm_regulator_get_optional(&i2c->dev, "vbat"); in max98396_i2c_probe()
1775 if (IS_ERR(max98396->vbat)) { in max98396_i2c_probe()
1776 if (PTR_ERR(max98396->vbat) == -EPROBE_DEFER) in max98396_i2c_probe()
1779 max98396->vbat = NULL; in max98396_i2c_probe()
1814 if (max98396->vbat) { in max98396_i2c_probe()
1815 ret = regulator_enable(max98396->vbat); in max98396_i2c_probe()
1821 max98396->vbat); in max98396_i2c_probe()