Lines Matching +full:power +full:- +full:stable +full:- +full:time
1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2003,2004 Hewlett-Packard Company
19 * lcd_device->ops_lock is an internal backlight lock protecting the ops
36 /* The maximum value for contrast (read-only) */
41 /* Get the LCD panel power status (0: full on, 1..3: controller
42 power on, flat panel power off, 4: full off), see FB_BLANK_XXX */
44 /* Enable or disable power to the LCD (0: on; 4: off, see FB_BLANK_XXX) */
45 int (*set_power)(struct lcd_device *, int power);
46 /* Get the current contrast setting (0-max_contrast) */
77 lcd power off and 1, lcd power on. */
83 /* it means delay for stable time when it becomes low to high
87 /* stable time needing to become lcd power on. */
89 /* stable time needing to become lcd power off. */
96 static inline void lcd_set_power(struct lcd_device *ld, int power) in lcd_set_power() argument
98 mutex_lock(&ld->update_lock); in lcd_set_power()
99 if (ld->ops && ld->ops->set_power) in lcd_set_power()
100 ld->ops->set_power(ld, power); in lcd_set_power()
101 mutex_unlock(&ld->update_lock); in lcd_set_power()
117 return dev_get_drvdata(&ld_dev->dev); in lcd_get_data()