/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARCH_RESET_H #define __ASM_ARCH_RESET_H #include "hardware.h" #define RESET_STATUS_HARDWARE (1 << 0) /* Hardware Reset */ #define RESET_STATUS_WATCHDOG (1 << 1) /* Watchdog Reset */ #define RESET_STATUS_LOWPOWER (1 << 2) /* Exit from Low Power/Sleep */ #define RESET_STATUS_GPIO (1 << 3) /* GPIO Reset */ #define RESET_STATUS_ALL (0xf) extern unsigned int reset_status; static inline void clear_reset_status(unsigned int mask) { RCSR = mask; } #endif /* __ASM_ARCH_RESET_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
SA-1100.h | File | 95.64 KB | 0644 |
|
assabet.h | File | 4.32 KB | 0644 |
|
badge4.h | File | 2.47 KB | 0644 |
|
bitfield.h | File | 2.77 KB | 0644 |
|
cerf.h | File | 584 B | 0644 |
|
collie.h | File | 3.39 KB | 0644 |
|
generic.h | File | 27 B | 0644 |
|
h3xxx.h | File | 3.44 KB | 0644 |
|
hardware.h | File | 1.36 KB | 0644 |
|
irqs.h | File | 3.07 KB | 0644 |
|
jornada720.h | File | 959 B | 0644 |
|
memory.h | File | 1.03 KB | 0644 |
|
mtd-xip.h | File | 815 B | 0644 |
|
nanoengine.h | File | 1.74 KB | 0644 |
|
neponset.h | File | 834 B | 0644 |
|
reset.h | File | 534 B | 0644 |
|
shannon.h | File | 1.87 KB | 0644 |
|
simpad.h | File | 5.53 KB | 0644 |
|
uncompress.h | File | 1.09 KB | 0644 |
|