Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
bcma_driver_mips.h File Reference

Go to the source code of this file.

Data Structures

struct  bcma_drv_mips
 

Macros

#define BCMA_MIPS_IPSFLAG   0x0F08
 
#define BCMA_MIPS_IPSFLAG_IRQ1   0x0000003F
 
#define BCMA_MIPS_IPSFLAG_IRQ1_SHIFT   0
 
#define BCMA_MIPS_IPSFLAG_IRQ2   0x00003F00
 
#define BCMA_MIPS_IPSFLAG_IRQ2_SHIFT   8
 
#define BCMA_MIPS_IPSFLAG_IRQ3   0x003F0000
 
#define BCMA_MIPS_IPSFLAG_IRQ3_SHIFT   16
 
#define BCMA_MIPS_IPSFLAG_IRQ4   0x3F000000
 
#define BCMA_MIPS_IPSFLAG_IRQ4_SHIFT   24
 
#define BCMA_MIPS_MIPS74K_CORECTL   0x0000
 
#define BCMA_MIPS_MIPS74K_EXCEPTBASE   0x0004
 
#define BCMA_MIPS_MIPS74K_BIST   0x000C
 
#define BCMA_MIPS_MIPS74K_INTMASK_INT0   0x0014
 
#define BCMA_MIPS_MIPS74K_INTMASK(int)   ((int) * 4 + BCMA_MIPS_MIPS74K_INTMASK_INT0)
 
#define BCMA_MIPS_MIPS74K_NMIMASK   0x002C
 
#define BCMA_MIPS_MIPS74K_GPIOSEL   0x0040
 
#define BCMA_MIPS_MIPS74K_GPIOOUT   0x0044
 
#define BCMA_MIPS_MIPS74K_GPIOEN   0x0048
 
#define BCMA_MIPS_MIPS74K_CLKCTLST   0x01E0
 
#define BCMA_MIPS_OOBSELOUTA30   0x100
 

Functions

u32 bcma_cpu_clock (struct bcma_drv_mips *mcore)
 
unsigned int bcma_core_mips_irq (struct bcma_device *dev)
 

Macro Definition Documentation

#define BCMA_MIPS_IPSFLAG   0x0F08

Definition at line 4 of file bcma_driver_mips.h.

#define BCMA_MIPS_IPSFLAG_IRQ1   0x0000003F

Definition at line 6 of file bcma_driver_mips.h.

#define BCMA_MIPS_IPSFLAG_IRQ1_SHIFT   0

Definition at line 7 of file bcma_driver_mips.h.

#define BCMA_MIPS_IPSFLAG_IRQ2   0x00003F00

Definition at line 9 of file bcma_driver_mips.h.

#define BCMA_MIPS_IPSFLAG_IRQ2_SHIFT   8

Definition at line 10 of file bcma_driver_mips.h.

#define BCMA_MIPS_IPSFLAG_IRQ3   0x003F0000

Definition at line 12 of file bcma_driver_mips.h.

#define BCMA_MIPS_IPSFLAG_IRQ3_SHIFT   16

Definition at line 13 of file bcma_driver_mips.h.

#define BCMA_MIPS_IPSFLAG_IRQ4   0x3F000000

Definition at line 15 of file bcma_driver_mips.h.

#define BCMA_MIPS_IPSFLAG_IRQ4_SHIFT   24

Definition at line 16 of file bcma_driver_mips.h.

#define BCMA_MIPS_MIPS74K_BIST   0x000C

Definition at line 21 of file bcma_driver_mips.h.

#define BCMA_MIPS_MIPS74K_CLKCTLST   0x01E0

Definition at line 29 of file bcma_driver_mips.h.

#define BCMA_MIPS_MIPS74K_CORECTL   0x0000

Definition at line 19 of file bcma_driver_mips.h.

#define BCMA_MIPS_MIPS74K_EXCEPTBASE   0x0004

Definition at line 20 of file bcma_driver_mips.h.

#define BCMA_MIPS_MIPS74K_GPIOEN   0x0048

Definition at line 28 of file bcma_driver_mips.h.

#define BCMA_MIPS_MIPS74K_GPIOOUT   0x0044

Definition at line 27 of file bcma_driver_mips.h.

#define BCMA_MIPS_MIPS74K_GPIOSEL   0x0040

Definition at line 26 of file bcma_driver_mips.h.

#define BCMA_MIPS_MIPS74K_INTMASK (   int)    ((int) * 4 + BCMA_MIPS_MIPS74K_INTMASK_INT0)

Definition at line 23 of file bcma_driver_mips.h.

#define BCMA_MIPS_MIPS74K_INTMASK_INT0   0x0014

Definition at line 22 of file bcma_driver_mips.h.

#define BCMA_MIPS_MIPS74K_NMIMASK   0x002C

Definition at line 25 of file bcma_driver_mips.h.

#define BCMA_MIPS_OOBSELOUTA30   0x100

Definition at line 31 of file bcma_driver_mips.h.

Function Documentation

unsigned int bcma_core_mips_irq ( struct bcma_device dev)

Definition at line 83 of file driver_mips.c.

u32 bcma_cpu_clock ( struct bcma_drv_mips mcore)

Definition at line 169 of file driver_mips.c.