/linux/include/linux/ |
H A D | backlight.h | 95 struct backlight_device; 128 int (*update_status)(struct backlight_device *); 142 int (*get_brightness)(struct backlight_device *); 156 bool (*controls_device)(struct backlight_device *bd, struct device *display_dev); 247 struct backlight_device { struct 314 static inline int backlight_update_status(struct backlight_device *bd) in backlight_update_status() argument 330 static inline int backlight_enable(struct backlight_device *bd) in backlight_enable() 345 static inline int backlight_disable(struct backlight_device *bd) in backlight_disable() 367 static inline bool backlight_is_blank(const struct backlight_device *bd) in backlight_is_blank() 384 static inline int backlight_get_brightness(const struct backlight_device *bd) in backlight_get_brightness() [all …]
|
/linux/drivers/video/backlight/ |
H A D | backlight.c | 98 struct backlight_device *bd; in fb_notifier_callback() 101 struct backlight_device *fb_bd = fb_bl_device(info); in fb_notifier_callback() 109 bd = container_of(self, struct backlight_device, fb_notif); in fb_notifier_callback() 138 static int backlight_register_fb(struct backlight_device *bd) in backlight_register_fb() 146 static void backlight_unregister_fb(struct backlight_device *bd) in backlight_unregister_fb() 151 static inline int backlight_register_fb(struct backlight_device *bd) in backlight_register_fb() 156 static inline void backlight_unregister_fb(struct backlight_device *bd) in backlight_unregister_fb() 161 static void backlight_generate_event(struct backlight_device *bd, in backlight_generate_event() 185 struct backlight_device *bd = to_backlight_device(dev); in bl_power_show() 194 struct backlight_device *bd = to_backlight_device(dev); in bl_power_store() [all …]
|
H A D | hp680_bl.c | 32 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()
|
H A D | ep93xx_bl.c | 26 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()
|
H A D | lv5207lp.c | 37 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()
|
H A D | kb3886_bl.c | 71 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()
|
H A D | apple_bl.c | 29 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()
|
H A D | lp8788_bl.c | 35 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()
|
H A D | bd6107.c | 72 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()
|
H A D | lm3509_bl.c | 34 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()
|
H A D | aat2870_bl.c | 20 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()
|
H A D | adp5520_bl.c | 26 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()
|
H A D | da903x_bl.c | 40 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()
|
H A D | da9052_bl.c | 82 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()
|
H A D | wm831x_bl.c | 26 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()
|
H A D | max8925_bl.c | 32 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()
|
H A D | jornada720_bl.c | 22 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()
|
H A D | gpio_backlight.c | 23 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()
|
H A D | ktd2801-backlight.c | 29 struct backlight_device *bd; 33 static int ktd2801_update_status(struct backlight_device *bd) in ktd2801_update_status() 61 struct backlight_device *bd; in ktd2801_backlight_probe()
|
H A D | pcf50633-backlight.c | 19 struct backlight_device *bl; 48 static int pcf50633_bl_update_status(struct backlight_device *bl) in pcf50633_bl_update_status() 80 static int pcf50633_bl_get_brightness(struct backlight_device *bl) in pcf50633_bl_get_brightness()
|
/linux/drivers/gpu/drm/gma500/ |
H A D | backlight.c | 45 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/drivers/hid/ |
H A D | hid-picolcd_backlight.c | 16 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/drivers/gpu/drm/nouveau/ |
H A D | nouveau_backlight.c | 64 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/drivers/platform/x86/ |
H A D | nvidia-wmi-ec-backlight.c | 63 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()
|
/linux/arch/powerpc/include/asm/ |
H A D | backlight.h | 15 struct backlight_device; 18 extern struct backlight_device *pmac_backlight;
|