Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
sb1250.h File Reference
#include <asm/addrspace.h>
#include <asm/sibyte/sb1250_scd.h>
#include <asm/sibyte/bcm1480_scd.h>

Go to the source code of this file.

Macros

#define SIBYTE_RELEASE   0x02111403
 
#define SB1250_NR_IRQS   64
 
#define BCM1480_NR_IRQS   128
 
#define BCM1480_NR_IRQS_HALF   64
 
#define SB1250_DUART_MINOR_BASE   64
 
#define AT_spin
 
#define IOADDR(a)   ((void __iomem *)(IO_BASE + (a)))
 

Functions

void sb1250_time_init (void)
 
void sb1250_mask_irq (int cpu, int irq)
 
void sb1250_unmask_irq (int cpu, int irq)
 
void bcm1480_time_init (void)
 
void bcm1480_mask_irq (int cpu, int irq)
 
void bcm1480_unmask_irq (int cpu, int irq)
 

Variables

unsigned int sb1_pass
 
unsigned int soc_pass
 
unsigned int soc_type
 
unsigned int periph_rev
 
unsigned int zbbus_mhz
 

Macro Definition Documentation

#define AT_spin
Value:
__asm__ __volatile__ ( \
".set noat\n" \
"li $at, 0\n" \
"1: beqz $at, 1b\n" \
".set at\n" \
)

Definition at line 56 of file sb1250.h.

#define BCM1480_NR_IRQS   128

Definition at line 30 of file sb1250.h.

#define BCM1480_NR_IRQS_HALF   64

Definition at line 31 of file sb1250.h.

#define IOADDR (   a)    ((void __iomem *)(IO_BASE + (a)))

Definition at line 66 of file sb1250.h.

#define SB1250_DUART_MINOR_BASE   64

Definition at line 33 of file sb1250.h.

#define SB1250_NR_IRQS   64

Definition at line 28 of file sb1250.h.

#define SIBYTE_RELEASE   0x02111403

Definition at line 26 of file sb1250.h.

Function Documentation

void bcm1480_mask_irq ( int  cpu,
int  irq 
)

Definition at line 55 of file irq.c.

void bcm1480_time_init ( void  )
void bcm1480_unmask_irq ( int  cpu,
int  irq 
)

Definition at line 72 of file irq.c.

void sb1250_mask_irq ( int  cpu,
int  irq 
)

Definition at line 54 of file irq.c.

void sb1250_time_init ( void  )
void sb1250_unmask_irq ( int  cpu,
int  irq 
)

Definition at line 68 of file irq.c.

Variable Documentation

unsigned int periph_rev

Definition at line 37 of file setup.c.

unsigned int sb1_pass

Definition at line 33 of file setup.c.

unsigned int soc_pass

Definition at line 34 of file setup.c.

unsigned int soc_type

Definition at line 35 of file setup.c.

unsigned int zbbus_mhz

Definition at line 38 of file setup.c.