Linux Kernel
3.7.1
|
#include <linux/delay.h>
#include <linux/highmem.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/dma-mapping.h>
#include <linux/slab.h>
#include <linux/scatterlist.h>
#include <linux/regulator/consumer.h>
#include <linux/pm_runtime.h>
#include <linux/leds.h>
#include <linux/mmc/mmc.h>
#include <linux/mmc/host.h>
#include <linux/mmc/card.h>
#include <linux/mmc/slot-gpio.h>
#include "sdhci.h"
Go to the source code of this file.
Macros | |
#define | DRIVER_NAME "sdhci" |
#define | DBG(f, x...) pr_debug(DRIVER_NAME " [%s()]: " f, __func__,## x) |
#define | MAX_TUNING_LOOP 40 |
#define | SAMPLE_COUNT 5 |
Functions | |
struct sdhci_host * | sdhci_alloc_host (struct device *dev, size_t priv_size) |
EXPORT_SYMBOL_GPL (sdhci_alloc_host) | |
int | sdhci_add_host (struct sdhci_host *host) |
EXPORT_SYMBOL_GPL (sdhci_add_host) | |
void | sdhci_remove_host (struct sdhci_host *host, int dead) |
EXPORT_SYMBOL_GPL (sdhci_remove_host) | |
void | sdhci_free_host (struct sdhci_host *host) |
EXPORT_SYMBOL_GPL (sdhci_free_host) | |
module_init (sdhci_drv_init) | |
module_exit (sdhci_drv_exit) | |
module_param (debug_quirks, uint, 0444) | |
module_param (debug_quirks2, uint, 0444) | |
MODULE_AUTHOR ("Pierre Ossman <[email protected]>") | |
MODULE_DESCRIPTION ("Secure Digital Host Controller Interface core driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_PARM_DESC (debug_quirks,"Force certain quirks.") | |
MODULE_PARM_DESC (debug_quirks2,"Force certain other quirks.") | |
#define DBG | ( | f, | |
x... | |||
) | pr_debug(DRIVER_NAME " [%s()]: " f, __func__,## x) |
EXPORT_SYMBOL_GPL | ( | sdhci_alloc_host | ) |
EXPORT_SYMBOL_GPL | ( | sdhci_add_host | ) |
EXPORT_SYMBOL_GPL | ( | sdhci_remove_host | ) |
EXPORT_SYMBOL_GPL | ( | sdhci_free_host | ) |
MODULE_AUTHOR | ( | "Pierre Ossman <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Secure Digital Host Controller Interface core driver" | ) |
module_exit | ( | sdhci_drv_exit | ) |
module_init | ( | sdhci_drv_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | debug_quirks | , |
uint | , | ||
0444 | |||
) |
module_param | ( | debug_quirks2 | , |
uint | , | ||
0444 | |||
) |
MODULE_PARM_DESC | ( | debug_quirks | , |
"Force certain quirks." | |||
) |
MODULE_PARM_DESC | ( | debug_quirks2 | , |
"Force certain other quirks." | |||
) |
int sdhci_add_host | ( | struct sdhci_host * | host | ) |
|
read |
void sdhci_free_host | ( | struct sdhci_host * | host | ) |