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

Go to the source code of this file.

Data Structures

struct  sdhci_tegra_soc_data
 
struct  sdhci_tegra
 

Macros

#define SDHCI_TEGRA_VENDOR_MISC_CTRL   0x120
 
#define SDHCI_MISC_CTRL_ENABLE_SDHCI_SPEC_300   0x20
 
#define NVQUIRK_FORCE_SDHCI_SPEC_200   BIT(0)
 
#define NVQUIRK_ENABLE_BLOCK_GAP_DET   BIT(1)
 
#define NVQUIRK_ENABLE_SDHCI_SPEC_300   BIT(2)
 

Functions

 MODULE_DEVICE_TABLE (of, sdhci_dt_ids)
 
 module_platform_driver (sdhci_tegra_driver)
 
 MODULE_DESCRIPTION ("SDHCI driver for Tegra")
 
 MODULE_AUTHOR ("Google, Inc.")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define NVQUIRK_ENABLE_BLOCK_GAP_DET   BIT(1)

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

#define NVQUIRK_ENABLE_SDHCI_SPEC_300   BIT(2)

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

#define NVQUIRK_FORCE_SDHCI_SPEC_200   BIT(0)

Definition at line 38 of file sdhci-tegra.c.

#define SDHCI_MISC_CTRL_ENABLE_SDHCI_SPEC_300   0x20

Definition at line 36 of file sdhci-tegra.c.

#define SDHCI_TEGRA_VENDOR_MISC_CTRL   0x120

Definition at line 35 of file sdhci-tegra.c.

Function Documentation

MODULE_AUTHOR ( Google,
Inc."   
)
MODULE_DESCRIPTION ( "SDHCI driver for Tegra"  )
MODULE_DEVICE_TABLE ( of  ,
sdhci_dt_ids   
)
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( sdhci_tegra_driver  )