Lines Matching full:backlight
10 #include <linux/backlight.h>
72 struct backlight_device *backlight; member
82 static int bd6107_backlight_update_status(struct backlight_device *backlight) in bd6107_backlight_update_status() argument
84 struct bd6107 *bd = bl_get_data(backlight); in bd6107_backlight_update_status()
85 int brightness = backlight_get_brightness(backlight); in bd6107_backlight_update_status()
102 static int bd6107_backlight_check_fb(struct backlight_device *backlight, in bd6107_backlight_check_fb() argument
105 struct bd6107 *bd = bl_get_data(backlight); in bd6107_backlight_check_fb()
120 struct backlight_device *backlight; in bd6107_probe() local
163 backlight = devm_backlight_device_register(&client->dev, in bd6107_probe()
167 if (IS_ERR(backlight)) { in bd6107_probe()
168 dev_err(&client->dev, "failed to register backlight\n"); in bd6107_probe()
169 return PTR_ERR(backlight); in bd6107_probe()
172 backlight_update_status(backlight); in bd6107_probe()
173 i2c_set_clientdata(client, backlight); in bd6107_probe()
180 struct backlight_device *backlight = i2c_get_clientdata(client); in bd6107_remove() local
182 backlight->props.brightness = 0; in bd6107_remove()
183 backlight_update_status(backlight); in bd6107_remove()
203 MODULE_DESCRIPTION("Rohm BD6107 Backlight Driver");