blightdev 91 drivers/platform/x86/ideapad-laptop.c struct backlight_device *blightdev; blightdev 763 drivers/platform/x86/ideapad-laptop.c static int ideapad_backlight_get_brightness(struct backlight_device *blightdev) blightdev 765 drivers/platform/x86/ideapad-laptop.c struct ideapad_private *priv = bl_get_data(blightdev); blightdev 776 drivers/platform/x86/ideapad-laptop.c static int ideapad_backlight_update_status(struct backlight_device *blightdev) blightdev 778 drivers/platform/x86/ideapad-laptop.c struct ideapad_private *priv = bl_get_data(blightdev); blightdev 784 drivers/platform/x86/ideapad-laptop.c blightdev->props.brightness)) blightdev 787 drivers/platform/x86/ideapad-laptop.c blightdev->props.power == FB_BLANK_POWERDOWN ? 0 : 1)) blightdev 800 drivers/platform/x86/ideapad-laptop.c struct backlight_device *blightdev; blightdev 814 drivers/platform/x86/ideapad-laptop.c blightdev = backlight_device_register("ideapad", blightdev 819 drivers/platform/x86/ideapad-laptop.c if (IS_ERR(blightdev)) { blightdev 821 drivers/platform/x86/ideapad-laptop.c return PTR_ERR(blightdev); blightdev 824 drivers/platform/x86/ideapad-laptop.c priv->blightdev = blightdev; blightdev 825 drivers/platform/x86/ideapad-laptop.c blightdev->props.brightness = now; blightdev 826 drivers/platform/x86/ideapad-laptop.c blightdev->props.power = power ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN; blightdev 827 drivers/platform/x86/ideapad-laptop.c backlight_update_status(blightdev); blightdev 834 drivers/platform/x86/ideapad-laptop.c backlight_device_unregister(priv->blightdev); blightdev 835 drivers/platform/x86/ideapad-laptop.c priv->blightdev = NULL; blightdev 841 drivers/platform/x86/ideapad-laptop.c struct backlight_device *blightdev = priv->blightdev; blightdev 843 drivers/platform/x86/ideapad-laptop.c if (!blightdev) blightdev 847 drivers/platform/x86/ideapad-laptop.c blightdev->props.power = power ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN; blightdev 855 drivers/platform/x86/ideapad-laptop.c if (priv->blightdev == NULL) { blightdev 860 drivers/platform/x86/ideapad-laptop.c backlight_force_update(priv->blightdev, BACKLIGHT_UPDATE_HOTKEY);