Home
last modified time | relevance | path

Searched refs:mmc_cmd (Results 1 – 25 of 37) sorted by relevance

12

/u-boot/drivers/mmc/
A Dmmc_private.h15 int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data);
74 void mmmc_trace_before_send(struct mmc *mmc, struct mmc_cmd *cmd);
75 void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, int ret);
76 void mmc_trace_state(struct mmc *mmc, struct mmc_cmd *cmd);
78 static inline void mmmc_trace_before_send(struct mmc *mmc, struct mmc_cmd *cmd) in mmmc_trace_before_send()
82 static inline void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, in mmmc_trace_after_send()
87 static inline void mmc_trace_state(struct mmc *mmc, struct mmc_cmd *cmd) in mmc_trace_state()
A Dftsdc010_mci.c66 static inline int ftsdc010_send_cmd(struct mmc *mmc, struct mmc_cmd *mmc_cmd) in ftsdc010_send_cmd() argument
73 uint32_t arg = mmc_cmd->cmdarg; in ftsdc010_send_cmd()
74 uint32_t flags = mmc_cmd->resp_type; in ftsdc010_send_cmd()
112 mmc_cmd->response[0] = readl(&regs->rsp3); in ftsdc010_send_cmd()
113 mmc_cmd->response[1] = readl(&regs->rsp2); in ftsdc010_send_cmd()
114 mmc_cmd->response[2] = readl(&regs->rsp1); in ftsdc010_send_cmd()
115 mmc_cmd->response[3] = readl(&regs->rsp0); in ftsdc010_send_cmd()
117 mmc_cmd->response[0] = readl(&regs->rsp0); in ftsdc010_send_cmd()
122 mmc_cmd->cmdidx, st); in ftsdc010_send_cmd()
128 mmc_cmd->cmdidx); in ftsdc010_send_cmd()
[all …]
A Drpmb.c81 struct mmc_cmd cmd = {0}; in mmc_set_blockcount()
94 struct mmc_cmd cmd = {0}; in mmc_rpmb_request()
131 struct mmc_cmd cmd = {0}; in mmc_rpmb_response()
334 struct mmc_cmd cmd = { in send_write_mult_block()
351 struct mmc_cmd cmd = { in send_read_mult_block()
A Dmxcmmc.c112 struct mmc_cmd *cmd;
163 static int mxcmci_start_cmd(struct mxcmci_host *host, struct mmc_cmd *cmd, in mxcmci_start_cmd()
197 struct mmc_cmd *cmd, struct mmc_data *data) in mxcmci_finish_request()
232 struct mmc_cmd *cmd = host->cmd; in mxcmci_read_response()
391 static int mxcmci_request(struct mmc *mmc, struct mmc_cmd *cmd, in mxcmci_request()
A Dpxa_mmc_gen.c103 static int pxa_mmc_start_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in pxa_mmc_start_cmd()
147 static int pxa_mmc_cmd_done(struct mmc *mmc, struct mmc_cmd *cmd) in pxa_mmc_cmd_done()
267 struct mmc_cmd *cmd, struct mmc_data *data) in pxa_mmc_send_cmd_common()
379 static int pxa_mmc_request(struct mmc *mmc, struct mmc_cmd *cmd, in pxa_mmc_request()
494 static int pxa_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in pxa_mmc_send_cmd()
A Dsh_mmcif.c318 struct mmc_cmd *cmd) in sh_mmcif_get_response()
333 struct mmc_cmd *cmd) in sh_mmcif_get_cmd12response()
339 struct mmc_data *data, struct mmc_cmd *cmd) in sh_mmcif_set_cmd()
437 struct mmc_data *data, struct mmc_cmd *cmd) in sh_mmcif_start_cmd()
522 struct mmc_cmd *cmd, struct mmc_data *data) in sh_mmcif_send_cmd_common()
579 static int sh_mmcif_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in sh_mmcif_send_cmd()
647 int sh_mmcif_dm_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sh_mmcif_dm_send_cmd()
A Dmmc.c255 struct mmc_cmd cmd; in mmc_send_status()
315 struct mmc_cmd cmd; in mmc_set_blocklen()
361 struct mmc_cmd cmd; in mmc_send_tuning()
401 struct mmc_cmd cmd; in mmc_read_blocks()
510 struct mmc_cmd cmd; in mmc_go_idle()
532 struct mmc_cmd cmd; in mmc_switch_voltage()
595 struct mmc_cmd cmd; in sd_send_op_cond()
673 struct mmc_cmd cmd; in mmc_send_op_cond_iter()
722 struct mmc_cmd cmd; in mmc_complete_op_cond()
769 struct mmc_cmd cmd; in mmc_send_ext_csd()
[all …]
A Dmeson_gx_mmc.c123 struct mmc_cmd *cmd) in meson_mmc_setup_cmd()
185 static void meson_mmc_read_response(struct mmc *mmc, struct mmc_cmd *cmd) in meson_mmc_read_response()
197 static int meson_dm_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in meson_dm_mmc_send_cmd()
A Darm_pl180_mmci.c39 static int wait_for_command_end(struct mmc *dev, struct mmc_cmd *cmd) in wait_for_command_end()
79 static int do_command(struct mmc *dev, struct mmc_cmd *cmd) in do_command()
226 struct mmc_cmd *cmd, in do_data_transfer()
272 struct mmc_cmd *cmd, in host_request()
494 static int dm_host_request(struct udevice *dev, struct mmc_cmd *cmd, in dm_host_request()
A Dtmio-common.c82 static int tmio_sd_check_error(struct udevice *dev, struct mmc_cmd *cmd) in tmio_sd_check_error()
118 static int tmio_sd_wait_for_irq(struct udevice *dev, struct mmc_cmd *cmd, in tmio_sd_wait_for_irq()
167 static int tmio_sd_pio_read_one_block(struct udevice *dev, struct mmc_cmd *cmd, in tmio_sd_pio_read_one_block()
220 static int tmio_sd_pio_write_one_block(struct udevice *dev, struct mmc_cmd *cmd, in tmio_sd_pio_write_one_block()
244 static int tmio_sd_pio_xfer(struct udevice *dev, struct mmc_cmd *cmd, in tmio_sd_pio_xfer()
393 int tmio_sd_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in tmio_sd_send_cmd()
A Dmmc_write.c20 struct mmc_cmd cmd; in mmc_erase_t()
133 struct mmc_cmd cmd; in mmc_write_blocks()
A Dstm32_sdmmc2.c249 struct mmc_cmd *cmd, u32 cmd_param, in stm32_sdmmc2_start_cmd()
299 struct mmc_cmd *cmd, in stm32_sdmmc2_end_cmd()
378 struct mmc_cmd *cmd, in stm32_sdmmc2_end_data()
442 static int stm32_sdmmc2_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in stm32_sdmmc2_send_cmd()
481 struct mmc_cmd stop_cmd; in stm32_sdmmc2_send_cmd()
A Dmmc_boot.c28 struct mmc_cmd cmd; in mmc_boot_partition_size_change()
A Dbcm2835_sdhost.c177 struct mmc_cmd *cmd; /* Current command */
379 static void bcm2835_prepare_data(struct bcm2835_host *host, struct mmc_cmd *cmd, in bcm2835_prepare_data()
409 static int bcm2835_send_command(struct bcm2835_host *host, struct mmc_cmd *cmd, in bcm2835_send_command()
467 struct mmc_cmd *cmd = host->cmd; in bcm2835_finish_command()
662 static int bcm2835_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in bcm2835_send_cmd()
A Djz_mmc.c196 struct mmc_cmd *cmd, struct mmc_data *data) in jz_mmc_send_cmd()
371 static int jz_mmc_legacy_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in jz_mmc_legacy_send_cmd()
425 static int jz_mmc_dm_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in jz_mmc_dm_send_cmd()
A Dsh_sdhi.c434 static void sh_sdhi_get_response(struct sh_sdhi_host *host, struct mmc_cmd *cmd) in sh_sdhi_get_response()
539 struct mmc_data *data, struct mmc_cmd *cmd) in sh_sdhi_start_cmd()
649 struct mmc_cmd *cmd, struct mmc_data *data) in sh_sdhi_send_cmd_common()
705 static int sh_sdhi_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in sh_sdhi_send_cmd()
799 int sh_sdhi_dm_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sh_sdhi_dm_send_cmd()
A Dgen_atmel_mci.c166 struct mmc_cmd *cmd, struct mmc_data *data, u32* error_flags)
242 static int atmel_mci_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
250 mci_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data)
A Dsandbox_mmc.c37 static int sandbox_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sandbox_mmc_send_cmd()
A Dtmio-common.h158 int tmio_sd_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
A Dmxsmmc.c78 static int mxsmmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
305 mxsmmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data)
311 mxsmmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, struct mmc_data *data)
A Dtegra_mmc.c132 struct mmc_cmd *cmd, in tegra_mmc_wait_inhibit()
162 static int tegra_mmc_send_cmd_bounced(struct udevice *dev, struct mmc_cmd *cmd, in tegra_mmc_send_cmd_bounced()
335 static int tegra_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in tegra_mmc_send_cmd()
A Dsunxi_mmc.c353 struct mmc *mmc, struct mmc_cmd *cmd, in sunxi_mmc_send_cmd_common()
483 static int sunxi_mmc_send_cmd_legacy(struct mmc *mmc, struct mmc_cmd *cmd, in sunxi_mmc_send_cmd_legacy()
572 static int sunxi_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sunxi_mmc_send_cmd()
A Dfsl_esdhc_imx.c184 static uint esdhc_xfertyp(struct mmc_cmd *cmd, struct mmc_data *data) in esdhc_xfertyp()
401 (struct mmc_cmd *cmd, in check_and_invalidate_dcache_range()
446 struct mmc_cmd *cmd, struct mmc_data *data) in esdhc_send_cmd_common()
851 struct mmc_cmd cmd; in esdhc_stop_tuning()
1139 static int esdhc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in esdhc_send_cmd()
1642 static int fsl_esdhc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in fsl_esdhc_send_cmd()
A Dmmc-uclass.c34 int dm_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in dm_mmc_send_cmd()
51 int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) in mmc_send_cmd()
/u-boot/include/
A Dmmc.h408 struct mmc_cmd { struct
454 int (*send_cmd)(struct udevice *dev, struct mmc_cmd *cmd,
542 int dm_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
569 struct mmc_cmd *cmd, struct mmc_data *data);

Completed in 48 milliseconds

12