Home
last modified time | relevance | path

Searched refs:mmc_data (Results 1 – 25 of 39) sorted by relevance

12

/u-boot/drivers/mmc/
A Dhi6220_dw_mmc.c58 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 Dsh_mmcif.c186 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 Djz_mmc.c142 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 Dsh_sdhi.c275 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 Dmxcmmc.c113 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 Dpxa_mmc_gen.c189 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 Drpmb.c95 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 Dsdhci-adma.c43 struct mmc_data *data, dma_addr_t addr) in sdhci_prepare_adma_table()
A Dmeson_gx_mmc.c122 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 Ddw_mmc.c51 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 Dfsl_esdhc.c112 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 Dmxsmmc.c79 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 Dtegra_mmc.c76 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 Dmmc_private.h15 int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data);
A Dbcm2835_sdhost.c178 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 Dsdhci.c60 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 Dsunxi_mmc.c299 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 Dfsl_esdhc_imx.c184 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 Dsh_mmcif.h211 struct mmc_data *data;
A Dmvebu_mmc.c40 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 Dtmio-common.c245 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 Darm_pl180_mmci.c227 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 Dgen_atmel_mci.c166 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 Dsandbox_mmc.c38 struct mmc_data *data) in sandbox_mmc_send_cmd()
/u-boot/include/
A Dmmc.h415 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()

Completed in 36 milliseconds

12