Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/mmc/host/
Dmmci.h369 int (*validate_data)(struct mmci_host *host, struct mmc_data *data);
370 int (*prep_data)(struct mmci_host *host, struct mmc_data *data,
372 void (*unprep_data)(struct mmci_host *host, struct mmc_data *data,
375 void (*get_next_data)(struct mmci_host *host, struct mmc_data *data);
379 void (*dma_finalize)(struct mmci_host *host, struct mmc_data *data);
394 struct mmc_data *data;
453 int mmci_dmae_prep_data(struct mmci_host *host, struct mmc_data *data,
455 void mmci_dmae_unprep_data(struct mmci_host *host, struct mmc_data *data,
457 void mmci_dmae_get_next_data(struct mmci_host *host, struct mmc_data *data);
461 void mmci_dmae_finalize(struct mmci_host *host, struct mmc_data *data);
Drenesas_sdhi_core.c919 struct tmio_mmc_data *mmc_data; in renesas_sdhi_probe() local
943 mmc_data = &priv->mmc_data; in renesas_sdhi_probe()
976 host = tmio_mmc_host_alloc(pdev, mmc_data); in renesas_sdhi_probe()
981 mmc_data->flags |= of_data->tmio_flags; in renesas_sdhi_probe()
982 mmc_data->ocr_mask = of_data->tmio_ocr_mask; in renesas_sdhi_probe()
983 mmc_data->capabilities |= of_data->capabilities; in renesas_sdhi_probe()
984 mmc_data->capabilities2 |= of_data->capabilities2; in renesas_sdhi_probe()
985 mmc_data->dma_rx_offset = of_data->dma_rx_offset; in renesas_sdhi_probe()
986 mmc_data->max_blk_count = of_data->max_blk_count; in renesas_sdhi_probe()
987 mmc_data->max_segs = of_data->max_segs; in renesas_sdhi_probe()
[all …]
Drenesas_sdhi.h56 struct tmio_mmc_data mmc_data; member
76 container_of((host)->pdata, struct renesas_sdhi, mmc_data)
Djz4740_mmc.c263 struct mmc_data *data) in jz4740_mmc_get_dma_chan()
269 struct mmc_data *data) in jz4740_mmc_dma_unmap()
282 struct mmc_data *data, in jz4740_mmc_prepare_dma_data()
310 struct mmc_data *data) in jz4740_mmc_start_dma_transfer()
360 struct mmc_data *data = mrq->data; in jz4740_mmc_pre_request()
375 struct mmc_data *data = mrq->data; in jz4740_mmc_post_request()
441 struct mmc_data *data; in jz4740_mmc_request_done()
474 struct mmc_data *data) in jz4740_mmc_transfer_check_state()
499 struct mmc_data *data) in jz4740_mmc_write_data()
554 struct mmc_data *data) in jz4740_mmc_read_data()
[all …]
Dmmci_stm32_sdmmc.c55 struct mmc_data *data) in sdmmc_idma_validate_data()
85 struct mmc_data *data) in _sdmmc_idma_prep_data()
103 struct mmc_data *data, bool next) in sdmmc_idma_prep_data()
113 struct mmc_data *data, int err) in sdmmc_idma_unprep_data()
153 struct mmc_data *data = host->data; in sdmmc_idma_start()
187 static void sdmmc_idma_finalize(struct mmci_host *host, struct mmc_data *data) in sdmmc_idma_finalize()
Dmeson-gx-mmc.c203 static unsigned int meson_mmc_get_timeout_msecs(struct mmc_data *data) in meson_mmc_get_timeout_msecs()
230 struct mmc_data *data = mrq->data; in meson_mmc_get_transfer_mode()
264 static inline bool meson_mmc_desc_chain_mode(const struct mmc_data *data) in meson_mmc_desc_chain_mode()
269 static inline bool meson_mmc_bounce_buf_read(const struct mmc_data *data) in meson_mmc_bounce_buf_read()
277 struct mmc_data *data = mrq->data; in meson_mmc_pre_req()
297 struct mmc_data *data = mrq->data; in meson_mmc_post_req()
708 struct mmc_data *data = host->cmd->data; in meson_mmc_desc_chain_transfer()
743 static void meson_mmc_copy_buffer(struct meson_host *host, struct mmc_data *data, in meson_mmc_copy_buffer()
792 struct mmc_data *data = cmd->data; in meson_mmc_start_cmd()
855 static int meson_mmc_validate_dram_access(struct mmc_host *mmc, struct mmc_data *data) in meson_mmc_validate_dram_access()
[all …]
Dwbsd.c237 static inline void wbsd_init_sg(struct wbsd_host *host, struct mmc_data *data) in wbsd_init_sg()
273 static inline void wbsd_sg_to_dma(struct wbsd_host *host, struct mmc_data *data) in wbsd_sg_to_dma()
283 static inline void wbsd_dma_to_sg(struct wbsd_host *host, struct mmc_data *data) in wbsd_dma_to_sg()
402 struct mmc_data *data = host->mrq->cmd->data; in wbsd_empty_fifo()
467 struct mmc_data *data = host->mrq->cmd->data; in wbsd_fill_fifo()
530 static void wbsd_prepare_data(struct wbsd_host *host, struct mmc_data *data) in wbsd_prepare_data()
665 static void wbsd_finish_data(struct wbsd_host *host, struct mmc_data *data) in wbsd_finish_data()
973 static inline struct mmc_data *wbsd_get_data(struct wbsd_host *host) in wbsd_get_data()
1042 struct mmc_data *data; in wbsd_tasklet_fifo()
1073 struct mmc_data *data; in wbsd_tasklet_crc()
[all …]
Datmel-mci.c320 struct mmc_data *data;
351 u32 (*prepare_data)(struct atmel_mci *host, struct mmc_data *data);
352 void (*submit_data)(struct atmel_mci *host, struct mmc_data *data);
415 struct mmc_data *data; in atmci_req_show()
732 struct atmel_mci_slot *slot, struct mmc_data *data) in atmci_set_timeout()
767 struct mmc_data *data; in atmci_prepare_command()
830 static void atmci_send_stop_cmd(struct atmel_mci *host, struct mmc_data *data) in atmci_send_stop_cmd()
904 struct mmc_data *data = host->data; in atmci_pdc_cleanup()
942 struct mmc_data *data = host->data; in atmci_dma_cleanup()
956 struct mmc_data *data = host->data; in atmci_dma_complete()
[all …]
Dowl-mmc.c117 struct mmc_data *data;
158 struct mmc_data *data = mrq->data; in owl_mmc_finish_request()
175 struct mmc_data *data) in owl_mmc_send_cmd()
287 struct mmc_data *data = owl_host->data; in owl_mmc_dma_complete()
294 struct mmc_data *data) in owl_mmc_prepare_data()
343 struct mmc_data *data = mrq->data; in owl_mmc_request()
Dusdhi6rol0.c317 struct mmc_data *data = host->mrq->data; in usdhi6_blk_bounce()
345 struct mmc_data *data = mrq->data; in usdhi6_sg_prep()
357 struct mmc_data *data = host->mrq->data; in usdhi6_sg_map()
397 struct mmc_data *data = host->mrq->data; in usdhi6_sg_unmap()
437 struct mmc_data *data = host->mrq->data; in usdhi6_sg_advance()
534 struct mmc_data *data = host->mrq->data; in usdhi6_dma_stop_unmap()
569 struct mmc_data *data = host->mrq->data; in usdhi6_dma_setup()
628 struct mmc_data *data = host->mrq->data; in usdhi6_dma_kill()
641 struct mmc_data *data = host->mrq->data; in usdhi6_dma_check_error()
904 struct mmc_data *data = mrq->data; in usdhi6_request_done()
[all …]
Dmmci.c488 struct mmc_data *data) in mmci_validate_data()
506 static int mmci_prep_data(struct mmci_host *host, struct mmc_data *data, bool next) in mmci_prep_data()
522 static void mmci_unprep_data(struct mmci_host *host, struct mmc_data *data, in mmci_unprep_data()
531 static void mmci_get_next_data(struct mmci_host *host, struct mmc_data *data) in mmci_get_next_data()
541 struct mmc_data *data = host->data; in mmci_dma_start()
576 static void mmci_dma_finalize(struct mmci_host *host, struct mmc_data *data) in mmci_dma_finalize()
634 static void mmci_init_sg(struct mmci_host *host, struct mmc_data *data) in mmci_init_sg()
825 static void mmci_dma_unmap(struct mmci_host *host, struct mmc_data *data) in mmci_dma_unmap()
856 void mmci_dmae_finalize(struct mmci_host *host, struct mmc_data *data) in mmci_dmae_finalize()
902 static int _mmci_dmae_prep_data(struct mmci_host *host, struct mmc_data *data, in _mmci_dmae_prep_data()
[all …]
Dsh_mmcif.c289 struct mmc_data *data = host->mrq->data; in sh_mmcif_start_dma_rx()
339 struct mmc_data *data = host->mrq->data; in sh_mmcif_start_dma_tx()
604 struct mmc_data *data = host->mrq->data; in sh_mmcif_next_block()
637 struct mmc_data *data = host->mrq->data; in sh_mmcif_read_block()
660 struct mmc_data *data = mrq->data; in sh_mmcif_multi_read()
679 struct mmc_data *data = host->mrq->data; in sh_mmcif_mread_block()
717 struct mmc_data *data = host->mrq->data; in sh_mmcif_write_block()
740 struct mmc_data *data = mrq->data; in sh_mmcif_multi_write()
759 struct mmc_data *data = host->mrq->data; in sh_mmcif_mwrite_block()
804 struct mmc_data *data = mrq->data; in sh_mmcif_set_cmd()
[all …]
Dandroid-goldfish.c111 struct mmc_data *data;
203 struct mmc_data *data) in goldfish_mmc_xfer_done()
242 struct mmc_data *data) in goldfish_mmc_end_of_data()
356 struct mmc_data *data = req->data; in goldfish_mmc_prepare_data()
Dcavium.c368 static int get_dma_dir(struct mmc_data *data) in get_dma_dir()
373 static int finish_dma_single(struct cvm_mmc_host *host, struct mmc_data *data) in finish_dma_single()
381 static int finish_dma_sg(struct cvm_mmc_host *host, struct mmc_data *data) in finish_dma_sg()
401 static int finish_dma(struct cvm_mmc_host *host, struct mmc_data *data) in finish_dma()
517 static u64 prepare_dma_single(struct cvm_mmc_host *host, struct mmc_data *data) in prepare_dma_single()
553 static u64 prepare_dma_sg(struct cvm_mmc_host *host, struct mmc_data *data) in prepare_dma_sg()
618 static u64 prepare_dma(struct cvm_mmc_host *host, struct mmc_data *data) in prepare_dma()
655 struct mmc_data *data; in cvm_mmc_dma_request()
Ddw_mmc.c113 struct mmc_data *data; in dw_mci_req_show()
412 static inline void send_stop_abort(struct dw_mci *host, struct mmc_data *data) in send_stop_abort()
433 struct mmc_data *data = host->data; in dw_mci_dma_cleanup()
472 struct mmc_data *data = host->data; in dw_mci_dmac_complete_dma()
575 struct mmc_data *data, in dw_mci_prepare_desc64()
647 struct mmc_data *data, in dw_mci_prepare_desc32()
872 struct mmc_data *data, in dw_mci_pre_dma_transfer()
913 struct mmc_data *data = mrq->data; in dw_mci_pre_req()
931 struct mmc_data *data = mrq->data; in dw_mci_post_req()
985 static void dw_mci_adjust_fifoth(struct dw_mci *host, struct mmc_data *data) in dw_mci_adjust_fifoth()
[all …]
Dalcor.c48 struct mmc_data *data;
151 struct mmc_data *data = host->data; in alcor_trigger_data_transfer()
229 struct mmc_data *data = host->data; in alcor_prepare_sg_miter()
242 struct mmc_data *data = cmd->data; in alcor_prepare_data()
341 struct mmc_data *data; in alcor_finish_data()
779 struct mmc_data *data = mrq->data; in alcor_pre_req()
830 struct mmc_data *data = mrq->data; in alcor_post_req()
/kernel/linux/linux-5.10/include/linux/mmc/
Dcore.h11 struct mmc_data;
110 struct mmc_data *data; /* data segment associated with cmd */
114 struct mmc_data { struct
147 struct mmc_data *data; argument
175 void mmc_set_data_timeout(struct mmc_data *data, const struct mmc_card *card);
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Dboard-h3-mmc.c43 static struct omap_mmc_platform_data *mmc_data[OMAP16XX_NR_MMC]; variable
54 mmc_data[0] = &mmc1_data; in h3_mmc_init()
55 omap1_init_mmc(mmc_data, OMAP16XX_NR_MMC); in h3_mmc_init()
Dboard-sx1-mmc.c50 static struct omap_mmc_platform_data *mmc_data[OMAP15XX_NR_MMC]; variable
54 mmc_data[0] = &mmc1_data; in sx1_mmc_init()
55 omap1_init_mmc(mmc_data, OMAP15XX_NR_MMC); in sx1_mmc_init()
Dboard-h2-mmc.c60 static struct omap_mmc_platform_data *mmc_data[OMAP16XX_NR_MMC]; variable
64 mmc_data[0] = &mmc1_data; in h2_mmc_init()
65 omap1_init_mmc(mmc_data, OMAP16XX_NR_MMC); in h2_mmc_init()
Dmmc.h12 void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data,
15 static inline void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data, in omap1_init_mmc() argument
Ddevices.c183 void __init omap1_init_mmc(struct omap_mmc_platform_data **mmc_data, in omap1_init_mmc() argument
193 if (!mmc_data[i]) in omap1_init_mmc()
196 omap1_mmc_mux(mmc_data[i], i); in omap1_init_mmc()
219 rx_req, tx_req, mmc_data[i]); in omap1_init_mmc()
Dboard-innovator.c357 static struct omap_mmc_platform_data *mmc_data[OMAP16XX_NR_MMC]; variable
361 mmc_data[0] = &mmc1_data; in innovator_mmc_init()
362 omap1_init_mmc(mmc_data, OMAP15XX_NR_MMC); in innovator_mmc_init()
/kernel/linux/linux-5.10/arch/arm/mach-integrator/
Dintegrator_cp.c77 static struct mmci_platform_data mmc_data = { variable
111 "mmci", &mmc_data),
/kernel/linux/linux-5.10/drivers/mmc/core/
Dsd_ops.c215 struct mmc_data data = {}; in mmc_app_send_scr()
269 struct mmc_data data = {}; in mmc_sd_switch()
311 struct mmc_data data = {}; in mmc_app_sd_status()

1234