Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
platform-imx-ssi.c File Reference
#include <mach/hardware.h>
#include <mach/devices-common.h>

Go to the source code of this file.

Macros

#define imx_imx_ssi_data_entry(soc, _id, _hwid, _size)
 
#define DMARES(_name)
 

Functions

struct platform_device *__init imx_add_imx_ssi (const struct imx_imx_ssi_data *data, const struct imx_ssi_platform_data *pdata)
 

Macro Definition Documentation

#define DMARES (   _name)
Value:
{ \
.name = #_name, \
.start = data->dma ## _name, \
.end = data->dma ## _name, \
.flags = IORESOURCE_DMA, \
}
#define imx_imx_ssi_data_entry (   soc,
  _id,
  _hwid,
  _size 
)
Value:
[_id] = { \
.id = _id, \
.iobase = soc ## _SSI ## _hwid ## _BASE_ADDR, \
.iosize = _size, \
.irq = soc ## _INT_SSI ## _hwid, \
.dmatx0 = soc ## _DMA_REQ_SSI ## _hwid ## _TX0, \
.dmarx0 = soc ## _DMA_REQ_SSI ## _hwid ## _RX0, \
.dmatx1 = soc ## _DMA_REQ_SSI ## _hwid ## _TX1, \
.dmarx1 = soc ## _DMA_REQ_SSI ## _hwid ## _RX1, \
}

Definition at line 12 of file platform-imx-ssi.c.

Function Documentation

struct platform_device* __init imx_add_imx_ssi ( const struct imx_imx_ssi_data data,
const struct imx_ssi_platform_data pdata 
)
read

Definition at line 89 of file platform-imx-ssi.c.