/u-boot/drivers/mmc/ |
A D | mmc_private.h | 15 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 D | ftsdc010_mci.c | 66 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(®s->rsp3); in ftsdc010_send_cmd() 113 mmc_cmd->response[1] = readl(®s->rsp2); in ftsdc010_send_cmd() 114 mmc_cmd->response[2] = readl(®s->rsp1); in ftsdc010_send_cmd() 115 mmc_cmd->response[3] = readl(®s->rsp0); in ftsdc010_send_cmd() 117 mmc_cmd->response[0] = readl(®s->rsp0); in ftsdc010_send_cmd() 122 mmc_cmd->cmdidx, st); in ftsdc010_send_cmd() 128 mmc_cmd->cmdidx); in ftsdc010_send_cmd() [all …]
|
A D | rpmb.c | 81 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 D | mxcmmc.c | 112 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 D | pxa_mmc_gen.c | 103 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 D | sh_mmcif.c | 318 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 D | mmc.c | 255 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 D | meson_gx_mmc.c | 123 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 D | arm_pl180_mmci.c | 39 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 D | tmio-common.c | 82 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 D | mmc_write.c | 20 struct mmc_cmd cmd; in mmc_erase_t() 133 struct mmc_cmd cmd; in mmc_write_blocks()
|
A D | stm32_sdmmc2.c | 249 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 D | mmc_boot.c | 28 struct mmc_cmd cmd; in mmc_boot_partition_size_change()
|
A D | bcm2835_sdhost.c | 177 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 D | jz_mmc.c | 196 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 D | sh_sdhi.c | 434 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 D | gen_atmel_mci.c | 166 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 D | sandbox_mmc.c | 37 static int sandbox_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, in sandbox_mmc_send_cmd()
|
A D | tmio-common.h | 158 int tmio_sd_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
|
A D | mxsmmc.c | 78 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 D | tegra_mmc.c | 132 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 D | sunxi_mmc.c | 353 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 D | fsl_esdhc_imx.c | 184 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 D | mmc-uclass.c | 34 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 D | mmc.h | 408 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);
|