/* * 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 | tony breeds | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
tony breeds | tony breeds | 8 | 100.00% | 1 | 100.00% |
Total | 8 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
pre-git | pre-git | 96 | 32.65% | 2 | 11.76% |
paul mackerras | paul mackerras | 87 | 29.59% | 2 | 11.76% |
benjamin herrenschmidt | benjamin herrenschmidt | 44 | 14.97% | 5 | 29.41% |
tony breeds | tony breeds | 27 | 9.18% | 2 | 11.76% |
johannes berg | johannes berg | 14 | 4.76% | 1 | 5.88% |
stephen rothwell | stephen rothwell | 10 | 3.40% | 1 | 5.88% |
michael hanselmann | michael hanselmann | 8 | 2.72% | 2 | 11.76% |
david howells | david howells | 8 | 2.72% | 2 | 11.76% |
Total | 294 | 100.00% | 17 | 100.00% |