Lines Matching +full:no +full:- +full:reset +full:- +full:on +full:- +full:power +full:- +full:off

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 */
31 #define PMU_PCEJECT 0x4c /* eject PC-card from slot */
36 #define PMU_SHUTDOWN 0x7e /* turn power off */
37 #define PMU_CPU_SPEED 0x7d /* control CPU speed on some models */
39 #define PMU_POWER_EVENTS 0x8f /* Send power-event commands to PMU */
41 #define PMU_RESET 0xd0 /* reset CPU */
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 */
66 #define PMU_INT_TICK 0x80 /* 1-second tick interrupt */
74 * or via PMU_INT_ENVIRONMENT on core99 */
112 /* Power events wakeup bits */
114 PMU_PWR_WAKEUP_KEY = 0x01, /* Wake on key press */
115 PMU_PWR_WAKEUP_AC_INSERT = 0x02, /* Wake on AC adapter plug */
126 /* no param */
138 /* no param, but historically was _IOR('B', 6, 0), meaning 4 bytes */