Linux Kernel
3.7.1
|
#include <linux/err.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/gpio.h>
#include <linux/mmc/card.h>
#include <linux/mmc/host.h>
#include <linux/platform_data/pxa_sdhci.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include "sdhci.h"
#include "sdhci-pltfm.h"
Go to the source code of this file.
Macros | |
#define | SD_FIFO_PARAM 0xe0 |
#define | DIS_PAD_SD_CLK_GATE 0x0400 /* Turn on/off Dynamic SD Clock Gating */ |
#define | CLK_GATE_ON 0x0200 /* Disable/enable Clock Gate */ |
#define | CLK_GATE_CTL 0x0100 /* Clock Gate Control */ |
#define | CLK_GATE_SETTING_BITS |
#define | SD_CLOCK_BURST_SIZE_SETUP 0xe6 |
#define | SDCLK_SEL_SHIFT 8 |
#define | SDCLK_SEL_MASK 0x3 |
#define | SDCLK_DELAY_SHIFT 10 |
#define | SDCLK_DELAY_MASK 0x3c |
#define | SD_CE_ATA_2 0xea |
#define | MMC_CARD 0x1000 |
#define | MMC_WIDTH 0x0100 |
Functions | |
module_platform_driver (sdhci_pxav2_driver) | |
MODULE_DESCRIPTION ("SDHCI driver for pxav2") | |
MODULE_AUTHOR ("Marvell International Ltd.") | |
MODULE_LICENSE ("GPL v2") | |
#define CLK_GATE_CTL 0x0100 /* Clock Gate Control */ |
Definition at line 40 of file sdhci-pxav2.c.
#define CLK_GATE_ON 0x0200 /* Disable/enable Clock Gate */ |
Definition at line 39 of file sdhci-pxav2.c.
#define CLK_GATE_SETTING_BITS |
Definition at line 41 of file sdhci-pxav2.c.
#define DIS_PAD_SD_CLK_GATE 0x0400 /* Turn on/off Dynamic SD Clock Gating */ |
Definition at line 38 of file sdhci-pxav2.c.
#define MMC_CARD 0x1000 |
Definition at line 51 of file sdhci-pxav2.c.
#define MMC_WIDTH 0x0100 |
Definition at line 52 of file sdhci-pxav2.c.
#define SD_CE_ATA_2 0xea |
Definition at line 50 of file sdhci-pxav2.c.
#define SD_CLOCK_BURST_SIZE_SETUP 0xe6 |
Definition at line 44 of file sdhci-pxav2.c.
#define SD_FIFO_PARAM 0xe0 |
Definition at line 37 of file sdhci-pxav2.c.
#define SDCLK_DELAY_MASK 0x3c |
Definition at line 48 of file sdhci-pxav2.c.
#define SDCLK_DELAY_SHIFT 10 |
Definition at line 47 of file sdhci-pxav2.c.
#define SDCLK_SEL_MASK 0x3 |
Definition at line 46 of file sdhci-pxav2.c.
#define SDCLK_SEL_SHIFT 8 |
Definition at line 45 of file sdhci-pxav2.c.
MODULE_AUTHOR | ( | "Marvell International Ltd." | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |
module_platform_driver | ( | sdhci_pxav2_driver | ) |