Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
id.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
#include <asm/cputype.h>
#include "common.h"
#include "id.h"
#include "soc.h"
#include "control.h"

Go to the source code of this file.

Data Structures

struct  omap_id
 

Macros

#define OMAP_TAP_IDCODE   0x0204
 
#define OMAP_TAP_DIE_ID_0   0x0218
 
#define OMAP_TAP_DIE_ID_1   0x021C
 
#define OMAP_TAP_DIE_ID_2   0x0220
 
#define OMAP_TAP_DIE_ID_3   0x0224
 
#define OMAP_TAP_DIE_ID_44XX_0   0x0200
 
#define OMAP_TAP_DIE_ID_44XX_1   0x0208
 
#define OMAP_TAP_DIE_ID_44XX_2   0x020c
 
#define OMAP_TAP_DIE_ID_44XX_3   0x0210
 
#define read_tap_reg(reg)   __raw_readl(tap_base + (reg))
 
#define OMAP3_SHOW_FEATURE(feat)
 
#define OMAP3_CHECK_FEATURE(status, feat)
 

Functions

unsigned int omap_rev (void)
 
 EXPORT_SYMBOL (omap_rev)
 
int omap_type (void)
 
 EXPORT_SYMBOL (omap_type)
 
void omap_get_die_id (struct omap_die_id *odi)
 
void __init omap2xxx_check_revision (void)
 
void __init omap3xxx_check_features (void)
 
void __init omap4xxx_check_features (void)
 
void __init ti81xx_check_features (void)
 
void __init omap3xxx_check_revision (void)
 
void __init omap4xxx_check_revision (void)
 
void __init omap5xxx_check_revision (void)
 
void __init omap2_set_globals_tap (struct omap_globals *omap2_globals)
 

Variables

u32 omap_features
 

Macro Definition Documentation

#define OMAP3_CHECK_FEATURE (   status,
  feat 
)
Value:
if (((status & OMAP3_ ##feat## _MASK) \
>> OMAP3_ ##feat## _SHIFT) != FEAT_ ##feat## _NONE) { \
omap_features |= OMAP3_HAS_ ##feat; \
}

Definition at line 224 of file id.c.

#define OMAP3_SHOW_FEATURE (   feat)
Value:
if (omap3_has_ ##feat()) \
printk(#feat" ");

Definition at line 175 of file id.c.

#define OMAP_TAP_DIE_ID_0   0x0218

Definition at line 75 of file id.c.

#define OMAP_TAP_DIE_ID_1   0x021C

Definition at line 76 of file id.c.

#define OMAP_TAP_DIE_ID_2   0x0220

Definition at line 77 of file id.c.

#define OMAP_TAP_DIE_ID_3   0x0224

Definition at line 78 of file id.c.

#define OMAP_TAP_DIE_ID_44XX_0   0x0200

Definition at line 80 of file id.c.

#define OMAP_TAP_DIE_ID_44XX_1   0x0208

Definition at line 81 of file id.c.

#define OMAP_TAP_DIE_ID_44XX_2   0x020c

Definition at line 82 of file id.c.

#define OMAP_TAP_DIE_ID_44XX_3   0x0210

Definition at line 83 of file id.c.

#define OMAP_TAP_IDCODE   0x0204

Definition at line 74 of file id.c.

#define read_tap_reg (   reg)    __raw_readl(tap_base + (reg))

Definition at line 85 of file id.c.

Function Documentation

EXPORT_SYMBOL ( omap_rev  )
EXPORT_SYMBOL ( omap_type  )
void __init omap2_set_globals_tap ( struct omap_globals omap2_globals)

Definition at line 562 of file id.c.

void __init omap2xxx_check_revision ( void  )

Definition at line 122 of file id.c.

void __init omap3xxx_check_features ( void  )

Definition at line 230 of file id.c.

void __init omap3xxx_check_revision ( void  )

Definition at line 303 of file id.c.

void __init omap4xxx_check_features ( void  )

Definition at line 272 of file id.c.

void __init omap4xxx_check_revision ( void  )

Definition at line 444 of file id.c.

void __init omap5xxx_check_revision ( void  )

Definition at line 520 of file id.c.

void omap_get_die_id ( struct omap_die_id odi)

Definition at line 106 of file id.c.

unsigned int omap_rev ( void  )

Definition at line 35 of file id.c.

int omap_type ( void  )

Definition at line 41 of file id.c.

void __init ti81xx_check_features ( void  )

Definition at line 297 of file id.c.

Variable Documentation

u32 omap_features

Definition at line 33 of file id.c.