Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
platform.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/ioport.h>
#include <linux/serial_8250.h>
#include <linux/mtd/physmap.h>
#include <asm/cpu.h>
#include <asm/bootinfo.h>
#include <asm/addrspace.h>
#include <asm/time.h>
#include <asm/bcache.h>
#include <asm/irq.h>
#include <asm/reboot.h>
#include <asm/traps.h>
#include <asm/emma/emma2rh.h>

Go to the source code of this file.

Macros

#define I2C_EMMA2RH   "emma2rh-iic" /* must be in sync with IIC driver */
 
#define EMMA2RH_SERIAL_CLOCK   18544000
 
#define EMMA2RH_SERIAL_FLAGS   UPF_BOOT_AUTOCONF | UPF_SKIP_TEST
 

Functions

 arch_initcall (platform_devices_setup)
 

Variables

struct resource i2c_emma_resources_1 []
 
struct resource i2c_emma_resources_2 []
 
struct platform_device i2c_emma_devices []
 

Macro Definition Documentation

#define EMMA2RH_SERIAL_CLOCK   18544000

Definition at line 104 of file platform.c.

#define EMMA2RH_SERIAL_FLAGS   UPF_BOOT_AUTOCONF | UPF_SKIP_TEST

Definition at line 105 of file platform.c.

#define I2C_EMMA2RH   "emma2rh-iic" /* must be in sync with IIC driver */

Definition at line 39 of file platform.c.

Function Documentation

arch_initcall ( platform_devices_setup  )

Variable Documentation

struct platform_device i2c_emma_devices[]
Initial value:
= {
[0] = {
.name = I2C_EMMA2RH,
.id = 0,
.resource = i2c_emma_resources_0,
.num_resources = ARRAY_SIZE(i2c_emma_resources_0),
},
[1] = {
.name = I2C_EMMA2RH,
.id = 1,
.resource = i2c_emma_resources_1,
.num_resources = ARRAY_SIZE(i2c_emma_resources_1),
},
[2] = {
.name = I2C_EMMA2RH,
.id = 2,
.resource = i2c_emma_resources_2,
.num_resources = ARRAY_SIZE(i2c_emma_resources_2),
},
}

Definition at line 83 of file platform.c.

struct resource i2c_emma_resources_1[]
Initial value:
= {
{
.name = NULL,
.flags = IORESOURCE_IRQ
}, {
.name = NULL,
.end = EMMA2RH_PIIC1_BASE + 0x1000,
.flags = 0
},
}

Definition at line 55 of file platform.c.

struct resource i2c_emma_resources_2[]
Initial value:
= {
{
.name = NULL,
.flags = IORESOURCE_IRQ
}, {
.name = NULL,
.end = EMMA2RH_PIIC2_BASE + 0x1000,
.flags = 0
},
}

Definition at line 69 of file platform.c.