Lines Matching refs:lcd_supply
168 struct regulator *lcd_supply; member
1076 if (par->lcd_supply) { in fb_remove()
1077 ret = regulator_disable(par->lcd_supply); in fb_remove()
1181 if (par->lcd_supply) { in cfb_blank()
1182 ret = regulator_enable(par->lcd_supply); in cfb_blank()
1191 if (par->lcd_supply) { in cfb_blank()
1192 ret = regulator_disable(par->lcd_supply); in cfb_blank()
1401 par->lcd_supply = devm_regulator_get_optional(&device->dev, "lcd"); in fb_probe()
1402 if (IS_ERR(par->lcd_supply)) { in fb_probe()
1403 if (PTR_ERR(par->lcd_supply) == -EPROBE_DEFER) { in fb_probe()
1408 par->lcd_supply = NULL; in fb_probe()
1410 ret = regulator_enable(par->lcd_supply); in fb_probe()
1613 if (par->lcd_supply) { in fb_suspend()
1614 ret = regulator_disable(par->lcd_supply); in fb_suspend()
1639 if (par->lcd_supply) { in fb_resume()
1640 ret = regulator_enable(par->lcd_supply); in fb_resume()