Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
core.h File Reference
#include <linux/delay.h>

Go to the source code of this file.

Data Structures

struct  mmc_bus_ops
 

Macros

#define MMC_CMD_RETRIES   3
 

Functions

void mmc_attach_bus (struct mmc_host *host, const struct mmc_bus_ops *ops)
 
void mmc_detach_bus (struct mmc_host *host)
 
void mmc_init_erase (struct mmc_card *card)
 
void mmc_set_chip_select (struct mmc_host *host, int mode)
 
void mmc_set_clock (struct mmc_host *host, unsigned int hz)
 
void mmc_gate_clock (struct mmc_host *host)
 
void mmc_ungate_clock (struct mmc_host *host)
 
void mmc_set_ungated (struct mmc_host *host)
 
void mmc_set_bus_mode (struct mmc_host *host, unsigned int mode)
 
void mmc_set_bus_width (struct mmc_host *host, unsigned int width)
 
u32 mmc_select_voltage (struct mmc_host *host, u32 ocr)
 
int mmc_set_signal_voltage (struct mmc_host *host, int signal_voltage, bool cmd11)
 
void mmc_set_timing (struct mmc_host *host, unsigned int timing)
 
void mmc_set_driver_type (struct mmc_host *host, unsigned int drv_type)
 
void mmc_power_off (struct mmc_host *host)
 
void mmc_rescan (struct work_struct *work)
 
void mmc_start_host (struct mmc_host *host)
 
void mmc_stop_host (struct mmc_host *host)
 
int _mmc_detect_card_removed (struct mmc_host *host)
 
int mmc_attach_mmc (struct mmc_host *host)
 
int mmc_attach_sd (struct mmc_host *host)
 
int mmc_attach_sdio (struct mmc_host *host)
 
void mmc_add_host_debugfs (struct mmc_host *host)
 
void mmc_remove_host_debugfs (struct mmc_host *host)
 
void mmc_add_card_debugfs (struct mmc_card *card)
 
void mmc_remove_card_debugfs (struct mmc_card *card)
 

Variables

bool use_spi_crc
 

Macro Definition Documentation

#define MMC_CMD_RETRIES   3

Definition at line 16 of file core.h.

Function Documentation

int _mmc_detect_card_removed ( struct mmc_host host)

Definition at line 2071 of file core.c.

void mmc_add_card_debugfs ( struct mmc_card card)

Definition at line 321 of file debugfs.c.

void mmc_add_host_debugfs ( struct mmc_host host)

Definition at line 189 of file debugfs.c.

void mmc_attach_bus ( struct mmc_host host,
const struct mmc_bus_ops ops 
)

Definition at line 1415 of file core.c.

int mmc_attach_mmc ( struct mmc_host host)

Definition at line 1475 of file mmc.c.

int mmc_attach_sd ( struct mmc_host host)

Definition at line 1143 of file sd.c.

int mmc_attach_sdio ( struct mmc_host host)

Definition at line 1047 of file sdio.c.

void mmc_detach_bus ( struct mmc_host host)

Definition at line 1439 of file core.c.

void mmc_gate_clock ( struct mmc_host host)
void mmc_init_erase ( struct mmc_card card)

Definition at line 1481 of file core.c.

void mmc_power_off ( struct mmc_host host)

Definition at line 1336 of file core.c.

void mmc_remove_card_debugfs ( struct mmc_card card)

Definition at line 361 of file debugfs.c.

void mmc_remove_host_debugfs ( struct mmc_host host)

Definition at line 234 of file debugfs.c.

void mmc_rescan ( struct work_struct work)

Definition at line 2126 of file core.c.

u32 mmc_select_voltage ( struct mmc_host host,
u32  ocr 
)

Definition at line 1194 of file core.c.

void mmc_set_bus_mode ( struct mmc_host host,
unsigned int  mode 
)

Definition at line 963 of file core.c.

void mmc_set_bus_width ( struct mmc_host host,
unsigned int  width 
)

Definition at line 974 of file core.c.

void mmc_set_chip_select ( struct mmc_host host,
int  mode 
)

Definition at line 875 of file core.c.

void mmc_set_clock ( struct mmc_host host,
unsigned int  hz 
)

Definition at line 898 of file core.c.

void mmc_set_driver_type ( struct mmc_host host,
unsigned int  drv_type 
)

Definition at line 1268 of file core.c.

int mmc_set_signal_voltage ( struct mmc_host host,
int  signal_voltage,
bool  cmd11 
)

Definition at line 1219 of file core.c.

void mmc_set_timing ( struct mmc_host host,
unsigned int  timing 
)

Definition at line 1257 of file core.c.

void mmc_set_ungated ( struct mmc_host host)

Definition at line 955 of file core.c.

void mmc_start_host ( struct mmc_host host)

Definition at line 2192 of file core.c.

void mmc_stop_host ( struct mmc_host host)

Definition at line 2200 of file core.c.

void mmc_ungate_clock ( struct mmc_host host)

Variable Documentation

bool use_spi_crc

Definition at line 59 of file core.c.