Home
last modified time | relevance | path

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

12

/external/u-boot/drivers/mmc/
Dmmc_private.h14 extern int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
75 void mmmc_trace_before_send(struct mmc *mmc, struct mmc_cmd *cmd);
76 void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, int ret);
77 void mmc_trace_state(struct mmc *mmc, struct mmc_cmd *cmd);
79 static inline void mmmc_trace_before_send(struct mmc *mmc, struct mmc_cmd *cmd) in mmmc_trace_before_send()
83 static inline void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, in mmmc_trace_after_send()
88 static inline void mmc_trace_state(struct mmc *mmc, struct mmc_cmd *cmd) in mmc_trace_state()
Dftsdc010_mci.c63 static inline int ftsdc010_send_cmd(struct mmc *mmc, struct mmc_cmd *mmc_cmd) in ftsdc010_send_cmd() argument
69 uint32_t cmd = FTSDC010_CMD_IDX(mmc_cmd->cmdidx); in ftsdc010_send_cmd()
70 uint32_t arg = mmc_cmd->cmdarg; in ftsdc010_send_cmd()
71 uint32_t flags = mmc_cmd->resp_type; in ftsdc010_send_cmd()
109 mmc_cmd->response[0] = readl(&regs->rsp3); in ftsdc010_send_cmd()
110 mmc_cmd->response[1] = readl(&regs->rsp2); in ftsdc010_send_cmd()
111 mmc_cmd->response[2] = readl(&regs->rsp1); in ftsdc010_send_cmd()
112 mmc_cmd->response[3] = readl(&regs->rsp0); in ftsdc010_send_cmd()
114 mmc_cmd->response[0] = readl(&regs->rsp0); in ftsdc010_send_cmd()
119 mmc_cmd->cmdidx, st); in ftsdc010_send_cmd()
[all …]
Dmmc.c67 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()
195 int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) in mmc_send_cmd()
209 struct mmc_cmd cmd; in mmc_send_status()
254 struct mmc_cmd cmd; in mmc_set_blocklen()
317 struct mmc_cmd cmd; in mmc_send_tuning()
357 struct mmc_cmd cmd; in mmc_read_blocks()
454 struct mmc_cmd cmd; in mmc_go_idle()
476 struct mmc_cmd cmd; in mmc_switch_voltage()
[all …]
Dmxcmmc.c111 struct mmc_cmd *cmd;
162 static int mxcmci_start_cmd(struct mxcmci_host *host, struct mmc_cmd *cmd, in mxcmci_start_cmd()
196 struct mmc_cmd *cmd, struct mmc_data *data) in mxcmci_finish_request()
231 struct mmc_cmd *cmd = host->cmd; in mxcmci_read_response()
390 static int mxcmci_request(struct mmc *mmc, struct mmc_cmd *cmd, in mxcmci_request()
Dsh_mmcif.c313 struct mmc_cmd *cmd) in sh_mmcif_get_response()
328 struct mmc_cmd *cmd) in sh_mmcif_get_cmd12response()
334 struct mmc_data *data, struct mmc_cmd *cmd) in sh_mmcif_set_cmd()
432 struct mmc_data *data, struct mmc_cmd *cmd) in sh_mmcif_start_cmd()
517 struct mmc_cmd *cmd, struct mmc_data *data) in sh_mmcif_send_cmd_common()
574 static int sh_mmcif_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in sh_mmcif_send_cmd()
642 int sh_mmcif_dm_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sh_mmcif_dm_send_cmd()
Darm_pl180_mmci.c36 static int wait_for_command_end(struct mmc *dev, struct mmc_cmd *cmd) in wait_for_command_end()
76 static int do_command(struct mmc *dev, struct mmc_cmd *cmd) in do_command()
223 struct mmc_cmd *cmd, in do_data_transfer()
269 struct mmc_cmd *cmd, in host_request()
465 static int dm_host_request(struct udevice *dev, struct mmc_cmd *cmd, in dm_host_request()
Drpmb.c79 struct mmc_cmd cmd = {0}; in mmc_set_blockcount()
92 struct mmc_cmd cmd = {0}; in mmc_rpmb_request()
125 struct mmc_cmd cmd = {0}; in mmc_rpmb_response()
Dstm32_sdmmc2.c236 struct mmc_cmd *cmd, u32 cmd_param) in stm32_sdmmc2_start_cmd()
262 struct mmc_cmd *cmd, in stm32_sdmmc2_end_cmd()
315 struct mmc_cmd *cmd, in stm32_sdmmc2_end_data()
378 static int stm32_sdmmc2_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in stm32_sdmmc2_send_cmd()
416 struct mmc_cmd stop_cmd; in stm32_sdmmc2_send_cmd()
Dmeson_gx_mmc.c100 struct mmc_cmd *cmd) in meson_mmc_setup_cmd()
162 static void meson_mmc_read_response(struct mmc *mmc, struct mmc_cmd *cmd) in meson_mmc_read_response()
174 static int meson_dm_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in meson_dm_mmc_send_cmd()
Dbcm2835_sdhost.c173 struct mmc_cmd *cmd; /* Current command */
373 static void bcm2835_prepare_data(struct bcm2835_host *host, struct mmc_cmd *cmd, in bcm2835_prepare_data()
403 static int bcm2835_send_command(struct bcm2835_host *host, struct mmc_cmd *cmd, in bcm2835_send_command()
461 struct mmc_cmd *cmd = host->cmd; in bcm2835_finish_command()
656 static int bcm2835_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in bcm2835_send_cmd()
Dpxa_mmc_gen.c97 static int pxa_mmc_start_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in pxa_mmc_start_cmd()
141 static int pxa_mmc_cmd_done(struct mmc *mmc, struct mmc_cmd *cmd) in pxa_mmc_cmd_done()
261 static int pxa_mmc_request(struct mmc *mmc, struct mmc_cmd *cmd, in pxa_mmc_request()
Dmmc_write.c19 struct mmc_cmd cmd; in mmc_erase_t()
132 struct mmc_cmd cmd; in mmc_write_blocks()
Dsh_sdhi.c428 static void sh_sdhi_get_response(struct sh_sdhi_host *host, struct mmc_cmd *cmd) in sh_sdhi_get_response()
533 struct mmc_data *data, struct mmc_cmd *cmd) in sh_sdhi_start_cmd()
643 struct mmc_cmd *cmd, struct mmc_data *data) in sh_sdhi_send_cmd_common()
699 static int sh_sdhi_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in sh_sdhi_send_cmd()
794 int sh_sdhi_dm_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sh_sdhi_dm_send_cmd()
Dfsl_esdhc.c151 static uint esdhc_xfertyp(struct mmc_cmd *cmd, struct mmc_data *data) in esdhc_xfertyp()
363 (struct mmc_cmd *cmd, in check_and_invalidate_dcache_range()
390 struct mmc_cmd *cmd, struct mmc_data *data) in esdhc_send_cmd_common()
784 struct mmc_cmd cmd; in esdhc_stop_tuning()
1058 static int esdhc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in esdhc_send_cmd()
1494 static int fsl_esdhc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in fsl_esdhc_send_cmd()
Dtegra_mmc.c124 struct mmc_cmd *cmd, in tegra_mmc_wait_inhibit()
154 static int tegra_mmc_send_cmd_bounced(struct udevice *dev, struct mmc_cmd *cmd, in tegra_mmc_send_cmd_bounced()
327 static int tegra_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in tegra_mmc_send_cmd()
Dgen_atmel_mci.c164 struct mmc_cmd *cmd, struct mmc_data *data, u32* error_flags)
240 static int atmel_mci_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
248 mci_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data)
Dmmc-uclass.c14 int dm_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in dm_mmc_send_cmd()
31 int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) in mmc_send_cmd()
Dmmc_boot.c27 struct mmc_cmd cmd; in mmc_boot_partition_size_change()
Dsunxi_mmc.c326 struct mmc *mmc, struct mmc_cmd *cmd, in sunxi_mmc_send_cmd_common()
456 static int sunxi_mmc_send_cmd_legacy(struct mmc *mmc, struct mmc_cmd *cmd, in sunxi_mmc_send_cmd_legacy()
539 static int sunxi_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sunxi_mmc_send_cmd()
Dsdhci.c40 static void sdhci_cmd_done(struct sdhci_host *host, struct mmc_cmd *cmd) in sdhci_cmd_done()
137 static int sdhci_send_command(struct udevice *dev, struct mmc_cmd *cmd,
143 static int sdhci_send_command(struct mmc *mmc, struct mmc_cmd *cmd,
Dsandbox_mmc.c25 static int sandbox_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sandbox_mmc_send_cmd()
Dtmio-common.h138 int tmio_sd_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
Ddw_mmc.c187 static int dwmci_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
192 static int dwmci_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
Dzynq_sdhci.c90 struct mmc_cmd cmd; in arasan_sdhci_execute_tuning()
/external/u-boot/include/
Dmmc.h370 struct mmc_cmd { struct
400 int (*send_cmd)(struct udevice *dev, struct mmc_cmd *cmd,
462 int dm_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
482 struct mmc_cmd *cmd, struct mmc_data *data);

12