Home
last modified time | relevance | path

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

12

/rk3399_rockchip-uboot/drivers/mmc/
H A Dmmc_private.h15 extern int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
18 int mmc_send_cmd_prepare(struct mmc *mmc, struct mmc_cmd *cmd,
89 void mmmc_trace_before_send(struct mmc *mmc, struct mmc_cmd *cmd);
90 void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, int ret);
91 void mmc_trace_state(struct mmc *mmc, struct mmc_cmd *cmd);
93 static inline void mmmc_trace_before_send(struct mmc *mmc, struct mmc_cmd *cmd) in mmmc_trace_before_send()
97 static inline void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, in mmmc_trace_after_send()
102 static inline void mmc_trace_state(struct mmc *mmc, struct mmc_cmd *cmd) in mmc_trace_state()
H A Dftsdc010_mci.c33 static inline int ftsdc010_send_cmd(struct mmc *mmc, struct mmc_cmd *mmc_cmd) in ftsdc010_send_cmd() argument
39 uint32_t cmd = FTSDC010_CMD_IDX(mmc_cmd->cmdidx); in ftsdc010_send_cmd()
40 uint32_t arg = mmc_cmd->cmdarg; in ftsdc010_send_cmd()
41 uint32_t flags = mmc_cmd->resp_type; in ftsdc010_send_cmd()
79 mmc_cmd->response[0] = readl(&regs->rsp3); in ftsdc010_send_cmd()
80 mmc_cmd->response[1] = readl(&regs->rsp2); in ftsdc010_send_cmd()
81 mmc_cmd->response[2] = readl(&regs->rsp1); in ftsdc010_send_cmd()
82 mmc_cmd->response[3] = readl(&regs->rsp0); in ftsdc010_send_cmd()
84 mmc_cmd->response[0] = readl(&regs->rsp0); in ftsdc010_send_cmd()
89 mmc_cmd->cmdidx, st); in ftsdc010_send_cmd()
[all …]
H A Dmmc.c87 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()
169 struct mmc_cmd cmd; in mmc_send_status()
213 struct mmc_cmd cmd; in mmc_set_blocklen()
227 struct mmc_cmd cmd = {0}; in mmc_set_blockcount()
241 struct mmc_cmd cmd; in mmc_read_blocks()
283 struct mmc_cmd cmd; in mmc_read_blocks_prepare()
495 struct mmc_cmd cmd; in mmc_go_idle()
[all …]
H A Dmmc-uclass.c18 int dm_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in dm_mmc_send_cmd()
56 int dm_mmc_send_cmd_prepare(struct udevice *dev, struct mmc_cmd *cmd, in dm_mmc_send_cmd_prepare()
77 int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) in mmc_send_cmd()
83 int mmc_send_cmd_prepare(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) in mmc_send_cmd_prepare()
H A 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()
H A Dmeson_gx_mmc.c98 struct mmc_cmd *cmd) in meson_mmc_setup_cmd()
160 static void meson_mmc_read_response(struct mmc *mmc, struct mmc_cmd *cmd) in meson_mmc_read_response()
172 static int meson_dm_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in meson_dm_mmc_send_cmd()
H A Darm_pl180_mmci.c22 static int wait_for_command_end(struct mmc *dev, struct mmc_cmd *cmd) in wait_for_command_end()
62 static int do_command(struct mmc *dev, struct mmc_cmd *cmd) in do_command()
209 struct mmc_cmd *cmd, in do_data_transfer()
255 struct mmc_cmd *cmd, in host_request()
H A 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()
H A Dpxa_mmc_gen.c98 static int pxa_mmc_start_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in pxa_mmc_start_cmd()
142 static int pxa_mmc_cmd_done(struct mmc *mmc, struct mmc_cmd *cmd) in pxa_mmc_cmd_done()
262 static int pxa_mmc_request(struct mmc *mmc, struct mmc_cmd *cmd, in pxa_mmc_request()
H A Dsh_mmcif.c310 struct mmc_cmd *cmd) in sh_mmcif_get_response()
325 struct mmc_cmd *cmd) in sh_mmcif_get_cmd12response()
331 struct mmc_data *data, struct mmc_cmd *cmd) in sh_mmcif_set_cmd()
429 struct mmc_data *data, struct mmc_cmd *cmd) in sh_mmcif_start_cmd()
513 static int sh_mmcif_request(struct mmc *mmc, struct mmc_cmd *cmd, in sh_mmcif_request()
H A Dmmc_write.c20 struct mmc_cmd cmd; in mmc_erase_t()
165 struct mmc_cmd cmd; in mmc_write_blocks()
H A Dmmc_boot.c28 struct mmc_cmd cmd; in mmc_boot_partition_size_change()
H A Dsandbox_mmc.c28 static int sandbox_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sandbox_mmc_send_cmd()
H A Dsh_sdhi.c429 static void sh_sdhi_get_response(struct sh_sdhi_host *host, struct mmc_cmd *cmd) in sh_sdhi_get_response()
534 struct mmc_data *data, struct mmc_cmd *cmd) in sh_sdhi_start_cmd()
644 struct mmc_cmd *cmd, struct mmc_data *data) in sh_sdhi_send_cmd_common()
700 static int sh_sdhi_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in sh_sdhi_send_cmd()
795 int sh_sdhi_dm_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sh_sdhi_dm_send_cmd()
H A Dsdhci.c41 static void sdhci_cmd_done(struct sdhci_host *host, struct mmc_cmd *cmd) in sdhci_cmd_done()
138 static int sdhci_send_command(struct udevice *dev, struct mmc_cmd *cmd,
144 static int sdhci_send_command(struct mmc *mmc, struct mmc_cmd *cmd,
585 struct mmc_cmd cmd;
H A Drpmb.c60 struct mmc_cmd cmd = {0}; in mmc_rpmb_request()
93 struct mmc_cmd cmd = {0}; in mmc_rpmb_response()
H A Dfsl_esdhc.c123 static uint esdhc_xfertyp(struct mmc_cmd *cmd, struct mmc_data *data) in esdhc_xfertyp()
332 (struct mmc_cmd *cmd, in check_and_invalidate_dcache_range()
358 struct mmc_cmd *cmd, struct mmc_data *data) in esdhc_send_cmd_common()
744 static int esdhc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in esdhc_send_cmd()
1139 static int fsl_esdhc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in fsl_esdhc_send_cmd()
H A Dsunxi_mmc.c322 struct mmc *mmc, struct mmc_cmd *cmd, in sunxi_mmc_send_cmd_common()
451 static int sunxi_mmc_send_cmd_legacy(struct mmc *mmc, struct mmc_cmd *cmd, in sunxi_mmc_send_cmd_legacy()
534 static int sunxi_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sunxi_mmc_send_cmd()
H A Dgen_atmel_mci.c158 struct mmc_cmd *cmd, struct mmc_data *data, u32* error_flags)
234 static int atmel_mci_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
243 mci_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data)
H A Dtegra_mmc.c127 struct mmc_cmd *cmd, in tegra_mmc_wait_inhibit()
157 static int tegra_mmc_send_cmd_bounced(struct udevice *dev, struct mmc_cmd *cmd, in tegra_mmc_send_cmd_bounced()
330 static int tegra_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in tegra_mmc_send_cmd()
H A Ddw_mmc.c354 static int dwmci_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
359 static int dwmci_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
499 static int dwmci_send_cmd_prepare(struct udevice *dev, struct mmc_cmd *cmd,
504 static int dwmci_send_cmd_prepare(struct mmc *mmc, struct mmc_cmd *cmd,
H A Dmmc_spi.c173 static int mmc_spi_request(struct mmc *mmc, struct mmc_cmd *cmd, in mmc_spi_request()
H A Ddavinci_mmc.c128 dmmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) in dmmc_send_cmd()
H A Dmvebu_mmc.c66 static int mvebu_mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in mvebu_mmc_send_cmd()
/rk3399_rockchip-uboot/include/
H A Dmmc.h389 struct mmc_cmd { struct
419 int (*send_cmd)(struct udevice *dev, struct mmc_cmd *cmd,
431 int (*send_cmd_prepare)(struct udevice *dev, struct mmc_cmd *cmd,
482 int dm_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
500 struct mmc_cmd *cmd, struct mmc_data *data);

12