Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sdhci-pxav3.c File Reference
#include <linux/err.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/gpio.h>
#include <linux/mmc/card.h>
#include <linux/mmc/host.h>
#include <linux/mmc/slot-gpio.h>
#include <linux/platform_data/pxa_sdhci.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_gpio.h>
#include "sdhci.h"
#include "sdhci-pltfm.h"

Go to the source code of this file.

Macros

#define SD_CLOCK_BURST_SIZE_SETUP   0x10A
 
#define SDCLK_SEL   0x100
 
#define SDCLK_DELAY_SHIFT   9
 
#define SDCLK_DELAY_MASK   0x1f
 
#define SD_CFG_FIFO_PARAM   0x100
 
#define SDCFG_GEN_PAD_CLK_ON   (1<<6)
 
#define SDCFG_GEN_PAD_CLK_CNT_MASK   0xFF
 
#define SDCFG_GEN_PAD_CLK_CNT_SHIFT   24
 
#define SD_SPI_MODE   0x108
 
#define SD_CE_ATA_1   0x10C
 
#define SD_CE_ATA_2   0x10E
 
#define SDCE_MISC_INT   (1<<2)
 
#define SDCE_MISC_INT_EN   (1<<1)
 
#define MAX_WAIT_COUNT   5
 

Functions

 module_platform_driver (sdhci_pxav3_driver)
 
 MODULE_DESCRIPTION ("SDHCI driver for pxav3")
 
 MODULE_AUTHOR ("Marvell International Ltd.")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define MAX_WAIT_COUNT   5

Definition at line 78 of file sdhci-pxav3.c.

#define SD_CE_ATA_1   0x10C

Definition at line 50 of file sdhci-pxav3.c.

#define SD_CE_ATA_2   0x10E

Definition at line 52 of file sdhci-pxav3.c.

#define SD_CFG_FIFO_PARAM   0x100

Definition at line 44 of file sdhci-pxav3.c.

#define SD_CLOCK_BURST_SIZE_SETUP   0x10A

Definition at line 39 of file sdhci-pxav3.c.

#define SD_SPI_MODE   0x108

Definition at line 49 of file sdhci-pxav3.c.

#define SDCE_MISC_INT   (1<<2)

Definition at line 53 of file sdhci-pxav3.c.

#define SDCE_MISC_INT_EN   (1<<1)

Definition at line 54 of file sdhci-pxav3.c.

#define SDCFG_GEN_PAD_CLK_CNT_MASK   0xFF

Definition at line 46 of file sdhci-pxav3.c.

#define SDCFG_GEN_PAD_CLK_CNT_SHIFT   24

Definition at line 47 of file sdhci-pxav3.c.

#define SDCFG_GEN_PAD_CLK_ON   (1<<6)

Definition at line 45 of file sdhci-pxav3.c.

#define SDCLK_DELAY_MASK   0x1f

Definition at line 42 of file sdhci-pxav3.c.

#define SDCLK_DELAY_SHIFT   9

Definition at line 41 of file sdhci-pxav3.c.

#define SDCLK_SEL   0x100

Definition at line 40 of file sdhci-pxav3.c.

Function Documentation

MODULE_AUTHOR ( "Marvell International Ltd."  )
MODULE_DESCRIPTION ( "SDHCI driver for pxav3"  )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( sdhci_pxav3_driver  )