Lines Matching defs:mmc
55 static void set_speed(struct mmc *mmc, uint32_t clock) in set_speed()
100 static int esdhc_init(struct mmc *mmc, bool card_detect) in esdhc_init()
183 static int esdhc_send_cmd(struct mmc *mmc, uint32_t cmd, uint32_t args) in esdhc_send_cmd()
279 static int esdhc_wait_response(struct mmc *mmc, uint32_t *response) in esdhc_wait_response()
354 static int mmc_switch_to_high_frquency(struct mmc *mmc) in mmc_switch_to_high_frquency()
410 static int esdhc_set_data_attributes(struct mmc *mmc, uint32_t *dest_ptr, in esdhc_set_data_attributes()
472 static int esdhc_read_data_nodma(struct mmc *mmc, void *dest_ptr, uint32_t len) in esdhc_read_data_nodma()
546 static int esdhc_write_data_nodma(struct mmc *mmc, void *src_ptr, uint32_t len) in esdhc_write_data_nodma()
616 static int esdhc_read_data_dma(struct mmc *mmc, uint32_t len) in esdhc_read_data_dma()
661 static int esdhc_write_data_dma(struct mmc *mmc, uint32_t len) in esdhc_write_data_dma()
706 int esdhc_read_data(struct mmc *mmc, void *dest_ptr, uint32_t len) in esdhc_read_data()
730 int esdhc_write_data(struct mmc *mmc, void *src_ptr, uint32_t len) in esdhc_write_data()
759 static int sd_switch_to_high_freq(struct mmc *mmc) in sd_switch_to_high_freq()
873 static int change_state_to_transfer_state(struct mmc *mmc) in change_state_to_transfer_state()
926 static int get_cid_rca_csd(struct mmc *mmc) in get_cid_rca_csd()
999 static int identify_mmc_card(struct mmc *mmc) in identify_mmc_card()
1056 static int check_for_sd_card(struct mmc *mmc) in check_for_sd_card()
1142 int esdhc_emmc_init(struct mmc *mmc, bool card_detect) in esdhc_emmc_init()
1229 struct mmc *mmc = NULL; in sd_mmc_init() local
1251 static int esdhc_read_block(struct mmc *mmc, void *dst, uint32_t block) in esdhc_read_block()
1297 static int esdhc_write_block(struct mmc *mmc, void *src, uint32_t block) in esdhc_write_block()
1343 int esdhc_read(struct mmc *mmc, uint32_t src_offset, uintptr_t dst, size_t size) in esdhc_read()
1404 int esdhc_write(struct mmc *mmc, uintptr_t src, uint32_t dst_offset, in esdhc_write()
1458 struct mmc *mmc = NULL; in ls_sd_emmc_read() local