/u-boot/drivers/mmc/ |
A D | hi6220_dw_mmc.c | 58 struct hisi_mmc_data *mmc_data; in hi6220_dwmmc_probe() local 60 mmc_data = (struct hisi_mmc_data *)dev_get_driver_data(dev); in hi6220_dwmmc_probe() 63 host->bus_hz = mmc_data->clock; in hi6220_dwmmc_probe() 68 host->fifo_mode = mmc_data->use_fifo; in hi6220_dwmmc_probe()
|
A D | sh_mmcif.c | 186 struct mmc_data *data) in sh_mmcif_single_read() 222 struct mmc_data *data) in sh_mmcif_multi_read() 251 struct mmc_data *data) in sh_mmcif_single_write() 287 struct mmc_data *data) in sh_mmcif_multi_write() 339 struct mmc_data *data, struct mmc_cmd *cmd) in sh_mmcif_set_cmd() 410 struct mmc_data *data, u16 opc) in sh_mmcif_data_trans() 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() 580 struct mmc_data *data) in sh_mmcif_send_cmd() 648 struct mmc_data *data) in sh_mmcif_dm_send_cmd()
|
A D | jz_mmc.c | 142 static inline void jz_mmc_write_data(struct jz_mmc_priv *priv, struct mmc_data *data) in jz_mmc_write_data() 158 static void jz_mmc_write_data(struct jz_mmc_priv *priv, struct mmc_data *data) in jz_mmc_write_data() 162 static inline int jz_mmc_read_data(struct jz_mmc_priv *priv, struct mmc_data *data) in jz_mmc_read_data() 196 struct mmc_cmd *cmd, struct mmc_data *data) in jz_mmc_send_cmd() 372 struct mmc_data *data) in jz_mmc_legacy_send_cmd() 426 struct mmc_data *data) in jz_mmc_dm_send_cmd()
|
A D | sh_sdhi.c | 275 static int sh_sdhi_single_read(struct sh_sdhi_host *host, struct mmc_data *data) in sh_sdhi_single_read() 316 static int sh_sdhi_multi_read(struct sh_sdhi_host *host, struct mmc_data *data) in sh_sdhi_multi_read() 356 struct mmc_data *data) in sh_sdhi_single_write() 401 static int sh_sdhi_multi_write(struct sh_sdhi_host *host, struct mmc_data *data) in sh_sdhi_multi_write() 483 struct mmc_data *data, unsigned short opc) in sh_sdhi_set_cmd() 506 struct mmc_data *data, unsigned short opc) in sh_sdhi_data_trans() 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() 706 struct mmc_data *data) in sh_sdhi_send_cmd() 800 struct mmc_data *data) in sh_sdhi_dm_send_cmd()
|
A D | mxcmmc.c | 113 struct mmc_data *data; 150 static void mxcmci_setup_data(struct mxcmci_host *host, struct mmc_data *data) in mxcmci_setup_data() 197 struct mmc_cmd *cmd, struct mmc_data *data) in mxcmci_finish_request() 344 struct mmc_data *data = host->data; in mxcmci_transfer_data() 392 struct mmc_data *data) in mxcmci_request()
|
A D | pxa_mmc_gen.c | 189 static int pxa_mmc_do_read_xfer(struct mmc *mmc, struct mmc_data *data) in pxa_mmc_do_read_xfer() 224 static int pxa_mmc_do_write_xfer(struct mmc *mmc, struct mmc_data *data) in pxa_mmc_do_write_xfer() 267 struct mmc_cmd *cmd, struct mmc_data *data) in pxa_mmc_send_cmd_common() 380 struct mmc_data *data) in pxa_mmc_request() 495 struct mmc_data *data) in pxa_mmc_send_cmd()
|
A D | rpmb.c | 95 struct mmc_data data; in mmc_rpmb_request() 132 struct mmc_data data; in mmc_rpmb_response() 338 struct mmc_data data = { in send_write_mult_block() 355 struct mmc_data data = { in send_read_mult_block()
|
A D | sdhci-adma.c | 43 struct mmc_data *data, dma_addr_t addr) in sdhci_prepare_adma_table()
|
A D | meson_gx_mmc.c | 122 static void meson_mmc_setup_cmd(struct mmc *mmc, struct mmc_data *data, in meson_mmc_setup_cmd() 161 static void meson_mmc_setup_addr(struct mmc *mmc, struct mmc_data *data) in meson_mmc_setup_addr() 198 struct mmc_data *data) in meson_dm_mmc_send_cmd()
|
A D | dw_mmc.c | 51 struct mmc_data *data, in dwmci_prepare_data() 137 static int dwmci_data_transfer(struct dwmci_host *host, struct mmc_data *data) in dwmci_data_transfer() 231 struct mmc_data *data) in dwmci_set_transfer_mode() 244 struct mmc_data *data) 249 struct mmc_data *data)
|
A D | fsl_esdhc.c | 112 static uint esdhc_xfertyp(struct mmc_cmd *cmd, struct mmc_data *data) in esdhc_xfertyp() 154 struct mmc_data *data) in esdhc_pio_read_write() 214 struct mmc_data *data) in esdhc_setup_watermark_level() 233 static void esdhc_setup_dma(struct fsl_esdhc_priv *priv, struct mmc_data *data) in esdhc_setup_dma() 274 struct mmc_data *data) in esdhc_setup_data() 338 struct mmc_cmd *cmd, struct mmc_data *data) in esdhc_send_cmd_common() 867 struct mmc_data *data) in esdhc_send_cmd() 1036 struct mmc_data *data) in fsl_esdhc_send_cmd()
|
A D | mxsmmc.c | 79 struct mmc_data *data); 218 static int mxsmmc_send_cmd_pio(struct mxsmmc_priv *priv, struct mmc_data *data) in mxsmmc_send_cmd_pio() 254 static int mxsmmc_send_cmd_dma(struct mxsmmc_priv *priv, struct mmc_data *data) in mxsmmc_send_cmd_dma() 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 | 76 struct mmc_data *data, in tegra_mmc_prepare_data() 105 struct mmc_data *data) in tegra_mmc_set_transfer_mode() 133 struct mmc_data *data, in tegra_mmc_wait_inhibit() 163 struct mmc_data *data, in tegra_mmc_send_cmd_bounced() 336 struct mmc_data *data) in tegra_mmc_send_cmd()
|
A D | mmc_private.h | 15 int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data);
|
A D | bcm2835_sdhost.c | 178 struct mmc_data *data; /* Current data request */ 278 struct mmc_data *data = host->data; in bcm2835_transfer_block_pio() 380 struct mmc_data *data) in bcm2835_prepare_data() 410 struct mmc_data *data) in bcm2835_send_command() 663 struct mmc_data *data) in bcm2835_send_cmd()
|
A D | sdhci.c | 60 static void sdhci_transfer_pio(struct sdhci_host *host, struct mmc_data *data) in sdhci_transfer_pio() 74 static void sdhci_prepare_dma(struct sdhci_host *host, struct mmc_data *data, in sdhci_prepare_dma() 125 static void sdhci_prepare_dma(struct sdhci_host *host, struct mmc_data *data, in sdhci_prepare_dma() 129 static int sdhci_transfer_data(struct sdhci_host *host, struct mmc_data *data) in sdhci_transfer_data() 201 struct mmc_data *data) 207 struct mmc_data *data)
|
A D | sunxi_mmc.c | 299 struct mmc_data *data) in mmc_trans_data_by_cpu() 354 struct mmc_data *data) in sunxi_mmc_send_cmd_common() 484 struct mmc_data *data) in sunxi_mmc_send_cmd_legacy() 573 struct mmc_data *data) 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() 227 struct mmc_data *data) in esdhc_pio_read_write() 288 struct mmc_data *data) in esdhc_setup_data() 402 struct mmc_data *data) { in check_and_invalidate_dcache_range() 426 static inline void sd_swap_dma_buff(struct mmc_data *data) in sd_swap_dma_buff() 446 struct mmc_cmd *cmd, struct mmc_data *data) in esdhc_send_cmd_common() 1140 struct mmc_data *data) in esdhc_send_cmd() 1643 struct mmc_data *data) in fsl_esdhc_send_cmd()
|
A D | sh_mmcif.h | 211 struct mmc_data *data;
|
A D | mvebu_mmc.c | 40 static int mvebu_mmc_setup_data(struct mmc_data *data) in mvebu_mmc_setup_data() 68 struct mmc_data *data) in mvebu_mmc_send_cmd()
|
A D | tmio-common.c | 245 struct mmc_data *data) in tmio_sd_pio_xfer() 316 static int tmio_sd_dma_xfer(struct udevice *dev, struct mmc_data *data) in tmio_sd_dma_xfer() 365 static bool tmio_sd_addr_is_dmaable(struct mmc_data *data) in tmio_sd_addr_is_dmaable() 394 struct mmc_data *data) in tmio_sd_send_cmd()
|
A D | arm_pl180_mmci.c | 227 struct mmc_data *data) in do_data_transfer() 273 struct mmc_data *data) in host_request() 495 struct mmc_data *data) in dm_host_request()
|
A D | gen_atmel_mci.c | 166 struct mmc_cmd *cmd, struct mmc_data *data, u32* error_flags) 243 struct mmc_data *data) 250 mci_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data)
|
A D | sandbox_mmc.c | 38 struct mmc_data *data) in sandbox_mmc_send_cmd()
|
/u-boot/include/ |
A D | mmc.h | 415 struct mmc_data { struct 455 struct mmc_data *data); 543 struct mmc_data *data); 569 struct mmc_cmd *cmd, struct mmc_data *data); 996 static inline enum dma_data_direction mmc_get_dma_dir(struct mmc_data *data) in mmc_get_dma_dir()
|