Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
devices-msm7x00.c File Reference
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/clkdev.h>
#include <mach/irqs.h>
#include <mach/msm_iomap.h>
#include "devices.h"
#include <asm/mach/flash.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include "clock.h"
#include "clock-pcom.h"
#include <linux/platform_data/mmc-msm_sdcc.h>

Go to the source code of this file.

Functions

int __init msm_add_sdcc (unsigned int controller, struct msm_mmc_platform_data *plat, unsigned int stat_irq, unsigned long stat_irq_flags)
 

Variables

struct platform_device msm_device_uart1
 
struct platform_device msm_device_uart2
 
struct platform_device msm_device_uart3
 
struct platform_device msm_device_i2c
 
struct platform_device msm_device_hsusb
 
struct flash_platform_data msm_nand_data
 
struct platform_device msm_device_nand
 
struct platform_device msm_device_smd
 
struct platform_device msm_device_sdc1
 
struct platform_device msm_device_sdc2
 
struct platform_device msm_device_sdc3
 
struct platform_device msm_device_sdc4
 
struct platform_device msm_device_mddi0
 
struct platform_device msm_device_mddi1
 
struct platform_device msm_device_mdp
 
struct clk_lookup msm_clocks_7x01a []
 
unsigned msm_num_clocks_7x01a = ARRAY_SIZE(msm_clocks_7x01a)
 

Function Documentation

int __init msm_add_sdcc ( unsigned int  controller,
struct msm_mmc_platform_data plat,
unsigned int  stat_irq,
unsigned long  stat_irq_flags 
)

Definition at line 305 of file devices-msm7x00.c.

Variable Documentation

struct clk_lookup msm_clocks_7x01a[]

Definition at line 397 of file devices-msm7x00.c.

struct platform_device msm_device_hsusb
Initial value:
= {
.name = "msm_hsusb",
.id = -1,
.num_resources = ARRAY_SIZE(resources_hsusb),
.resource = resources_hsusb,
.dev = {
.coherent_dma_mask = 0xffffffff,
},
}

Definition at line 128 of file devices-msm7x00.c.

struct platform_device msm_device_i2c
Initial value:
= {
.name = "msm_i2c",
.id = 0,
.num_resources = ARRAY_SIZE(resources_i2c),
.resource = resources_i2c,
}

Definition at line 108 of file devices-msm7x00.c.

struct platform_device msm_device_mddi0
Initial value:
= {
.name = "msm_mddi",
.id = 0,
.num_resources = ARRAY_SIZE(resources_mddi0),
.resource = resources_mddi0,
.dev = {
.coherent_dma_mask = 0xffffffff,
},
}

Definition at line 356 of file devices-msm7x00.c.

struct platform_device msm_device_mddi1
Initial value:
= {
.name = "msm_mddi",
.id = 1,
.num_resources = ARRAY_SIZE(resources_mddi1),
.resource = resources_mddi1,
.dev = {
.coherent_dma_mask = 0xffffffff,
},
}

Definition at line 366 of file devices-msm7x00.c.

struct platform_device msm_device_mdp
Initial value:
= {
.name = "msm_mdp",
.id = 0,
.num_resources = ARRAY_SIZE(resources_mdp),
.resource = resources_mdp,
}

Definition at line 390 of file devices-msm7x00.c.

struct platform_device msm_device_nand
Initial value:
= {
.name = "msm_nand",
.id = -1,
.num_resources = ARRAY_SIZE(resources_nand),
.resource = resources_nand,
.dev = {
.platform_data = &msm_nand_data,
},
}

Definition at line 151 of file devices-msm7x00.c.

struct platform_device msm_device_sdc1
Initial value:
= {
.name = "msm_sdcc",
.id = 1,
.num_resources = ARRAY_SIZE(resources_sdc1),
.resource = resources_sdc1,
.dev = {
.coherent_dma_mask = 0xffffffff,
},
}

Definition at line 258 of file devices-msm7x00.c.

struct platform_device msm_device_sdc2
Initial value:
= {
.name = "msm_sdcc",
.id = 2,
.num_resources = ARRAY_SIZE(resources_sdc2),
.resource = resources_sdc2,
.dev = {
.coherent_dma_mask = 0xffffffff,
},
}

Definition at line 268 of file devices-msm7x00.c.

struct platform_device msm_device_sdc3
Initial value:
= {
.name = "msm_sdcc",
.id = 3,
.num_resources = ARRAY_SIZE(resources_sdc3),
.resource = resources_sdc3,
.dev = {
.coherent_dma_mask = 0xffffffff,
},
}

Definition at line 278 of file devices-msm7x00.c.

struct platform_device msm_device_sdc4
Initial value:
= {
.name = "msm_sdcc",
.id = 4,
.num_resources = ARRAY_SIZE(resources_sdc4),
.resource = resources_sdc4,
.dev = {
.coherent_dma_mask = 0xffffffff,
},
}

Definition at line 288 of file devices-msm7x00.c.

struct platform_device msm_device_smd
Initial value:
= {
.name = "msm_smd",
.id = -1,
}

Definition at line 161 of file devices-msm7x00.c.

struct platform_device msm_device_uart1
Initial value:
= {
.name = "msm_serial",
.id = 0,
.num_resources = ARRAY_SIZE(resources_uart1),
.resource = resources_uart1,
}

Definition at line 74 of file devices-msm7x00.c.

struct platform_device msm_device_uart2
Initial value:
= {
.name = "msm_serial",
.id = 1,
.num_resources = ARRAY_SIZE(resources_uart2),
.resource = resources_uart2,
}

Definition at line 81 of file devices-msm7x00.c.

struct platform_device msm_device_uart3
Initial value:
= {
.name = "msm_serial",
.id = 2,
.num_resources = ARRAY_SIZE(resources_uart3),
.resource = resources_uart3,
}

Definition at line 88 of file devices-msm7x00.c.

struct flash_platform_data msm_nand_data
Initial value:
= {
.parts = NULL,
.nr_parts = 0,
}

Definition at line 138 of file devices-msm7x00.c.

unsigned msm_num_clocks_7x01a = ARRAY_SIZE(msm_clocks_7x01a)

Definition at line 441 of file devices-msm7x00.c.