Lines Matching defs:mmc
52 struct blk_desc *mmc_get_blk_desc(struct mmc *mmc) in mmc_get_blk_desc()
59 __weak int board_mmc_getwp(struct mmc *mmc) in board_mmc_getwp()
64 int mmc_getwp(struct mmc *mmc) in mmc_getwp()
80 __weak int board_mmc_getcd(struct mmc *mmc) in board_mmc_getcd()
87 void mmmc_trace_before_send(struct mmc *mmc, struct mmc_cmd *cmd) in mmmc_trace_before_send()
93 void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, int ret) in mmmc_trace_after_send()
145 void mmc_trace_state(struct mmc *mmc, struct mmc_cmd *cmd) in mmc_trace_state()
155 int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) in mmc_send_cmd()
167 int mmc_send_status(struct mmc *mmc, int timeout) in mmc_send_status()
211 int mmc_set_blocklen(struct mmc *mmc, int len) in mmc_set_blocklen()
225 static int mmc_read_blocks(struct mmc *mmc, void *dst, lbaint_t start, in mmc_read_blocks()
267 static int mmc_read_blocks_prepare(struct mmc *mmc, void *dst, lbaint_t start, in mmc_read_blocks_prepare()
315 struct mmc *mmc = find_mmc_device(dev_num); in mmc_bread_prepare() local
393 struct mmc *mmc = find_mmc_device(dev_num); in mmc_bread() local
452 void mmc_set_clock(struct mmc *mmc, uint clock) in mmc_set_clock()
465 static void mmc_set_bus_width(struct mmc *mmc, uint width) in mmc_set_bus_width()
472 static void mmc_set_timing(struct mmc *mmc, uint timing) in mmc_set_timing()
478 static int mmc_go_idle(struct mmc *mmc) in mmc_go_idle()
500 static int sd_send_op_cond(struct mmc *mmc) in sd_send_op_cond()
569 static int mmc_send_op_cond_iter(struct mmc *mmc, int use_arg) in mmc_send_op_cond_iter()
591 static int mmc_send_op_cond(struct mmc *mmc) in mmc_send_op_cond()
612 static int mmc_complete_op_cond(struct mmc *mmc) in mmc_complete_op_cond()
659 static int mmc_send_ext_csd(struct mmc *mmc, u8 *ext_csd) in mmc_send_ext_csd()
700 static int mmc_poll_for_busy(struct mmc *mmc, u8 send_status) in mmc_poll_for_busy()
741 static int __mmc_switch(struct mmc *mmc, u8 set, u8 index, u8 value, in __mmc_switch()
764 int mmc_switch(struct mmc *mmc, u8 set, u8 index, u8 value) in mmc_switch()
769 static int mmc_select_bus_width(struct mmc *mmc) in mmc_select_bus_width()
873 int mmc_send_tuning(struct mmc *mmc, u32 opcode) in mmc_send_tuning()
915 static int mmc_execute_tuning(struct mmc *mmc)
940 static int mmc_hs200_tuning(struct mmc *mmc)
946 int mmc_send_tuning(struct mmc *mmc, u32 opcode) { return 0; }
947 int mmc_execute_tuning(struct mmc *mmc) { return 0; }
948 static int mmc_hs200_tuning(struct mmc *mmc) { return 0; }
951 static int mmc_select_hs(struct mmc *mmc)
964 static int mmc_select_hs_ddr(struct mmc *mmc)
986 static int mmc_select_hs200(struct mmc *mmc)
1010 static int mmc_switch_to_hs400(struct mmc *mmc)
1023 static int mmc_select_hs400(struct mmc *mmc)
1061 static int mmc_select_hs400es(struct mmc *mmc)
1099 static int mmc_select_hs200(struct mmc *mmc) { return 0; }
1100 static int mmc_select_hs400(struct mmc *mmc) { return 0; }
1101 static int mmc_select_hs400es(struct mmc *mmc) { return 0; }
1104 static u32 mmc_select_card_type(struct mmc *mmc, u8 *ext_csd)
1155 static void mmc_set_bus_speed(struct mmc *mmc, u8 avail_type)
1170 static int mmc_change_freq(struct mmc *mmc)
1232 static int mmc_set_capacity(struct mmc *mmc, int part_num)
1260 int mmc_switch_part(struct mmc *mmc, unsigned int part_num)
1280 int mmc_hwpart_config(struct mmc *mmc,
1475 int mmc_getcd(struct mmc *mmc)
1492 static int sd_switch(struct mmc *mmc, int mode, int group, u8 value, u8 *resp)
1513 static int sd_change_freq(struct mmc *mmc)
1623 static int sd_read_ssr(struct mmc *mmc)
1711 static void mmc_set_ios(struct mmc *mmc)
1717 static bool mmc_card_busy(struct mmc *mmc)
1725 static bool mmc_can_card_busy(struct mmc *)
1731 static int mmc_startup(struct mmc *mmc)
2131 static int mmc_send_if_cond(struct mmc *mmc)
2163 static int mmc_power_init(struct mmc *mmc)
2194 static int mmc_select_card(struct mmc *mmc, int n)
2211 int mmc_start_init(struct mmc *mmc)
2236 int mmc_start_init(struct mmc *mmc)
2310 static int mmc_complete_init(struct mmc *mmc)
2327 int mmc_init(struct mmc *mmc)
2352 int mmc_set_dsr(struct mmc *mmc, u16 val)
2370 void mmc_set_preinit(struct mmc *mmc, int preinit)
2445 int mmc_set_bkops_enable(struct mmc *mmc)