Lines Matching full:backlight
10 #include <linux/backlight.h>
37 struct backlight_device *backlight; member
46 static int lv5207lp_backlight_update_status(struct backlight_device *backlight) in lv5207lp_backlight_update_status() argument
48 struct lv5207lp *lv = bl_get_data(backlight); in lv5207lp_backlight_update_status()
49 int brightness = backlight_get_brightness(backlight); in lv5207lp_backlight_update_status()
65 static int lv5207lp_backlight_check_fb(struct backlight_device *backlight, in lv5207lp_backlight_check_fb() argument
68 struct lv5207lp *lv = bl_get_data(backlight); in lv5207lp_backlight_check_fb()
83 struct backlight_device *backlight; in lv5207lp_probe() local
113 backlight = devm_backlight_device_register(&client->dev, in lv5207lp_probe()
116 if (IS_ERR(backlight)) { in lv5207lp_probe()
117 dev_err(&client->dev, "failed to register backlight\n"); in lv5207lp_probe()
118 return PTR_ERR(backlight); in lv5207lp_probe()
121 backlight_update_status(backlight); in lv5207lp_probe()
122 i2c_set_clientdata(client, backlight); in lv5207lp_probe()
129 struct backlight_device *backlight = i2c_get_clientdata(client); in lv5207lp_remove() local
131 backlight->props.brightness = 0; in lv5207lp_remove()
132 backlight_update_status(backlight); in lv5207lp_remove()
152 MODULE_DESCRIPTION("Sanyo LV5207LP Backlight Driver");