|
| module_param (use_spi_crc, bool, 0) |
|
| EXPORT_SYMBOL (mmc_assume_removable) |
|
| module_param_named (removable, mmc_assume_removable, bool, 0644) |
|
| MODULE_PARM_DESC (removable,"MMC/SD cards are removable and may be removed during suspend") |
|
void | mmc_request_done (struct mmc_host *host, struct mmc_request *mrq) |
|
| EXPORT_SYMBOL (mmc_request_done) |
|
void | mmc_start_bkops (struct mmc_card *card, bool from_exception) |
|
| EXPORT_SYMBOL (mmc_start_bkops) |
|
struct mmc_async_req * | mmc_start_req (struct mmc_host *host, struct mmc_async_req *areq, int *error) |
|
| EXPORT_SYMBOL (mmc_start_req) |
|
void | mmc_wait_for_req (struct mmc_host *host, struct mmc_request *mrq) |
|
| EXPORT_SYMBOL (mmc_wait_for_req) |
|
int | mmc_interrupt_hpi (struct mmc_card *card) |
|
| EXPORT_SYMBOL (mmc_interrupt_hpi) |
|
int | mmc_wait_for_cmd (struct mmc_host *host, struct mmc_command *cmd, int retries) |
|
| EXPORT_SYMBOL (mmc_wait_for_cmd) |
|
int | mmc_stop_bkops (struct mmc_card *card) |
|
| EXPORT_SYMBOL (mmc_stop_bkops) |
|
int | mmc_read_bkops_status (struct mmc_card *card) |
|
| EXPORT_SYMBOL (mmc_read_bkops_status) |
|
void | mmc_set_data_timeout (struct mmc_data *data, const struct mmc_card *card) |
|
| EXPORT_SYMBOL (mmc_set_data_timeout) |
|
unsigned int | mmc_align_data_size (struct mmc_card *card, unsigned int sz) |
|
| EXPORT_SYMBOL (mmc_align_data_size) |
|
int | __mmc_claim_host (struct mmc_host *host, atomic_t *abort) |
|
| EXPORT_SYMBOL (__mmc_claim_host) |
|
int | mmc_try_claim_host (struct mmc_host *host) |
|
| EXPORT_SYMBOL (mmc_try_claim_host) |
|
void | mmc_release_host (struct mmc_host *host) |
|
| EXPORT_SYMBOL (mmc_release_host) |
|
void | mmc_set_chip_select (struct mmc_host *host, int mode) |
|
void | mmc_set_clock (struct mmc_host *host, unsigned int hz) |
|
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_vddrange_to_ocrmask (int vdd_min, int vdd_max) |
|
| EXPORT_SYMBOL (mmc_vddrange_to_ocrmask) |
|
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_attach_bus (struct mmc_host *host, const struct mmc_bus_ops *ops) |
|
void | mmc_detach_bus (struct mmc_host *host) |
|
void | mmc_detect_change (struct mmc_host *host, unsigned long delay) |
|
| EXPORT_SYMBOL (mmc_detect_change) |
|
void | mmc_init_erase (struct mmc_card *card) |
|
int | mmc_erase (struct mmc_card *card, unsigned int from, unsigned int nr, unsigned int arg) |
|
| EXPORT_SYMBOL (mmc_erase) |
|
int | mmc_can_erase (struct mmc_card *card) |
|
| EXPORT_SYMBOL (mmc_can_erase) |
|
int | mmc_can_trim (struct mmc_card *card) |
|
| EXPORT_SYMBOL (mmc_can_trim) |
|
int | mmc_can_discard (struct mmc_card *card) |
|
| EXPORT_SYMBOL (mmc_can_discard) |
|
int | mmc_can_sanitize (struct mmc_card *card) |
|
| EXPORT_SYMBOL (mmc_can_sanitize) |
|
int | mmc_can_secure_erase_trim (struct mmc_card *card) |
|
| EXPORT_SYMBOL (mmc_can_secure_erase_trim) |
|
int | mmc_erase_group_aligned (struct mmc_card *card, unsigned int from, unsigned int nr) |
|
| EXPORT_SYMBOL (mmc_erase_group_aligned) |
|
unsigned int | mmc_calc_max_discard (struct mmc_card *card) |
|
| EXPORT_SYMBOL (mmc_calc_max_discard) |
|
int | mmc_set_blocklen (struct mmc_card *card, unsigned int blocklen) |
|
| EXPORT_SYMBOL (mmc_set_blocklen) |
|
int | mmc_can_reset (struct mmc_card *card) |
|
| EXPORT_SYMBOL (mmc_can_reset) |
|
int | mmc_hw_reset (struct mmc_host *host) |
|
| EXPORT_SYMBOL (mmc_hw_reset) |
|
int | mmc_hw_reset_check (struct mmc_host *host) |
|
| EXPORT_SYMBOL (mmc_hw_reset_check) |
|
int | _mmc_detect_card_removed (struct mmc_host *host) |
|
int | mmc_detect_card_removed (struct mmc_host *host) |
|
| EXPORT_SYMBOL (mmc_detect_card_removed) |
|
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_power_save_host (struct mmc_host *host) |
|
| EXPORT_SYMBOL (mmc_power_save_host) |
|
int | mmc_power_restore_host (struct mmc_host *host) |
|
| EXPORT_SYMBOL (mmc_power_restore_host) |
|
int | mmc_card_awake (struct mmc_host *host) |
|
| EXPORT_SYMBOL (mmc_card_awake) |
|
int | mmc_card_sleep (struct mmc_host *host) |
|
| EXPORT_SYMBOL (mmc_card_sleep) |
|
int | mmc_card_can_sleep (struct mmc_host *host) |
|
| EXPORT_SYMBOL (mmc_card_can_sleep) |
|
int | mmc_flush_cache (struct mmc_card *card) |
|
| EXPORT_SYMBOL (mmc_flush_cache) |
|
int | mmc_cache_ctrl (struct mmc_host *host, u8 enable) |
|
| EXPORT_SYMBOL (mmc_cache_ctrl) |
|
| subsys_initcall (mmc_init) |
|
| module_exit (mmc_exit) |
|
| MODULE_LICENSE ("GPL") |
|
mmc_align_data_size - pads a transfer size to a more optimal value : the MMC card associated with the data transfer : original transfer size
Pads the original data size with a number of extra bytes in order to avoid controller bugs and/or performance hits (e.g. some controllers revert to PIO for certain sizes).
Returns the improved size, which might be unmodified.
Note that this function is only relevant when issuing a single scatter gather entry.
Definition at line 741 of file core.c.
mmc_start_req - start a non-blocking request : MMC host to start command : async request to start : out parameter returns 0 for success, otherwise non zero
Start a new MMC custom command request for a host. If there is on ongoing async request wait for completion of that request and start the new one and return. Does not wait for the new request to complete.
Returns the completed request, NULL in case of none completed.
Wait for the an ongoing request (previoulsy started) to complete and return the completed request. If there is no ongoing request, NULL is returned without waiting. NULL is not an error condition.
Definition at line 414 of file core.c.
u32 mmc_vddrange_to_ocrmask |
( |
int |
vdd_min, |
|
|
int |
vdd_max |
|
) |
| |
mmc_vddrange_to_ocrmask - Convert a voltage range to the OCR mask : minimum voltage value (mV) : maximum voltage value (mV)
This function returns the OCR mask bits according to the provided and values. If conversion is not possible the function returns 0.
Notes wrt boundary cases: This function sets the OCR bits for all boundary voltages, for example [3300:3400] range is translated to MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_VDD_34_35 mask.
Definition at line 1031 of file core.c.