/* * Definitions for talking to the PMU. The PMU is a microcontroller * which controls battery charging and system power on PowerBook 3400 * and 2400 models as well as the RTC and various other things. * * Copyright (C) 1998 Paul Mackerras. */ #ifndef _LINUX_PMU_H #define _LINUX_PMU_H #include <uapi/linux/pmu.h> extern int find_via_pmu(void); extern int pmu_request(struct adb_request *req, void (*done)(struct adb_request *), int nbytes, ...); extern int pmu_queue_request(struct adb_request *req); extern void pmu_poll(void); extern void pmu_poll_adb(void); /* For use by xmon */ extern void pmu_wait_complete(struct adb_request *req); /* For use before switching interrupts off for a long time; * warning: not stackable */ #if defined(CONFIG_ADB_PMU) extern void pmu_suspend(void); extern void pmu_resume(void); #else
static inline void pmu_suspend(void) {}Contributors
Person | Tokens | Prop | Commits | CommitProp |
Tony Breeds | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Tony Breeds | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 96 | 32.65% | 2 | 11.76% |
Paul Mackerras | 87 | 29.59% | 2 | 11.76% |
Benjamin Herrenschmidt | 44 | 14.97% | 5 | 29.41% |
Tony Breeds | 27 | 9.18% | 2 | 11.76% |
Johannes Berg | 14 | 4.76% | 1 | 5.88% |
Stephen Rothwell | 10 | 3.40% | 1 | 5.88% |
Michael Hanselmann | 8 | 2.72% | 2 | 11.76% |
David Howells | 8 | 2.72% | 2 | 11.76% |
Total | 294 | 100.00% | 17 | 100.00% |