Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
bfrom.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  ADI_SYSCTRL_VALUES
 

Macros

#define SYSCTRL_READ   0x00000000 /* read registers */
 
#define SYSCTRL_WRITE   0x00000001 /* write registers */
 
#define SYSCTRL_SYSRESET   0x00000002 /* perform system reset */
 
#define SYSCTRL_CORERESET   0x00000004 /* perform core reset */
 
#define SYSCTRL_SOFTRESET   0x00000006 /* perform core and system reset */
 
#define SYSCTRL_VRCTL   0x00000010 /* read/write VR_CTL register */
 
#define SYSCTRL_EXTVOLTAGE   0x00000020 /* VDDINT supplied externally */
 
#define SYSCTRL_INTVOLTAGE   0x00000000 /* VDDINT generated by on-chip regulator */
 
#define SYSCTRL_OTPVOLTAGE   0x00000040 /* For Factory Purposes Only */
 
#define SYSCTRL_PLLCTL   0x00000100 /* read/write PLL_CTL register */
 
#define SYSCTRL_PLLDIV   0x00000200 /* read/write PLL_DIV register */
 
#define SYSCTRL_LOCKCNT   0x00000400 /* read/write PLL_LOCKCNT register */
 
#define SYSCTRL_PLLSTAT   0x00000800 /* read/write PLL_STAT register */
 
#define OTP_INIT   0x00000001
 
#define OTP_CLOSE   0x00000002
 
#define OTP_LOWER_HALF   0x00000000 /* select upper/lower 64-bit half (bit 0) */
 
#define OTP_UPPER_HALF   0x00000001
 
#define OTP_NO_ECC   0x00000010 /* do not use ECC */
 
#define OTP_LOCK   0x00000020 /* sets page protection bit for page */
 
#define OTP_CHECK_FOR_PREV_WRITE   0x00000080
 
#define OTP_SUCCESS   0x00000000
 
#define OTP_MASTER_ERROR   0x001
 
#define OTP_WRITE_ERROR   0x003
 
#define OTP_READ_ERROR   0x005
 
#define OTP_ACC_VIO_ERROR   0x009
 
#define OTP_DATA_MULT_ERROR   0x011
 
#define OTP_ECC_MULT_ERROR   0x021
 
#define OTP_PREV_WR_ERROR   0x041
 
#define OTP_DATA_SB_WARN   0x100
 
#define OTP_ECC_SB_WARN   0x200
 

Typedefs

typedef struct ADI_SYSCTRL_VALUES ADI_SYSCTRL_VALUES
 

Functions

 __attribute__ ((__noreturn__)) static inline void bfrom_SoftReset(void *new_stack)
 

Macro Definition Documentation

#define OTP_ACC_VIO_ERROR   0x009

Definition at line 83 of file bfrom.h.

#define OTP_CHECK_FOR_PREV_WRITE   0x00000080

Definition at line 76 of file bfrom.h.

#define OTP_CLOSE   0x00000002

Definition at line 69 of file bfrom.h.

#define OTP_DATA_MULT_ERROR   0x011

Definition at line 84 of file bfrom.h.

#define OTP_DATA_SB_WARN   0x100

Definition at line 87 of file bfrom.h.

#define OTP_ECC_MULT_ERROR   0x021

Definition at line 85 of file bfrom.h.

#define OTP_ECC_SB_WARN   0x200

Definition at line 88 of file bfrom.h.

#define OTP_INIT   0x00000001

Definition at line 68 of file bfrom.h.

#define OTP_LOCK   0x00000020 /* sets page protection bit for page */

Definition at line 75 of file bfrom.h.

#define OTP_LOWER_HALF   0x00000000 /* select upper/lower 64-bit half (bit 0) */

Definition at line 72 of file bfrom.h.

#define OTP_MASTER_ERROR   0x001

Definition at line 80 of file bfrom.h.

#define OTP_NO_ECC   0x00000010 /* do not use ECC */

Definition at line 74 of file bfrom.h.

#define OTP_PREV_WR_ERROR   0x041

Definition at line 86 of file bfrom.h.

#define OTP_READ_ERROR   0x005

Definition at line 82 of file bfrom.h.

#define OTP_SUCCESS   0x00000000

Definition at line 79 of file bfrom.h.

#define OTP_UPPER_HALF   0x00000001

Definition at line 73 of file bfrom.h.

#define OTP_WRITE_ERROR   0x003

Definition at line 81 of file bfrom.h.

#define SYSCTRL_CORERESET   0x00000004 /* perform core reset */

Definition at line 17 of file bfrom.h.

#define SYSCTRL_EXTVOLTAGE   0x00000020 /* VDDINT supplied externally */

Definition at line 20 of file bfrom.h.

#define SYSCTRL_INTVOLTAGE   0x00000000 /* VDDINT generated by on-chip regulator */

Definition at line 21 of file bfrom.h.

#define SYSCTRL_LOCKCNT   0x00000400 /* read/write PLL_LOCKCNT register */

Definition at line 25 of file bfrom.h.

#define SYSCTRL_OTPVOLTAGE   0x00000040 /* For Factory Purposes Only */

Definition at line 22 of file bfrom.h.

#define SYSCTRL_PLLCTL   0x00000100 /* read/write PLL_CTL register */

Definition at line 23 of file bfrom.h.

#define SYSCTRL_PLLDIV   0x00000200 /* read/write PLL_DIV register */

Definition at line 24 of file bfrom.h.

#define SYSCTRL_PLLSTAT   0x00000800 /* read/write PLL_STAT register */

Definition at line 26 of file bfrom.h.

#define SYSCTRL_READ   0x00000000 /* read registers */

Definition at line 14 of file bfrom.h.

#define SYSCTRL_SOFTRESET   0x00000006 /* perform core and system reset */

Definition at line 18 of file bfrom.h.

#define SYSCTRL_SYSRESET   0x00000002 /* perform system reset */

Definition at line 16 of file bfrom.h.

#define SYSCTRL_VRCTL   0x00000010 /* read/write VR_CTL register */

Definition at line 19 of file bfrom.h.

#define SYSCTRL_WRITE   0x00000001 /* write registers */

Definition at line 15 of file bfrom.h.

Typedef Documentation

Function Documentation

__attribute__ ( (__noreturn__)  )

Definition at line 42 of file bfrom.h.