Home
last modified time | relevance | path

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

123456

/linux-6.12.1/include/linux/
Dbacklight.h113 struct backlight_device;
146 int (*update_status)(struct backlight_device *);
160 int (*get_brightness)(struct backlight_device *);
174 bool (*controls_device)(struct backlight_device *bd, struct device *display_dev);
265 struct backlight_device { struct
332 static inline int backlight_update_status(struct backlight_device *bd) in backlight_update_status() argument
348 static inline int backlight_enable(struct backlight_device *bd) in backlight_enable()
363 static inline int backlight_disable(struct backlight_device *bd) in backlight_disable()
385 static inline bool backlight_is_blank(const struct backlight_device *bd) in backlight_is_blank()
402 static inline int backlight_get_brightness(const struct backlight_device *bd) in backlight_get_brightness()
[all …]
/linux-6.12.1/drivers/video/backlight/
Dbacklight.c99 struct backlight_device *bd; in fb_notifier_callback()
102 struct backlight_device *fb_bd = fb_bl_device(info); in fb_notifier_callback()
110 bd = container_of(self, struct backlight_device, fb_notif); in fb_notifier_callback()
139 static int backlight_register_fb(struct backlight_device *bd) in backlight_register_fb()
147 static void backlight_unregister_fb(struct backlight_device *bd) in backlight_unregister_fb()
152 static inline int backlight_register_fb(struct backlight_device *bd) in backlight_register_fb()
157 static inline void backlight_unregister_fb(struct backlight_device *bd) in backlight_unregister_fb()
162 static void backlight_generate_event(struct backlight_device *bd, in backlight_generate_event()
186 struct backlight_device *bd = to_backlight_device(dev); in bl_power_show()
195 struct backlight_device *bd = to_backlight_device(dev); in bl_power_store()
[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.c53 struct backlight_device *bl_dev = dev_get_drvdata(dev); in omapbl_suspend()
62 struct backlight_device *bl_dev = dev_get_drvdata(dev); in omapbl_resume()
70 static void omapbl_set_enabled(struct backlight_device *dev, bool enable) in omapbl_set_enabled()
78 static int omapbl_update_status(struct backlight_device *dev) in omapbl_update_status()
97 static int omapbl_get_intensity(struct backlight_device *dev) in omapbl_get_intensity()
112 struct backlight_device *dev; in omapbl_probe()
Dlv5207lp.c37 struct backlight_device *backlight;
46 static int lv5207lp_backlight_update_status(struct backlight_device *backlight) in lv5207lp_backlight_update_status()
65 static bool lv5207lp_backlight_controls_device(struct backlight_device *backlight, in lv5207lp_backlight_controls_device()
82 struct backlight_device *backlight; in lv5207lp_probe()
128 struct backlight_device *backlight = i2c_get_clientdata(client); in lv5207lp_remove()
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()
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()
Dlp8788_bl.c35 struct backlight_device *bl_dev;
59 static int lp8788_bl_update_status(struct backlight_device *bl_dev) in lp8788_bl_update_status()
78 struct backlight_device *bl_dev; in lp8788_backlight_register()
101 struct backlight_device *bl_dev = bl->bl_dev; in lp8788_backlight_unregister()
170 struct backlight_device *bl_dev = bl->bl_dev; in lp8788_backlight_remove()
Dbd6107.c72 struct backlight_device *backlight;
82 static int bd6107_backlight_update_status(struct backlight_device *backlight) in bd6107_backlight_update_status()
102 static bool bd6107_backlight_controls_device(struct backlight_device *backlight, in bd6107_backlight_controls_device()
119 struct backlight_device *backlight; in bd6107_probe()
176 struct backlight_device *backlight = i2c_get_clientdata(client); in bd6107_remove()
Dlm3509_bl.c34 struct backlight_device *bl_main;
35 struct backlight_device *bl_sub;
56 static int lm3509_update_status(struct backlight_device *bl, in lm3509_update_status()
72 static int lm3509_main_update_status(struct backlight_device *bl) in lm3509_main_update_status()
82 static int lm3509_sub_update_status(struct backlight_device *bl) in lm3509_sub_update_status()
92 static struct backlight_device *
99 struct backlight_device *bd; in lm3509_backlight_register()
Daat2870_bl.c20 struct backlight_device *bd;
30 struct backlight_device *bd = aat2870_bl->bd; in aat2870_brightness()
56 static int aat2870_bl_update_status(struct backlight_device *bd) in aat2870_bl_update_status()
101 struct backlight_device *bd; in aat2870_bl_probe()
177 struct backlight_device *bd = aat2870_bl->bd; in aat2870_bl_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()
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()
355 struct backlight_device *bl = dev_get_drvdata(dev); in adp5520_bl_suspend()
362 struct backlight_device *bl = dev_get_drvdata(dev); in adp5520_bl_resume()
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()
141 struct backlight_device *bl = platform_get_drvdata(pdev); in da9052_backlight_remove()
Djornada720_bl.c22 static int jornada_bl_get_brightness(struct backlight_device *bd) in jornada_bl_get_brightness()
49 static int jornada_bl_update_status(struct backlight_device *bd) in jornada_bl_update_status()
108 struct backlight_device *bd; in jornada_bl_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()
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()
Dgpio_backlight.c23 static int gpio_backlight_update_status(struct backlight_device *bl) in gpio_backlight_update_status()
32 static bool gpio_backlight_controls_device(struct backlight_device *bl, in gpio_backlight_controls_device()
52 struct backlight_device *bl; in gpio_backlight_probe()
/linux-6.12.1/drivers/gpu/drm/gma500/
Dbacklight.c45 static int gma_backlight_get_brightness(struct backlight_device *bd) in gma_backlight_get_brightness()
56 static int gma_backlight_update_status(struct backlight_device *bd) in gma_backlight_update_status()
98 dev_priv->backlight_device = in gma_backlight_init()
102 if (IS_ERR(dev_priv->backlight_device)) in gma_backlight_init()
103 return PTR_ERR(dev_priv->backlight_device); in gma_backlight_init()
114 if (dev_priv->backlight_device) in gma_backlight_exit()
115 backlight_device_unregister(dev_priv->backlight_device); in gma_backlight_exit()
/linux-6.12.1/drivers/hid/
Dhid-picolcd_backlight.c16 static int picolcd_get_brightness(struct backlight_device *bdev) in picolcd_get_brightness()
22 static int picolcd_set_brightness(struct backlight_device *bdev) in picolcd_set_brightness()
50 struct backlight_device *bdev; in picolcd_init_backlight()
78 struct backlight_device *bdev = data->backlight; in picolcd_exit_backlight()
/linux-6.12.1/drivers/gpu/drm/nouveau/
Dnouveau_backlight.c64 nv40_get_intensity(struct backlight_device *bd) in nv40_get_intensity()
76 nv40_set_intensity(struct backlight_device *bd) in nv40_set_intensity()
117 nv50_edp_get_brightness(struct backlight_device *bd) in nv50_edp_get_brightness()
158 nv50_edp_set_brightness(struct backlight_device *bd) in nv50_edp_set_brightness()
205 nv50_get_intensity(struct backlight_device *bd) in nv50_get_intensity()
213 nv50_set_intensity(struct backlight_device *bd) in nv50_set_intensity()
/linux-6.12.1/arch/powerpc/include/asm/
Dbacklight.h15 struct backlight_device;
18 extern struct backlight_device *pmac_backlight;
/linux-6.12.1/drivers/platform/x86/
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()
Dnvidia-wmi-ec-backlight.c63 static int nvidia_wmi_ec_backlight_update_status(struct backlight_device *bd) in nvidia_wmi_ec_backlight_update_status()
72 static int nvidia_wmi_ec_backlight_get_brightness(struct backlight_device *bd) in nvidia_wmi_ec_backlight_get_brightness()
94 struct backlight_device *bdev; in nvidia_wmi_ec_backlight_probe()

123456