| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | mmc_private.h | 15 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 D | ftsdc010_mci.c | 33 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(®s->rsp3); in ftsdc010_send_cmd() 80 mmc_cmd->response[1] = readl(®s->rsp2); in ftsdc010_send_cmd() 81 mmc_cmd->response[2] = readl(®s->rsp1); in ftsdc010_send_cmd() 82 mmc_cmd->response[3] = readl(®s->rsp0); in ftsdc010_send_cmd() 84 mmc_cmd->response[0] = readl(®s->rsp0); in ftsdc010_send_cmd() 89 mmc_cmd->cmdidx, st); in ftsdc010_send_cmd() [all …]
|
| H A D | mmc.c | 87 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 D | mmc-uclass.c | 18 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 D | mxcmmc.c | 111 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 D | meson_gx_mmc.c | 98 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 D | arm_pl180_mmci.c | 22 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 D | stm32_sdmmc2.c | 236 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 D | pxa_mmc_gen.c | 98 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 D | sh_mmcif.c | 310 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 D | mmc_write.c | 20 struct mmc_cmd cmd; in mmc_erase_t() 165 struct mmc_cmd cmd; in mmc_write_blocks()
|
| H A D | mmc_boot.c | 28 struct mmc_cmd cmd; in mmc_boot_partition_size_change()
|
| H A D | sandbox_mmc.c | 28 static int sandbox_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sandbox_mmc_send_cmd()
|
| H A D | sh_sdhi.c | 429 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 D | sdhci.c | 41 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 D | rpmb.c | 60 struct mmc_cmd cmd = {0}; in mmc_rpmb_request() 93 struct mmc_cmd cmd = {0}; in mmc_rpmb_response()
|
| H A D | fsl_esdhc.c | 123 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 D | sunxi_mmc.c | 322 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 D | gen_atmel_mci.c | 158 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 D | tegra_mmc.c | 127 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 D | dw_mmc.c | 354 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 D | mmc_spi.c | 173 static int mmc_spi_request(struct mmc *mmc, struct mmc_cmd *cmd, in mmc_spi_request()
|
| H A D | davinci_mmc.c | 128 dmmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) in dmmc_send_cmd()
|
| H A D | mvebu_mmc.c | 66 static int mvebu_mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, in mvebu_mmc_send_cmd()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | mmc.h | 389 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);
|