Lines Matching +full:power +full:- +full:down

1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 * which controls battery charging and system power on PowerBook 3400
18 #define PMU_POWER_CTRL0 0x10 /* control power of some devices */
19 #define PMU_POWER_CTRL 0x11 /* control power of some devices */
21 #define PMU_ADB_POLL_OFF 0x21 /* disable ADB auto-poll */
23 #define PMU_WRITE_NVRAM 0x33 /* write non-volatile RAM */
25 #define PMU_READ_NVRAM 0x3b /* read non-volatile RAM */
26 #define PMU_SET_RTC 0x30 /* set real-time clock */
27 #define PMU_READ_RTC 0x38 /* read real-time clock */
28 #define PMU_SET_VOLBUTTON 0x40 /* set volume up/down position */
30 #define PMU_GET_VOLBUTTON 0x48 /* get volume up/down position */
31 #define PMU_PCEJECT 0x4c /* eject PC-card from slot */
36 #define PMU_SHUTDOWN 0x7e /* turn power off */
39 #define PMU_POWER_EVENTS 0x8f /* Send power-event commands to PMU */
42 #define PMU_GET_BRIGHTBUTTON 0xd9 /* report brightness up/down pos */
48 #define PMU_POW0_ON 0x80 /* OR this to power ON the device */
49 #define PMU_POW0_OFF 0x00 /* leave bit 7 to 0 to power it OFF */
50 #define PMU_POW0_HARD_DRIVE 0x04 /* Hard drive power (on wallstreet/lombard ?) */
53 #define PMU_POW_ON 0x80 /* OR this to power ON the device */
54 #define PMU_POW_OFF 0x00 /* leave bit 7 to 0 to power it OFF */
55 #define PMU_POW_BACKLIGHT 0x01 /* backlight power */
56 #define PMU_POW_CHARGER 0x02 /* battery charger power */
57 #define PMU_POW_IRLED 0x04 /* IR led power (on wallstreet) */
58 #define PMU_POW_MEDIABAY 0x08 /* media bay power (wallstreet/lombard ?) */
61 #define PMU_INT_PCEJECT 0x04 /* PC-card eject buttons */
62 #define PMU_INT_SNDBRT 0x08 /* sound/brightness up/down buttons */
66 #define PMU_INT_TICK 0x80 /* 1-second tick interrupt */
112 /* Power events wakeup bits */