Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v2.6.31-rc7 22 lines 643 B view raw
1#ifndef _ASM_SH_SUSPEND_H 2#define _ASM_SH_SUSPEND_H 3 4#ifndef __ASSEMBLY__ 5static inline int arch_prepare_suspend(void) { return 0; } 6 7#include <asm/ptrace.h> 8 9struct swsusp_arch_regs { 10 struct pt_regs user_regs; 11 unsigned long bank1_regs[8]; 12}; 13#endif 14 15/* flags passed to assembly suspend code */ 16#define SUSP_SH_SLEEP (1 << 0) /* Regular sleep mode */ 17#define SUSP_SH_STANDBY (1 << 1) /* SH-Mobile Software standby mode */ 18#define SUSP_SH_RSTANDBY (1 << 2) /* SH-Mobile R-standby mode */ 19#define SUSP_SH_USTANDBY (1 << 3) /* SH-Mobile U-standby mode */ 20#define SUSP_SH_SF (1 << 4) /* Enable self-refresh */ 21 22#endif /* _ASM_SH_SUSPEND_H */