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

Go to the source code of this file.

Macros

#define IODESC_ENT(y)
 
#define NUC900_8250PORT(name)
 
#define NUC900PDID   W90X900_VA_GCR
 
#define NUC910_CPUID   0x02900910
 
#define NUC920_CPUID   0x02900920
 
#define NUC950_CPUID   0x02900950
 
#define NUC960_CPUID   0x02900960
 

Functions

void nuc900_clock_source (struct device *dev, unsigned char *src)
 
void nuc900_init_clocks (void)
 
void nuc900_map_io (struct map_desc *mach_desc, int mach_size)
 
void nuc900_board_init (struct platform_device **device, int size)
 

Variables

struct platform_device nuc900_serial_device
 
struct platform_device nuc900_device_fmi
 
struct platform_device nuc900_device_kpi
 
struct platform_device nuc900_device_rtc
 
struct platform_device nuc900_device_ts
 
struct platform_device nuc900_device_lcd
 

Macro Definition Documentation

#define IODESC_ENT (   y)
Value:
{ \
.virtual = (unsigned long)W90X900_VA_##y, \
.pfn = __phys_to_pfn(W90X900_PA_##y), \
.length = W90X900_SZ_##y, \
.type = MT_DEVICE, \
}

Definition at line 19 of file cpu.h.

#define NUC900_8250PORT (   name)
Value:
{ \
.membase = name##_BA, \
.mapbase = name##_PA, \
.irq = IRQ_##name, \
.uartclk = 11313600, \
.regshift = 2, \
.iotype = UPIO_MEM, \
}

Definition at line 27 of file cpu.h.

#define NUC900PDID   W90X900_VA_GCR

Definition at line 40 of file cpu.h.

#define NUC910_CPUID   0x02900910

Definition at line 41 of file cpu.h.

#define NUC920_CPUID   0x02900920

Definition at line 42 of file cpu.h.

#define NUC950_CPUID   0x02900950

Definition at line 43 of file cpu.h.

#define NUC960_CPUID   0x02900960

Definition at line 44 of file cpu.h.

Function Documentation

void nuc900_board_init ( struct platform_device **  device,
int  size 
)

Definition at line 532 of file dev.c.

void nuc900_clock_source ( struct device dev,
unsigned char src 
)

Definition at line 62 of file clksel.c.

void nuc900_init_clocks ( void  )

Definition at line 223 of file cpu.c.

void nuc900_map_io ( struct map_desc mach_desc,
int  mach_size 
)

Definition at line 203 of file cpu.c.

Variable Documentation

struct platform_device nuc900_device_fmi

Definition at line 358 of file dev.c.

struct platform_device nuc900_device_kpi

Definition at line 414 of file dev.c.

struct platform_device nuc900_device_lcd

Definition at line 477 of file dev.c.

struct platform_device nuc900_device_rtc

Definition at line 314 of file dev.c.

struct platform_device nuc900_device_ts

Definition at line 336 of file dev.c.

struct platform_device nuc900_serial_device

Definition at line 116 of file cpu.c.