|
| static hpm_stat_t | emmc_set_rca (emmc_card_t *card, uint16_t relative_addr) |
| | Set Relative Address. More...
|
| |
| static hpm_stat_t | emmc_send_csd (emmc_card_t *card) |
| | Send CSD register. More...
|
| |
| static hpm_stat_t | emmc_send_ext_csd (emmc_card_t *card) |
| | Send Extend CSD register. More...
|
| |
| static hpm_stat_t | emmc_decode_ext_csd (emmc_card_t *card, const emmc_ext_csd_t *ext_csd) |
| |
| static hpm_stat_t | emmc_polling_card_status_busy (emmc_card_t *card, uint32_t timeout_ms) |
| |
| static hpm_stat_t | emmc_send_op_cond (const emmc_card_t *card, emmc_ocr_t ocr) |
| |
| static void | emmc_decode_csd (emmc_card_t *card, const uint32_t *raw_csd) |
| |
| static hpm_stat_t | emmc_set_bus_width (const emmc_card_t *card, emmc_bus_mode_t bus_mode) |
| |
| static hpm_stat_t | emmc_set_hs_timing (emmc_card_t *card, emmc_hs_timing_t timing) |
| |
| static hpm_stat_t | emmc_check_card_parameters (const emmc_card_t *card) |
| |
| static hpm_stat_t | emmc_error_recovery (const emmc_card_t *card) |
| |
| static hpm_stat_t | emmc_send_cmd (const emmc_card_t *card, const sdmmchost_cmd_t *cmd) |
| |
| static hpm_stat_t | emmc_transfer (const emmc_card_t *card, const sdmmchost_xfer_t *content) |
| |
| static hpm_stat_t | emmc_send_card_status (emmc_card_t *card) |
| |
| static uint32_t | emmc_get_24bit_num_from_ext_csd (const uint8_t *array) |
| |
| static hpm_stat_t | emmc_all_send_cid (emmc_card_t *card) |
| |
| hpm_stat_t | emmc_send_cid (emmc_card_t *card) |
| | Request eMMC device to send CID to Host. More...
|
| |
| hpm_stat_t | emmc_host_init (emmc_card_t *card) |
| |
| hpm_stat_t | emmc_init (emmc_card_t *card) |
| | Initialize eMMC device, include both host and the device. More...
|
| |
| void | emmc_deinit (emmc_card_t *card) |
| | De-Initialize eMMC device. More...
|
| |
| hpm_stat_t | emmc_probe_device (emmc_card_t *card) |
| | Probe eMMC device. More...
|
| |
| hpm_stat_t | emmc_card_init (emmc_card_t *card) |
| | Initialize eMMC device. More...
|
| |
| bool | emmc_is_card_present (const emmc_card_t *card) |
| |
| hpm_stat_t | emmc_select_card (const emmc_card_t *card, bool is_selected) |
| | Select eMMC device. More...
|
| |
| hpm_stat_t | emmc_read_blocks (emmc_card_t *card, uint8_t *buffer, uint32_t start_block, uint32_t block_count) |
| | Read eMMC blocks. More...
|
| |
| hpm_stat_t | emmc_write_blocks (emmc_card_t *card, const uint8_t *buffer, uint32_t start_block, uint32_t block_count) |
| | Write eMMC blocks. More...
|
| |
| static uint32_t | emmc_calculate_erase_timeout (const emmc_card_t *card, uint32_t start_block, uint32_t block_count) |
| | Calculate SD erase timeout value Refer to SD_Specification_Part1_Physical_Layer_Specification_Version4.20.pdf, section 4.14 for more details. More...
|
| |
| hpm_stat_t | emmc_erase_blocks (emmc_card_t *card, uint32_t start_block, uint32_t block_count, emmc_erase_option_t erase_option) |
| | Erase eMMC Blocks. More...
|
| |
| hpm_stat_t | emmc_switch_function (const emmc_card_t *card, emmc_switch_cmd_arg_t arg, uint32_t timeout_us) |
| | Switch eMMC function. More...
|
| |
| hpm_stat_t | emmc_configure_partition (const emmc_card_t *card, emmc_config_partition_option_t option) |
| | Configure eMMC Partition. More...
|
| |
| hpm_stat_t | emmc_enter_sleep_mode (const emmc_card_t *card) |
| | Switch eMMC device into sleep mode. More...
|
| |
| hpm_stat_t | emmc_exit_sleep_mode (const emmc_card_t *card) |
| | Switch eMMC device into standby mode. More...
|
| |