Lines Matching defs:mmc

99 static inline struct octeontx_mmc_slot *mmc_to_slot(struct mmc *mmc)  in mmc_to_slot()
104 static inline struct octeontx_mmc_host *mmc_to_host(struct mmc *mmc) in mmc_to_host()
185 static void octeontx_print_rsp_sts(struct mmc *mmc) in octeontx_print_rsp_sts()
255 static inline u64 read_csr(struct mmc *mmc, u64 reg) in read_csr()
274 static inline void write_csr(struct mmc *mmc, u64 reg, u64 value) in write_csr()
357 static void octeontx_mmc_print_registers2(struct mmc *mmc, in octeontx_mmc_print_registers2()
690 static void octeontx_mmc_print_registers(struct mmc *mmc) in octeontx_mmc_print_registers()
701 static void octeontx_mmc_print_registers(struct mmc *mmc) in octeontx_mmc_print_registers()
786 octeontx_mmc_get_cr_mods(struct mmc *mmc, const struct mmc_cmd *cmd, in octeontx_mmc_get_cr_mods()
833 static void octeontx_mmc_track_switch(struct mmc *mmc, u32 cmd_arg) in octeontx_mmc_track_switch()
888 static int octeontx_mmc_print_rsp_errors(struct mmc *mmc, in octeontx_mmc_print_rsp_errors()
938 static void octeontx_mmc_start_dma(struct mmc *mmc, bool write, in octeontx_mmc_start_dma()
1005 static void octeontx_mmc_cleanup_dma(struct mmc *mmc, in octeontx_mmc_cleanup_dma()
1048 static int octeontx_mmc_wait_dma(struct mmc *mmc, bool write, ulong timeout, in octeontx_mmc_wait_dma()
1145 static int octeontx_mmc_read_blocks(struct mmc *mmc, struct mmc_cmd *cmd, in octeontx_mmc_read_blocks()
1235 static int octeontx_mmc_poll_ready(struct mmc *mmc, ulong timeout) in octeontx_mmc_poll_ready()
1265 static ulong octeontx_mmc_write_blocks(struct mmc *mmc, struct mmc_cmd *cmd, in octeontx_mmc_write_blocks()
1347 static int octeontx_mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in octeontx_mmc_send_cmd()
1635 static int octeontx_mmc_test_cmd(struct mmc *mmc, u32 opcode, int *statp) in octeontx_mmc_test_cmd()
1656 static int octeontx_mmc_test_get_ext_csd(struct mmc *mmc, u32 opcode, in octeontx_mmc_test_get_ext_csd()
1697 static void octeontx_mmc_set_emm_timing(struct mmc *mmc, in octeontx_mmc_set_emm_timing()
1813 static int octeontx_tune_hs400(struct mmc *mmc) in octeontx_tune_hs400()
2026 static int octeontx_mmc_adjust_tuning(struct mmc *mmc, struct adj *adj, in octeontx_mmc_adjust_tuning()
2266 struct mmc *mmc = dev_to_mmc(dev); in octeontx_mmc_execute_tuning() local
2419 static void octeontx_mmc_set_emm_timing(struct mmc *mmc, in octeontx_mmc_set_emm_timing()
2431 static u32 octeontx_mmc_calc_clk_period(struct mmc *mmc) in octeontx_mmc_calc_clk_period()
2445 struct mmc *mmc = &slot->mmc; in octeontx_mmc_set_ios() local
2613 static int octeontx_mmc_configure_delay(struct mmc *mmc) in octeontx_mmc_configure_delay()
2628 static void octeontx_mmc_io_drive_setup(struct mmc *mmc) in octeontx_mmc_io_drive_setup()
2632 static void octeontx_mmc_set_timing(struct mmc *mmc) in octeontx_mmc_set_timing()
2658 static int octeontx_mmc_configure_delay(struct mmc *mmc) in octeontx_mmc_configure_delay()
2819 static void octeontx_mmc_io_drive_setup(struct mmc *mmc) in octeontx_mmc_io_drive_setup()
2842 static void set_wdog(struct mmc *mmc, u64 us) in set_wdog()
2866 static void check_switch_errors(struct mmc *mmc) in check_switch_errors()
2879 static void do_switch(struct mmc *mmc, union mio_emm_switch emm_switch) in do_switch()
2924 static int octeontx_mmc_set_input_bus_timing(struct mmc *mmc) in octeontx_mmc_set_input_bus_timing()
2929 static int octeontx_mmc_set_output_bus_timing(struct mmc *mmc) in octeontx_mmc_set_output_bus_timing()
2934 static int octeontx_mmc_calibrate_delay(struct mmc *mmc) in octeontx_mmc_calibrate_delay()
2947 static int octeontx2_mmc_calc_delay(struct mmc *mmc, int delay) in octeontx2_mmc_calc_delay()
2964 static int octeontx_mmc_calibrate_delay(struct mmc *mmc) in octeontx_mmc_calibrate_delay()
3073 static int octeontx_mmc_set_input_bus_timing(struct mmc *mmc) in octeontx_mmc_set_input_bus_timing()
3141 static int octeontx_mmc_set_output_bus_timing(struct mmc *mmc) in octeontx_mmc_set_output_bus_timing()
3215 static void octeontx_mmc_set_clock(struct mmc *mmc) in octeontx_mmc_set_clock()
3233 static void octeontx_mmc_switch_io(struct mmc *mmc) in octeontx_mmc_switch_io()
3322 static void octeontx_mmc_switch_to(struct mmc *mmc) in octeontx_mmc_switch_to()
3376 static int octeontx_mmc_init_timing(struct mmc *mmc) in octeontx_mmc_init_timing()
3400 static int octeontx_mmc_init_lowlevel(struct mmc *mmc) in octeontx_mmc_init_lowlevel()
3713 struct mmc *mmc; in octeontx_mmc_slot_probe() local