Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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.c910 struct tmio_mmc_data *mmc_data; in renesas_sdhi_probe() local
928 mmc_data = &priv->mmc_data; in renesas_sdhi_probe()
966 host = tmio_mmc_host_alloc(pdev, mmc_data); in renesas_sdhi_probe()
971 mmc_data->flags |= of_data->tmio_flags; in renesas_sdhi_probe()
972 mmc_data->ocr_mask = of_data->tmio_ocr_mask; in renesas_sdhi_probe()
973 mmc_data->capabilities |= of_data->capabilities; in renesas_sdhi_probe()
974 mmc_data->capabilities2 |= of_data->capabilities2; in renesas_sdhi_probe()
975 mmc_data->dma_rx_offset = of_data->dma_rx_offset; in renesas_sdhi_probe()
976 mmc_data->max_blk_count = of_data->max_blk_count; in renesas_sdhi_probe()
977 mmc_data->max_segs = of_data->max_segs; in renesas_sdhi_probe()
[all …]
Drenesas_sdhi.h69 struct tmio_mmc_data mmc_data; member
91 container_of((host)->pdata, struct renesas_sdhi, mmc_data)
Djz4740_mmc.c274 struct mmc_data *data) in jz4740_mmc_get_dma_chan()
283 struct mmc_data *data) in jz4740_mmc_dma_unmap()
296 struct mmc_data *data, in jz4740_mmc_prepare_dma_data()
324 struct mmc_data *data) in jz4740_mmc_start_dma_transfer()
374 struct mmc_data *data = mrq->data; in jz4740_mmc_pre_request()
389 struct mmc_data *data = mrq->data; in jz4740_mmc_post_request()
455 struct mmc_data *data; in jz4740_mmc_request_done()
488 struct mmc_data *data) in jz4740_mmc_transfer_check_state()
513 struct mmc_data *data) in jz4740_mmc_write_data()
568 struct mmc_data *data) in jz4740_mmc_read_data()
[all …]
Drenesas_sdhi_internal_dmac.c340 struct mmc_data *data, in renesas_sdhi_internal_dmac_unmap()
355 struct mmc_data *data, in renesas_sdhi_internal_dmac_map()
378 struct mmc_data *data) in renesas_sdhi_internal_dmac_start_dma()
479 struct mmc_data *data = mrq->data; in renesas_sdhi_internal_dmac_post_req()
491 struct mmc_data *data = mrq->data; in renesas_sdhi_internal_dmac_pre_req()
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 …]
Dmmci_stm32_sdmmc.c58 struct mmc_data *data) in sdmmc_idma_validate_data()
107 struct mmc_data *data) in _sdmmc_idma_prep_data()
136 struct mmc_data *data, bool next) in sdmmc_idma_prep_data()
146 struct mmc_data *data, int err) in sdmmc_idma_unprep_data()
199 struct mmc_data *data = host->data; in sdmmc_idma_start()
241 static void sdmmc_idma_finalize(struct mmci_host *host, struct mmc_data *data) in sdmmc_idma_finalize()
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;
157 struct mmc_data *data = mrq->data; in owl_mmc_finish_request()
174 struct mmc_data *data) in owl_mmc_send_cmd()
286 struct mmc_data *data = owl_host->data; in owl_mmc_dma_complete()
293 struct mmc_data *data) in owl_mmc_prepare_data()
342 struct mmc_data *data = mrq->data; in owl_mmc_request()
Dmeson-gx-mmc.c207 static unsigned int meson_mmc_get_timeout_msecs(struct mmc_data *data) in meson_mmc_get_timeout_msecs()
234 struct mmc_data *data = mrq->data; in meson_mmc_get_transfer_mode()
279 static inline bool meson_mmc_desc_chain_mode(const struct mmc_data *data) in meson_mmc_desc_chain_mode()
284 static inline bool meson_mmc_bounce_buf_read(const struct mmc_data *data) in meson_mmc_bounce_buf_read()
292 struct mmc_data *data = mrq->data; in meson_mmc_pre_req()
312 struct mmc_data *data = mrq->data; in meson_mmc_post_req()
724 struct mmc_data *data = host->cmd->data; in meson_mmc_desc_chain_transfer()
759 static void meson_mmc_copy_buffer(struct meson_host *host, struct mmc_data *data, in meson_mmc_copy_buffer()
808 struct mmc_data *data = cmd->data; in meson_mmc_start_cmd()
871 static int meson_mmc_validate_dram_access(struct mmc_host *mmc, struct mmc_data *data) in meson_mmc_validate_dram_access()
[all …]
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.c489 struct mmc_data *data) in mmci_validate_data()
507 static int mmci_prep_data(struct mmci_host *host, struct mmc_data *data, bool next) in mmci_prep_data()
523 static void mmci_unprep_data(struct mmci_host *host, struct mmc_data *data, in mmci_unprep_data()
532 static void mmci_get_next_data(struct mmci_host *host, struct mmc_data *data) in mmci_get_next_data()
542 struct mmc_data *data = host->data; in mmci_dma_start()
577 static void mmci_dma_finalize(struct mmci_host *host, struct mmc_data *data) in mmci_dma_finalize()
635 static void mmci_init_sg(struct mmci_host *host, struct mmc_data *data) in mmci_init_sg()
826 static void mmci_dma_unmap(struct mmci_host *host, struct mmc_data *data) in mmci_dma_unmap()
857 void mmci_dmae_finalize(struct mmci_host *host, struct mmc_data *data) in mmci_dmae_finalize()
903 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()
606 struct mmc_data *data = host->mrq->data; in sh_mmcif_next_block()
639 struct mmc_data *data = host->mrq->data; in sh_mmcif_read_block()
662 struct mmc_data *data = mrq->data; in sh_mmcif_multi_read()
681 struct mmc_data *data = host->mrq->data; in sh_mmcif_mread_block()
719 struct mmc_data *data = host->mrq->data; in sh_mmcif_write_block()
742 struct mmc_data *data = mrq->data; in sh_mmcif_multi_write()
761 struct mmc_data *data = host->mrq->data; in sh_mmcif_mwrite_block()
806 struct mmc_data *data = mrq->data; in sh_mmcif_set_cmd()
[all …]
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()
516 static u64 prepare_dma_single(struct cvm_mmc_host *host, struct mmc_data *data) in prepare_dma_single()
552 static u64 prepare_dma_sg(struct cvm_mmc_host *host, struct mmc_data *data) in prepare_dma_sg()
617 static u64 prepare_dma(struct cvm_mmc_host *host, struct mmc_data *data) in prepare_dma()
654 struct mmc_data *data; in cvm_mmc_dma_request()
Ddw_mmc.c115 struct mmc_data *data; in dw_mci_req_show()
418 static inline void send_stop_abort(struct dw_mci *host, struct mmc_data *data) in send_stop_abort()
439 struct mmc_data *data = host->data; in dw_mci_dma_cleanup()
478 struct mmc_data *data = host->data; in dw_mci_dmac_complete_dma()
581 struct mmc_data *data, in dw_mci_prepare_desc64()
653 struct mmc_data *data, in dw_mci_prepare_desc32()
878 struct mmc_data *data, in dw_mci_pre_dma_transfer()
919 struct mmc_data *data = mrq->data; in dw_mci_pre_req()
937 struct mmc_data *data = mrq->data; in dw_mci_post_req()
991 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()
Dmoxart-mmc.c152 struct mmc_data *data) in moxart_init_sg()
165 struct mmc_data *data = host->mrq->cmd->data; in moxart_next_sg()
257 static void moxart_transfer_dma(struct mmc_data *data, struct moxart_host *host) in moxart_transfer_dma()
307 struct mmc_data *data = host->mrq->cmd->data; in moxart_transfer_pio()
366 struct mmc_data *data = host->mrq->cmd->data; in moxart_prepare_data()
/linux-6.1.9/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
180 void mmc_set_data_timeout(struct mmc_data *data, const struct mmc_card *card);
/linux-6.1.9/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.c49 static struct omap_mmc_platform_data *mmc_data[OMAP15XX_NR_MMC]; variable
53 mmc_data[0] = &mmc1_data; in sx1_mmc_init()
54 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.c377 static struct omap_mmc_platform_data *mmc_data[OMAP16XX_NR_MMC]; variable
381 mmc_data[0] = &mmc1_data; in innovator_mmc_init()
382 omap1_init_mmc(mmc_data, OMAP15XX_NR_MMC); in innovator_mmc_init()
/linux-6.1.9/arch/arm/mach-versatile/
Dintegrator_cp.c75 static struct mmci_platform_data mmc_data = { variable
109 "mmci", &mmc_data),

1234