/external/u-boot/drivers/mmc/ |
D | mmc_private.h | 14 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()
|
D | ftsdc010_mci.c | 63 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(®s->rsp3); in ftsdc010_send_cmd() 110 mmc_cmd->response[1] = readl(®s->rsp2); in ftsdc010_send_cmd() 111 mmc_cmd->response[2] = readl(®s->rsp1); in ftsdc010_send_cmd() 112 mmc_cmd->response[3] = readl(®s->rsp0); in ftsdc010_send_cmd() 114 mmc_cmd->response[0] = readl(®s->rsp0); in ftsdc010_send_cmd() 119 mmc_cmd->cmdidx, st); in ftsdc010_send_cmd() [all …]
|
D | mmc.c | 67 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 …]
|
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()
|
D | sh_mmcif.c | 313 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()
|
D | arm_pl180_mmci.c | 36 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()
|
D | rpmb.c | 79 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()
|
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()
|
D | meson_gx_mmc.c | 100 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()
|
D | bcm2835_sdhost.c | 173 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()
|
D | pxa_mmc_gen.c | 97 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()
|
D | mmc_write.c | 19 struct mmc_cmd cmd; in mmc_erase_t() 132 struct mmc_cmd cmd; in mmc_write_blocks()
|
D | sh_sdhi.c | 428 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()
|
D | fsl_esdhc.c | 151 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()
|
D | gen_atmel_mci.c | 164 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)
|
D | tegra_mmc.c | 124 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()
|
D | mmc-uclass.c | 14 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()
|
D | mmc_boot.c | 27 struct mmc_cmd cmd; in mmc_boot_partition_size_change()
|
D | sunxi_mmc.c | 326 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()
|
D | sdhci.c | 40 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,
|
D | sandbox_mmc.c | 25 static int sandbox_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sandbox_mmc_send_cmd()
|
D | tmio-common.h | 138 int tmio_sd_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
|
D | dw_mmc.c | 187 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,
|
D | zynq_sdhci.c | 90 struct mmc_cmd cmd; in arasan_sdhci_execute_tuning()
|
/external/u-boot/include/ |
D | mmc.h | 370 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);
|