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

Go to the source code of this file.

Macros

#define imx_imx_udc_data_entry_single(soc, _size)
 
#define imx_imx_udc_data_entry(soc, _size)   [_id] = imx_imx_udc_data_entry_single(soc, _size)
 

Functions

struct platform_device *__init imx_add_imx_udc (const struct imx_imx_udc_data *data, const struct imxusb_platform_data *pdata)
 

Macro Definition Documentation

#define imx_imx_udc_data_entry (   soc,
  _size 
)    [_id] = imx_imx_udc_data_entry_single(soc, _size)

Definition at line 25 of file platform-imx_udc.c.

#define imx_imx_udc_data_entry_single (   soc,
  _size 
)
Value:
{ \
.iobase = soc ## _USBD_BASE_ADDR, \
.iosize = _size, \
.irq0 = soc ## _INT_USBD0, \
.irq1 = soc ## _INT_USBD1, \
.irq2 = soc ## _INT_USBD2, \
.irq3 = soc ## _INT_USBD3, \
.irq4 = soc ## _INT_USBD4, \
.irq5 = soc ## _INT_USBD5, \
.irq6 = soc ## _INT_USBD6, \
}

Definition at line 12 of file platform-imx_udc.c.

Function Documentation

struct platform_device* __init imx_add_imx_udc ( const struct imx_imx_udc_data data,
const struct imxusb_platform_data pdata 
)
read

Definition at line 33 of file platform-imx_udc.c.