Lines Matching defs:mmc

33 static int mmc_wait_dat0(struct mmc *mmc, int state, int timeout)  in mmc_wait_dat0()
39 __weak int board_mmc_getwp(struct mmc *mmc) in board_mmc_getwp()
44 int mmc_getwp(struct mmc *mmc) in mmc_getwp()
60 __weak int board_mmc_getcd(struct mmc *mmc) in board_mmc_getcd()
67 void mmmc_trace_before_send(struct mmc *mmc, struct mmc_cmd *cmd) in mmmc_trace_before_send()
73 void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, int ret) in mmmc_trace_after_send()
125 void mmc_trace_state(struct mmc *mmc, struct mmc_cmd *cmd) in mmc_trace_state()
159 static uint mmc_mode2freq(struct mmc *mmc, enum bus_mode mode) in mmc_mode2freq()
184 static int mmc_select_mode(struct mmc *mmc, enum bus_mode mode) in mmc_select_mode()
195 int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) in mmc_send_cmd()
207 int mmc_send_status(struct mmc *mmc, int timeout) in mmc_send_status()
252 int mmc_set_blocklen(struct mmc *mmc, int len) in mmc_set_blocklen()
315 int mmc_send_tuning(struct mmc *mmc, u32 opcode, int *cmd_error) in mmc_send_tuning()
354 static int mmc_read_blocks(struct mmc *mmc, void *dst, lbaint_t start, in mmc_read_blocks()
412 struct mmc *mmc = find_mmc_device(dev_num); in mmc_bread() local
452 static int mmc_go_idle(struct mmc *mmc) in mmc_go_idle()
474 static int mmc_switch_voltage(struct mmc *mmc, int signal_voltage) in mmc_switch_voltage()
535 static int sd_send_op_cond(struct mmc *mmc, bool uhs_en) in sd_send_op_cond()
615 static int mmc_send_op_cond_iter(struct mmc *mmc, int use_arg) in mmc_send_op_cond_iter()
636 static int mmc_send_op_cond(struct mmc *mmc) in mmc_send_op_cond()
657 static int mmc_complete_op_cond(struct mmc *mmc) in mmc_complete_op_cond()
704 static int mmc_send_ext_csd(struct mmc *mmc, u8 *ext_csd) in mmc_send_ext_csd()
725 int mmc_switch(struct mmc *mmc, u8 set, u8 index, u8 value) in mmc_switch()
755 static int mmc_set_card_speed(struct mmc *mmc, enum bus_mode mode) in mmc_set_card_speed()
798 static int mmc_get_capabilities(struct mmc *mmc) in mmc_get_capabilities()
840 static int mmc_set_capacity(struct mmc *mmc, int part_num) in mmc_set_capacity()
869 static int mmc_boot_part_access_chk(struct mmc *mmc, unsigned int part_num) in mmc_boot_part_access_chk()
893 static inline int mmc_boot_part_access_chk(struct mmc *mmc, in mmc_boot_part_access_chk()
900 int mmc_switch_part(struct mmc *mmc, unsigned int part_num) in mmc_switch_part()
925 int mmc_hwpart_config(struct mmc *mmc, in mmc_hwpart_config()
1121 int mmc_getcd(struct mmc *mmc) in mmc_getcd()
1139 static int sd_switch(struct mmc *mmc, int mode, int group, u8 value, u8 *resp) in sd_switch()
1159 static int sd_get_capabilities(struct mmc *mmc) in sd_get_capabilities()
1272 static int sd_set_card_speed(struct mmc *mmc, enum bus_mode mode) in sd_set_card_speed()
1317 static int sd_select_bus_width(struct mmc *mmc, int w) in sd_select_bus_width()
1348 static int sd_read_ssr(struct mmc *mmc) in sd_read_ssr()
1457 static int mmc_execute_tuning(struct mmc *mmc, uint opcode) in mmc_execute_tuning()
1463 static void mmc_send_init_stream(struct mmc *mmc) in mmc_send_init_stream()
1467 static int mmc_set_ios(struct mmc *mmc) in mmc_set_ios()
1478 int mmc_set_clock(struct mmc *mmc, uint clock, bool disable) in mmc_set_clock()
1496 static int mmc_set_bus_width(struct mmc *mmc, uint width) in mmc_set_bus_width()
1548 static int mmc_set_signal_voltage(struct mmc *mmc, uint signal_voltage) in mmc_set_signal_voltage()
1563 static inline int mmc_set_signal_voltage(struct mmc *mmc, uint signal_voltage) in mmc_set_signal_voltage()
1614 static int sd_select_mode_and_width(struct mmc *mmc, uint card_caps) in sd_select_mode_and_width()
1701 static int mmc_read_and_compare_ext_csd(struct mmc *mmc) in mmc_read_and_compare_ext_csd()
1731 static int mmc_set_lowest_voltage(struct mmc *mmc, enum bus_mode mode, in mmc_set_lowest_voltage()
1768 static inline int mmc_set_lowest_voltage(struct mmc *mmc, enum bus_mode mode, in mmc_set_lowest_voltage()
1825 static int mmc_select_mode_and_width(struct mmc *mmc, uint card_caps) in mmc_select_mode_and_width()
1928 static int mmc_startup_v4(struct mmc *mmc) in mmc_startup_v4()
2126 static int mmc_startup(struct mmc *mmc) in mmc_startup()
2371 static int mmc_send_if_cond(struct mmc *mmc) in mmc_send_if_cond()
2401 static int mmc_power_init(struct mmc *mmc) in mmc_power_init()
2432 static void mmc_set_initial_state(struct mmc *mmc) in mmc_set_initial_state()
2448 static int mmc_power_on(struct mmc *mmc) in mmc_power_on()
2463 static int mmc_power_off(struct mmc *mmc) in mmc_power_off()
2479 static int mmc_power_cycle(struct mmc *mmc) in mmc_power_cycle()
2494 int mmc_start_init(struct mmc *mmc) in mmc_start_init()
2606 static int mmc_complete_init(struct mmc *mmc) in mmc_complete_init()
2623 int mmc_init(struct mmc *mmc) in mmc_init()
2648 int mmc_set_dsr(struct mmc *mmc, u16 val) in mmc_set_dsr()
2666 void mmc_set_preinit(struct mmc *mmc, int preinit) in mmc_set_preinit()
2736 int mmc_set_bkops_enable(struct mmc *mmc) in mmc_set_bkops_enable()