Lines Matching refs:vbat_reg
82 struct regulator *vbat_reg; member
666 par->vbat_reg = devm_regulator_get_optional(dev, "vbat"); in ssd1307fb_probe()
667 if (IS_ERR(par->vbat_reg)) { in ssd1307fb_probe()
668 ret = PTR_ERR(par->vbat_reg); in ssd1307fb_probe()
670 par->vbat_reg = NULL; in ssd1307fb_probe()
768 if (par->vbat_reg) { in ssd1307fb_probe()
769 ret = regulator_enable(par->vbat_reg); in ssd1307fb_probe()
811 if (par->vbat_reg) in ssd1307fb_probe()
812 regulator_disable(par->vbat_reg); in ssd1307fb_probe()
834 if (par->vbat_reg) in ssd1307fb_remove()
835 regulator_disable(par->vbat_reg); in ssd1307fb_remove()