Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
fuse.c File Reference
#include <linux/kernel.h>
#include <linux/io.h>
#include <linux/export.h>
#include <mach/iomap.h>
#include "fuse.h"
#include "apbio.h"

Go to the source code of this file.

Macros

#define FUSE_UID_LOW   0x108
 
#define FUSE_UID_HIGH   0x10c
 
#define FUSE_SKU_INFO   0x110
 
#define FUSE_SPARE_BIT   0x200
 
#define STRAP_OPT   0x008
 
#define GMI_AD0   (1 << 4)
 
#define GMI_AD1   (1 << 5)
 
#define RAM_ID_MASK   (GMI_AD0 | GMI_AD1)
 
#define RAM_CODE_SHIFT   4
 

Functions

void tegra_init_fuse (void)
 
unsigned long long tegra_chip_uid (void)
 
 EXPORT_SYMBOL (tegra_chip_uid)
 

Variables

int tegra_sku_id
 
int tegra_cpu_process_id
 
int tegra_core_process_id
 
int tegra_chip_id
 
enum tegra_revision tegra_revision
 
int tegra_bct_strapping
 

Macro Definition Documentation

#define FUSE_SKU_INFO   0x110

Definition at line 31 of file fuse.c.

#define FUSE_SPARE_BIT   0x200

Definition at line 32 of file fuse.c.

#define FUSE_UID_HIGH   0x10c

Definition at line 30 of file fuse.c.

#define FUSE_UID_LOW   0x108

Definition at line 29 of file fuse.c.

#define GMI_AD0   (1 << 4)

Definition at line 46 of file fuse.c.

#define GMI_AD1   (1 << 5)

Definition at line 47 of file fuse.c.

#define RAM_CODE_SHIFT   4

Definition at line 49 of file fuse.c.

#define RAM_ID_MASK   (GMI_AD0 | GMI_AD1)

Definition at line 48 of file fuse.c.

#define STRAP_OPT   0x008

Definition at line 45 of file fuse.c.

Function Documentation

EXPORT_SYMBOL ( tegra_chip_uid  )
unsigned long long tegra_chip_uid ( void  )

Definition at line 123 of file fuse.c.

void tegra_init_fuse ( void  )

Definition at line 92 of file fuse.c.

Variable Documentation

int tegra_bct_strapping

Definition at line 43 of file fuse.c.

int tegra_chip_id

Definition at line 37 of file fuse.c.

int tegra_core_process_id

Definition at line 36 of file fuse.c.

int tegra_cpu_process_id

Definition at line 35 of file fuse.c.

Definition at line 38 of file fuse.c.

int tegra_sku_id

Definition at line 34 of file fuse.c.