Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mfp.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/list.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/string.h>
#include <linux/clk.h>
#include <linux/mutex.h>
#include <linux/io.h>
#include <mach/hardware.h>

Go to the source code of this file.

Macros

#define REG_MFSEL   (W90X900_VA_GCR + 0xC)
 
#define GPSELF   (0x01 << 1)
 
#define GPSELC   (0x03 << 2)
 
#define GPSELD   (0x0f << 4)
 
#define GPSELEI0   (0x01 << 26)
 
#define GPSELEI1   (0x01 << 27)
 
#define GPIOG0TO1   (0x03 << 14)
 
#define GPIOG2TO3   (0x03 << 16)
 
#define GPIOG22TO23   (0x03 << 22)
 
#define GPIOG18TO20   (0x07 << 18)
 
#define ENSPI   (0x0a << 14)
 
#define ENI2C0   (0x01 << 14)
 
#define ENI2C1   (0x01 << 16)
 
#define ENAC97   (0x02 << 22)
 
#define ENSD1   (0x02 << 18)
 
#define ENSD0   (0x0a << 4)
 
#define ENKPI   (0x02 << 2)
 
#define ENNAND   (0x01 << 2)
 

Functions

void mfp_set_groupf (struct device *dev)
 
 EXPORT_SYMBOL (mfp_set_groupf)
 
void mfp_set_groupc (struct device *dev)
 
 EXPORT_SYMBOL (mfp_set_groupc)
 
void mfp_set_groupi (struct device *dev)
 
 EXPORT_SYMBOL (mfp_set_groupi)
 
void mfp_set_groupg (struct device *dev, const char *subname)
 
 EXPORT_SYMBOL (mfp_set_groupg)
 
void mfp_set_groupd (struct device *dev, const char *subname)
 
 EXPORT_SYMBOL (mfp_set_groupd)
 

Macro Definition Documentation

#define ENAC97   (0x02 << 22)

Definition at line 43 of file mfp.c.

#define ENI2C0   (0x01 << 14)

Definition at line 41 of file mfp.c.

#define ENI2C1   (0x01 << 16)

Definition at line 42 of file mfp.c.

#define ENKPI   (0x02 << 2)

Definition at line 46 of file mfp.c.

#define ENNAND   (0x01 << 2)

Definition at line 47 of file mfp.c.

#define ENSD0   (0x0a << 4)

Definition at line 45 of file mfp.c.

#define ENSD1   (0x02 << 18)

Definition at line 44 of file mfp.c.

#define ENSPI   (0x0a << 14)

Definition at line 40 of file mfp.c.

#define GPIOG0TO1   (0x03 << 14)

Definition at line 35 of file mfp.c.

#define GPIOG18TO20   (0x07 << 18)

Definition at line 38 of file mfp.c.

#define GPIOG22TO23   (0x03 << 22)

Definition at line 37 of file mfp.c.

#define GPIOG2TO3   (0x03 << 16)

Definition at line 36 of file mfp.c.

#define GPSELC   (0x03 << 2)

Definition at line 29 of file mfp.c.

#define GPSELD   (0x0f << 4)

Definition at line 30 of file mfp.c.

#define GPSELEI0   (0x01 << 26)

Definition at line 32 of file mfp.c.

#define GPSELEI1   (0x01 << 27)

Definition at line 33 of file mfp.c.

#define GPSELF   (0x01 << 1)

Definition at line 28 of file mfp.c.

#define REG_MFSEL   (W90X900_VA_GCR + 0xC)

Definition at line 26 of file mfp.c.

Function Documentation

EXPORT_SYMBOL ( mfp_set_groupf  )
EXPORT_SYMBOL ( mfp_set_groupc  )
EXPORT_SYMBOL ( mfp_set_groupi  )
EXPORT_SYMBOL ( mfp_set_groupg  )
EXPORT_SYMBOL ( mfp_set_groupd  )
void mfp_set_groupc ( struct device dev)

Definition at line 75 of file mfp.c.

void mfp_set_groupd ( struct device dev,
const char subname 
)

Definition at line 174 of file mfp.c.

void mfp_set_groupf ( struct device dev)

Definition at line 51 of file mfp.c.

void mfp_set_groupg ( struct device dev,
const char subname 
)

Definition at line 133 of file mfp.c.

void mfp_set_groupi ( struct device dev)

Definition at line 105 of file mfp.c.