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

Go to the source code of this file.

Macros

#define imx_flexcan_data_entry_single(soc, _id, _hwid, _size)
 
#define imx_flexcan_data_entry(soc, _id, _hwid, _size)   [_id] = imx_flexcan_data_entry_single(soc, _id, _hwid, _size)
 

Functions

struct platform_device *__init imx_add_flexcan (const struct imx_flexcan_data *data, const struct flexcan_platform_data *pdata)
 

Macro Definition Documentation

#define imx_flexcan_data_entry (   soc,
  _id,
  _hwid,
  _size 
)    [_id] = imx_flexcan_data_entry_single(soc, _id, _hwid, _size)

Definition at line 19 of file platform-flexcan.c.

#define imx_flexcan_data_entry_single (   soc,
  _id,
  _hwid,
  _size 
)
Value:
{ \
.id = _id, \
.iobase = soc ## _CAN ## _hwid ## _BASE_ADDR, \
.iosize = _size, \
.irq = soc ## _INT_CAN ## _hwid, \
}

Definition at line 11 of file platform-flexcan.c.

Function Documentation

struct platform_device* __init imx_add_flexcan ( const struct imx_flexcan_data data,
const struct flexcan_platform_data pdata 
)
read

Definition at line 40 of file platform-flexcan.c.