Lines Matching +full:low +full:- +full:power +full:- +full:enable
1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2003,2004 Hewlett-Packard Company
23 * lcd_device->ops_lock is an internal backlight lock protecting the ops
39 /* The maximum value for contrast (read-only) */
44 /* Get the LCD panel power status (0: full on, 1..3: controller
45 power on, flat panel power off, 4: full off), see FB_BLANK_XXX */
47 /* Enable or disable power to the LCD (0: on; 4: off, see FB_BLANK_XXX) */
48 int (*set_power)(struct lcd_device *, int power);
49 /* Get the current contrast setting (0-max_contrast) */
91 /* on or off to lcd panel. if 'enable' is 0 then
92 lcd power off and 1, lcd power on. */
93 int (*power_on)(struct lcd_device *ld, int enable);
98 /* it means delay for stable time when it becomes low to high
99 or high to low that is dependent on whether reset gpio is
100 low active or high active. */
102 /* stable time needing to become lcd power on. */
104 /* stable time needing to become lcd power off. */
111 static inline void lcd_set_power(struct lcd_device *ld, int power) in lcd_set_power() argument
113 mutex_lock(&ld->update_lock); in lcd_set_power()
114 if (ld->ops && ld->ops->set_power) in lcd_set_power()
115 ld->ops->set_power(ld, power); in lcd_set_power()
116 mutex_unlock(&ld->update_lock); in lcd_set_power()
132 return dev_get_drvdata(&ld_dev->dev); in lcd_get_data()