Lines Matching full:power_supply
27 struct regulator *power_supply; member
46 if (pb->power_supply) { in pwm_backlight_power_on()
47 err = regulator_enable(pb->power_supply); in pwm_backlight_power_on()
70 if (pb->power_supply) in pwm_backlight_power_off()
71 regulator_disable(pb->power_supply); in pwm_backlight_power_off()
120 state.enabled = !pb->power_supply && !pb->enable_gpio; in pwm_backlight_update_status()
409 if (pb->power_supply && !regulator_is_enabled(pb->power_supply)) in pwm_backlight_initial_power_state()
488 pb->power_supply = devm_regulator_get_optional(&pdev->dev, "power"); in pwm_backlight_probe()
489 if (IS_ERR(pb->power_supply)) { in pwm_backlight_probe()
490 ret = PTR_ERR(pb->power_supply); in pwm_backlight_probe()
492 pb->power_supply = NULL; in pwm_backlight_probe()