cregit-Linux how code gets into the kernel

Release 4.10 arch/arm/mach-pxa/include/mach/reset.h

#ifndef __ASM_ARCH_RESET_H

#define __ASM_ARCH_RESET_H


#define RESET_STATUS_HARDWARE	(1 << 0)	
/* Hardware Reset */

#define RESET_STATUS_WATCHDOG	(1 << 1)	
/* Watchdog Reset */

#define RESET_STATUS_LOWPOWER	(1 << 2)	
/* Low Power/Sleep Exit */

#define RESET_STATUS_GPIO	(1 << 3)	
/* GPIO Reset */

#define RESET_STATUS_ALL	(0xf)

extern unsigned int reset_status;
extern void clear_reset_status(unsigned int mask);

/**
 * init_gpio_reset() - register GPIO as reset generator
 * @gpio: gpio nr
 * @output: set gpio as output instead of input during normal work
 * @level: output level
 */
extern int init_gpio_reset(int gpio, int output, int level);

#endif /* __ASM_ARCH_RESET_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
eric miaoeric miao5588.71%250.00%
daniel ribeirodaniel ribeiro46.45%125.00%
dmitry eremin-baryshkovdmitry eremin-baryshkov34.84%125.00%
Total62100.00%4100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.