/* SPDX-License-Identifier: GPL-2.0 */ /* * Routines for handling backlight control on PowerBooks * * For now, implementation resides in * arch/powerpc/platforms/powermac/backlight.c * */ #ifndef __ASM_POWERPC_BACKLIGHT_H #define __ASM_POWERPC_BACKLIGHT_H #ifdef __KERNEL__ #include <linux/fb.h> #include <linux/mutex.h> /* For locking instructions, see the implementation file */ extern struct backlight_device *pmac_backlight; extern struct mutex pmac_backlight_mutex; extern int pmac_backlight_curve_lookup(struct fb_info *info, int value); extern int pmac_has_backlight_type(const char *type); extern void pmac_backlight_key(int direction);
static inline void pmac_backlight_key_up(void) { pmac_backlight_key(0); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael Hanselmann | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Michael Hanselmann | 11 | 78.57% | 2 | 66.67% |
Linus Torvalds (pre-git) | 3 | 21.43% | 1 | 33.33% |
Total | 14 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Michael Hanselmann | 85 | 65.38% | 3 | 42.86% |
Linus Torvalds (pre-git) | 38 | 29.23% | 2 | 28.57% |
Paul Mackerras | 6 | 4.62% | 1 | 14.29% |
Greg Kroah-Hartman | 1 | 0.77% | 1 | 14.29% |
Total | 130 | 100.00% | 7 | 100.00% |