Home
last modified time | relevance | path

Searched refs:backlight_device (Results 1 – 25 of 135) sorted by relevance

123456

/linux-6.1.9/include/linux/
Dbacklight.h112 struct backlight_device;
146 int (*update_status)(struct backlight_device *);
160 int (*get_brightness)(struct backlight_device *);
174 int (*check_fb)(struct backlight_device *bd, struct fb_info *info);
280 struct backlight_device { struct
347 static inline int backlight_update_status(struct backlight_device *bd) in backlight_update_status() argument
363 static inline int backlight_enable(struct backlight_device *bd) in backlight_enable()
379 static inline int backlight_disable(struct backlight_device *bd) in backlight_disable()
403 static inline bool backlight_is_blank(const struct backlight_device *bd) in backlight_is_blank()
421 static inline int backlight_get_brightness(const struct backlight_device *bd) in backlight_get_brightness()
[all …]
/linux-6.1.9/drivers/video/backlight/
Dbacklight.c99 struct backlight_device *bd; in fb_notifier_callback()
108 bd = container_of(self, struct backlight_device, fb_notif); in fb_notifier_callback()
137 static int backlight_register_fb(struct backlight_device *bd) in backlight_register_fb()
145 static void backlight_unregister_fb(struct backlight_device *bd) in backlight_unregister_fb()
150 static inline int backlight_register_fb(struct backlight_device *bd) in backlight_register_fb()
155 static inline void backlight_unregister_fb(struct backlight_device *bd) in backlight_unregister_fb()
160 static void backlight_generate_event(struct backlight_device *bd, in backlight_generate_event()
184 struct backlight_device *bd = to_backlight_device(dev); in bl_power_show()
193 struct backlight_device *bd = to_backlight_device(dev); in bl_power_store()
225 struct backlight_device *bd = to_backlight_device(dev); in brightness_show()
[all …]
Dhp680_bl.c32 static void hp680bl_send_intensity(struct backlight_device *bd) in hp680bl_send_intensity()
66 struct backlight_device *bd = dev_get_drvdata(dev); in hp680bl_suspend()
75 struct backlight_device *bd = dev_get_drvdata(dev); in hp680bl_resume()
85 static int hp680bl_set_intensity(struct backlight_device *bd) in hp680bl_set_intensity()
91 static int hp680bl_get_intensity(struct backlight_device *bd) in hp680bl_get_intensity()
104 struct backlight_device *bd; in hp680bl_probe()
124 struct backlight_device *bd = platform_get_drvdata(pdev); in hp680bl_remove()
Dep93xx_bl.c26 static int ep93xxbl_set(struct backlight_device *bl, int brightness) in ep93xxbl_set()
37 static int ep93xxbl_update_status(struct backlight_device *bl) in ep93xxbl_update_status()
42 static int ep93xxbl_get_brightness(struct backlight_device *bl) in ep93xxbl_get_brightness()
57 struct backlight_device *bl; in ep93xxbl_probe()
103 struct backlight_device *bl = dev_get_drvdata(dev); in ep93xxbl_suspend()
110 struct backlight_device *bl = dev_get_drvdata(dev); in ep93xxbl_resume()
Domap1_bl.c64 struct backlight_device *bl_dev = dev_get_drvdata(dev); in omapbl_suspend()
73 struct backlight_device *bl_dev = dev_get_drvdata(dev); in omapbl_resume()
81 static int omapbl_set_power(struct backlight_device *dev, int state) in omapbl_set_power()
91 static int omapbl_update_status(struct backlight_device *dev) in omapbl_update_status()
107 static int omapbl_get_intensity(struct backlight_device *dev) in omapbl_get_intensity()
122 struct backlight_device *dev; in omapbl_probe()
Dkb3886_bl.c71 static struct backlight_device *kb3886_backlight_device;
88 static int kb3886bl_send_intensity(struct backlight_device *bd) in kb3886bl_send_intensity()
104 struct backlight_device *bd = dev_get_drvdata(dev); in kb3886bl_suspend()
113 struct backlight_device *bd = dev_get_drvdata(dev); in kb3886bl_resume()
123 static int kb3886bl_get_intensity(struct backlight_device *bd) in kb3886bl_get_intensity()
Dlv5207lp.c37 struct backlight_device *backlight;
46 static int lv5207lp_backlight_update_status(struct backlight_device *backlight) in lv5207lp_backlight_update_status()
65 static int lv5207lp_backlight_check_fb(struct backlight_device *backlight, in lv5207lp_backlight_check_fb()
83 struct backlight_device *backlight; in lv5207lp_probe()
129 struct backlight_device *backlight = i2c_get_clientdata(client); in lv5207lp_remove()
Daat2870_bl.c21 struct backlight_device *bd;
31 struct backlight_device *bd = aat2870_bl->bd; in aat2870_brightness()
57 static int aat2870_bl_update_status(struct backlight_device *bd) in aat2870_bl_update_status()
98 static int aat2870_bl_check_fb(struct backlight_device *bd, struct fb_info *fi) in aat2870_bl_check_fb()
113 struct backlight_device *bd; in aat2870_bl_probe()
189 struct backlight_device *bd = aat2870_bl->bd; in aat2870_bl_remove()
Dapple_bl.c29 static struct backlight_device *apple_backlight_device;
56 static int intel_chipset_send_intensity(struct backlight_device *bd) in intel_chipset_send_intensity()
67 static int intel_chipset_get_intensity(struct backlight_device *bd) in intel_chipset_get_intensity()
101 static int nvidia_chipset_send_intensity(struct backlight_device *bd) in nvidia_chipset_send_intensity()
112 static int nvidia_chipset_get_intensity(struct backlight_device *bd) in nvidia_chipset_get_intensity()
Dbd6107.c72 struct backlight_device *backlight;
82 static int bd6107_backlight_update_status(struct backlight_device *backlight) in bd6107_backlight_update_status()
102 static int bd6107_backlight_check_fb(struct backlight_device *backlight, in bd6107_backlight_check_fb()
120 struct backlight_device *backlight; in bd6107_probe()
180 struct backlight_device *backlight = i2c_get_clientdata(client); in bd6107_remove()
Dda903x_bl.c40 static int da903x_backlight_set(struct backlight_device *bl, int brightness) in da903x_backlight_set()
78 static int da903x_backlight_update_status(struct backlight_device *bl) in da903x_backlight_update_status()
83 static int da903x_backlight_get_brightness(struct backlight_device *bl) in da903x_backlight_get_brightness()
100 struct backlight_device *bl; in da903x_backlight_probe()
Dda9052_bl.c82 static int da9052_backlight_update_status(struct backlight_device *bl) in da9052_backlight_update_status()
93 static int da9052_backlight_get_brightness(struct backlight_device *bl) in da9052_backlight_get_brightness()
107 struct backlight_device *bl; in da9052_backlight_probe()
140 struct backlight_device *bl = platform_get_drvdata(pdev); in da9052_backlight_remove()
Dadp5520_bl.c26 static int adp5520_bl_set(struct backlight_device *bl, int brightness) in adp5520_bl_set()
66 static int adp5520_bl_update_status(struct backlight_device *bl) in adp5520_bl_update_status()
71 static int adp5520_bl_get_brightness(struct backlight_device *bl) in adp5520_bl_get_brightness()
87 static int adp5520_bl_setup(struct backlight_device *bl) in adp5520_bl_setup()
283 struct backlight_device *bl; in adp5520_bl_probe()
342 struct backlight_device *bl = platform_get_drvdata(pdev); in adp5520_bl_remove()
357 struct backlight_device *bl = dev_get_drvdata(dev); in adp5520_bl_suspend()
364 struct backlight_device *bl = dev_get_drvdata(dev); in adp5520_bl_resume()
Djornada720_bl.c23 static int jornada_bl_get_brightness(struct backlight_device *bd) in jornada_bl_get_brightness()
50 static int jornada_bl_update_status(struct backlight_device *bd) in jornada_bl_update_status()
109 struct backlight_device *bd; in jornada_bl_probe()
Dwm831x_bl.c26 static int wm831x_backlight_set(struct backlight_device *bl, int brightness) in wm831x_backlight_set()
92 static int wm831x_backlight_update_status(struct backlight_device *bl) in wm831x_backlight_update_status()
97 static int wm831x_backlight_get_brightness(struct backlight_device *bl) in wm831x_backlight_get_brightness()
116 struct backlight_device *bl; in wm831x_backlight_probe()
Dmax8925_bl.c32 static int max8925_backlight_set(struct backlight_device *bl, int brightness) in max8925_backlight_set()
65 static int max8925_backlight_update_status(struct backlight_device *bl) in max8925_backlight_update_status()
70 static int max8925_backlight_get_brightness(struct backlight_device *bl) in max8925_backlight_get_brightness()
124 struct backlight_device *bl; in max8925_backlight_probe()
Dgpio_backlight.c24 static int gpio_backlight_update_status(struct backlight_device *bl) in gpio_backlight_update_status()
33 static int gpio_backlight_check_fb(struct backlight_device *bl, in gpio_backlight_check_fb()
53 struct backlight_device *bl; in gpio_backlight_probe()
Dlp8788_bl.c45 struct backlight_device *bl_dev;
159 static int lp8788_bl_update_status(struct backlight_device *bl_dev) in lp8788_bl_update_status()
188 struct backlight_device *bl_dev; in lp8788_backlight_register()
224 struct backlight_device *bl_dev = bl->bl_dev; in lp8788_backlight_unregister()
304 struct backlight_device *bl_dev = bl->bl_dev; in lp8788_backlight_remove()
Dcr_bllcd.c56 struct backlight_device *cr_backlight_device;
60 static int cr_backlight_set_intensity(struct backlight_device *bd) in cr_backlight_set_intensity()
78 static int cr_backlight_get_intensity(struct backlight_device *bd) in cr_backlight_get_intensity()
155 struct backlight_device *bdp; in cr_backlight_probe()
/linux-6.1.9/drivers/gpu/drm/gma500/
Dbacklight.c43 static int gma_backlight_get_brightness(struct backlight_device *bd) in gma_backlight_get_brightness()
54 static int gma_backlight_update_status(struct backlight_device *bd) in gma_backlight_update_status()
96 dev_priv->backlight_device = in gma_backlight_init()
100 if (IS_ERR(dev_priv->backlight_device)) in gma_backlight_init()
101 return PTR_ERR(dev_priv->backlight_device); in gma_backlight_init()
112 if (dev_priv->backlight_device) in gma_backlight_exit()
113 backlight_device_unregister(dev_priv->backlight_device); in gma_backlight_exit()
/linux-6.1.9/drivers/hid/
Dhid-picolcd_backlight.c17 static int picolcd_get_brightness(struct backlight_device *bdev) in picolcd_get_brightness()
23 static int picolcd_set_brightness(struct backlight_device *bdev) in picolcd_set_brightness()
42 static int picolcd_check_bl_fb(struct backlight_device *bdev, struct fb_info *fb) in picolcd_check_bl_fb()
56 struct backlight_device *bdev; in picolcd_init_backlight()
84 struct backlight_device *bdev = data->backlight; in picolcd_exit_backlight()
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_backlight.c63 nv40_get_intensity(struct backlight_device *bd) in nv40_get_intensity()
75 nv40_set_intensity(struct backlight_device *bd) in nv40_set_intensity()
112 nv50_get_intensity(struct backlight_device *bd) in nv50_get_intensity()
127 nv50_set_intensity(struct backlight_device *bd) in nv50_set_intensity()
152 nv50_edp_get_brightness(struct backlight_device *bd) in nv50_edp_get_brightness()
193 nv50_edp_set_brightness(struct backlight_device *bd) in nv50_edp_set_brightness()
240 nva3_get_intensity(struct backlight_device *bd) in nva3_get_intensity()
258 nva3_set_intensity(struct backlight_device *bd) in nva3_set_intensity()
/linux-6.1.9/drivers/gpu/drm/shmobile/
Dshmob_drm_backlight.c16 static int shmob_drm_backlight_update(struct backlight_device *bdev) in shmob_drm_backlight_update()
26 static int shmob_drm_backlight_get_brightness(struct backlight_device *bdev) in shmob_drm_backlight_get_brightness()
57 struct backlight_device *backlight; in shmob_drm_backlight_init()
/linux-6.1.9/drivers/platform/x86/
Dnvidia-wmi-ec-backlight.c59 static int nvidia_wmi_ec_backlight_update_status(struct backlight_device *bd) in nvidia_wmi_ec_backlight_update_status()
68 static int nvidia_wmi_ec_backlight_get_brightness(struct backlight_device *bd) in nvidia_wmi_ec_backlight_get_brightness()
90 struct backlight_device *bdev; in nvidia_wmi_ec_backlight_probe()
Dsamsung-q10.c25 static int samsungq10_bl_set_intensity(struct backlight_device *bd) in samsungq10_bl_set_intensity()
53 struct backlight_device *bd; in samsungq10_probe()
71 struct backlight_device *bd = platform_get_drvdata(pdev); in samsungq10_remove()

123456