Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/mmc/host/
Dmmci.h386 int (*validate_data)(struct mmci_host *host, struct mmc_data *data);
387 int (*prep_data)(struct mmci_host *host, struct mmc_data *data,
389 void (*unprep_data)(struct mmci_host *host, struct mmc_data *data,
392 void (*get_next_data)(struct mmci_host *host, struct mmc_data *data);
396 void (*dma_finalize)(struct mmci_host *host, struct mmc_data *data);
411 struct mmc_data *data;
472 int mmci_dmae_prep_data(struct mmci_host *host, struct mmc_data *data,
474 void mmci_dmae_unprep_data(struct mmci_host *host, struct mmc_data *data,
476 void mmci_dmae_get_next_data(struct mmci_host *host, struct mmc_data *data);
480 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 …]
Djz4740_mmc.c277 struct mmc_data *data) in jz4740_mmc_get_dma_chan()
286 struct mmc_data *data) in jz4740_mmc_dma_unmap()
299 struct mmc_data *data, in jz4740_mmc_prepare_dma_data()
327 struct mmc_data *data) in jz4740_mmc_start_dma_transfer()
377 struct mmc_data *data = mrq->data; in jz4740_mmc_pre_request()
392 struct mmc_data *data = mrq->data; in jz4740_mmc_post_request()
458 struct mmc_data *data; in jz4740_mmc_request_done()
491 struct mmc_data *data) in jz4740_mmc_transfer_check_state()
516 struct mmc_data *data) in jz4740_mmc_write_data()
571 struct mmc_data *data) in jz4740_mmc_read_data()
[all …]
Drenesas_sdhi.h76 struct tmio_mmc_data mmc_data; member
98 container_of((host)->pdata, struct renesas_sdhi, mmc_data)
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 …]
Dmeson-gx-mmc.c205 static unsigned int meson_mmc_get_timeout_msecs(struct mmc_data *data) in meson_mmc_get_timeout_msecs()
232 struct mmc_data *data = mrq->data; in meson_mmc_get_transfer_mode()
277 static inline bool meson_mmc_desc_chain_mode(const struct mmc_data *data) in meson_mmc_desc_chain_mode()
282 static inline bool meson_mmc_bounce_buf_read(const struct mmc_data *data) in meson_mmc_bounce_buf_read()
290 struct mmc_data *data = mrq->data; in meson_mmc_pre_req()
310 struct mmc_data *data = mrq->data; in meson_mmc_post_req()
709 struct mmc_data *data = host->cmd->data; in meson_mmc_desc_chain_transfer()
744 static void meson_mmc_copy_buffer(struct meson_host *host, struct mmc_data *data, in meson_mmc_copy_buffer()
793 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 …]
Dmmci_stm32_sdmmc.c82 struct mmc_data *data) in sdmmc_idma_validate_data()
132 struct mmc_data *data) in _sdmmc_idma_prep_data()
161 struct mmc_data *data, bool next) in sdmmc_idma_prep_data()
171 struct mmc_data *data, int err) in sdmmc_idma_unprep_data()
224 struct mmc_data *data = host->data; in sdmmc_idma_start()
270 struct mmc_data *data = host->data; in sdmmc_idma_error()
285 static void sdmmc_idma_finalize(struct mmci_host *host, struct mmc_data *data) in sdmmc_idma_finalize()
Drenesas_sdhi_internal_dmac.c365 struct mmc_data *data, in renesas_sdhi_internal_dmac_unmap()
380 struct mmc_data *data, in renesas_sdhi_internal_dmac_map()
403 struct mmc_data *data) in renesas_sdhi_internal_dmac_start_dma()
510 struct mmc_data *data = mrq->data; in renesas_sdhi_internal_dmac_post_req()
522 struct mmc_data *data = mrq->data; in renesas_sdhi_internal_dmac_pre_req()
Datmel-mci.c354 struct mmc_data *data;
385 u32 (*prepare_data)(struct atmel_mci *host, struct mmc_data *data);
386 void (*submit_data)(struct atmel_mci *host, struct mmc_data *data);
447 struct mmc_data *data; in atmci_req_show()
776 struct atmel_mci_slot *slot, struct mmc_data *data) in atmci_set_timeout()
811 struct mmc_data *data; in atmci_prepare_command()
874 static void atmci_send_stop_cmd(struct atmel_mci *host, struct mmc_data *data) in atmci_send_stop_cmd()
948 struct mmc_data *data = host->data; in atmci_pdc_cleanup()
986 struct mmc_data *data = host->data; in atmci_dma_cleanup()
1000 struct mmc_data *data = host->data; in atmci_dma_complete()
[all …]
Dowl-mmc.c118 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 …]
Dsh_mmcif.c288 struct mmc_data *data = host->mrq->data; in sh_mmcif_start_dma_rx()
338 struct mmc_data *data = host->mrq->data; in sh_mmcif_start_dma_tx()
605 struct mmc_data *data = host->mrq->data; in sh_mmcif_next_block()
638 struct mmc_data *data = host->mrq->data; in sh_mmcif_read_block()
661 struct mmc_data *data = mrq->data; in sh_mmcif_multi_read()
680 struct mmc_data *data = host->mrq->data; in sh_mmcif_mread_block()
718 struct mmc_data *data = host->mrq->data; in sh_mmcif_write_block()
741 struct mmc_data *data = mrq->data; in sh_mmcif_multi_write()
760 struct mmc_data *data = host->mrq->data; in sh_mmcif_mwrite_block()
805 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()
Dmmci.c520 struct mmc_data *data) in mmci_validate_data()
538 static int mmci_prep_data(struct mmci_host *host, struct mmc_data *data, bool next) in mmci_prep_data()
554 static void mmci_unprep_data(struct mmci_host *host, struct mmc_data *data, in mmci_unprep_data()
563 static void mmci_get_next_data(struct mmci_host *host, struct mmc_data *data) in mmci_get_next_data()
573 struct mmc_data *data = host->data; in mmci_dma_start()
608 static void mmci_dma_finalize(struct mmci_host *host, struct mmc_data *data) in mmci_dma_finalize()
666 static void mmci_init_sg(struct mmci_host *host, struct mmc_data *data) in mmci_init_sg()
928 static void mmci_dma_unmap(struct mmci_host *host, struct mmc_data *data) in mmci_dma_unmap()
959 void mmci_dmae_finalize(struct mmci_host *host, struct mmc_data *data) in mmci_dmae_finalize()
1005 static int _mmci_dmae_prep_data(struct mmci_host *host, struct mmc_data *data, in _mmci_dmae_prep_data()
[all …]
Ddw_mmc.c115 struct mmc_data *data; in dw_mci_req_show()
417 static inline void send_stop_abort(struct dw_mci *host, struct mmc_data *data) in send_stop_abort()
438 struct mmc_data *data = host->data; in dw_mci_dma_cleanup()
477 struct mmc_data *data = host->data; in dw_mci_dmac_complete_dma()
580 struct mmc_data *data, in dw_mci_prepare_desc64()
652 struct mmc_data *data, in dw_mci_prepare_desc32()
877 struct mmc_data *data, in dw_mci_pre_dma_transfer()
918 struct mmc_data *data = mrq->data; in dw_mci_pre_req()
936 struct mmc_data *data = mrq->data; in dw_mci_post_req()
990 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()
Dcb710-mmc.c260 static bool cb710_is_transfer_size_supported(struct mmc_data *data) in cb710_is_transfer_size_supported()
265 static int cb710_mmc_receive(struct cb710_slot *slot, struct mmc_data *data) in cb710_mmc_receive()
309 static int cb710_mmc_send(struct cb710_slot *slot, struct mmc_data *data) in cb710_mmc_send()
425 struct mmc_data *data) in cb710_mmc_transfer_data()
447 struct mmc_data *data = cmd->data; in cb710_mmc_command()
Dmxs-mmc.c53 struct mmc_data *data;
126 struct mmc_data *data = host->data; in mxs_mmc_request_done()
179 struct mmc_data *data = host->data; in mxs_mmc_irq_handler()
218 struct mmc_data *data = host->data; in mxs_mmc_prep_dma()
346 struct mmc_data *data = cmd->data; in mxs_mmc_adtc()
Domap.c125 struct mmc_data * data;
149 struct mmc_data *stop_data;
415 mmc_omap_release_dma(struct mmc_omap_host *host, struct mmc_data *data, in mmc_omap_release_dma()
445 struct mmc_data *data = host->stop_data; in mmc_omap_send_stop_work()
455 mmc_omap_xfer_done(struct mmc_omap_host *host, struct mmc_data *data) in mmc_omap_xfer_done()
512 mmc_omap_abort_xfer(struct mmc_omap_host *host, struct mmc_data *data) in mmc_omap_abort_xfer()
524 mmc_omap_end_of_data(struct mmc_omap_host *host, struct mmc_data *data) in mmc_omap_end_of_data()
545 mmc_omap_dma_done(struct mmc_omap_host *host, struct mmc_data *data) in mmc_omap_dma_done()
917 struct mmc_data *data = host->data; in mmc_omap_dma_callback()
959 struct mmc_data *data = req->data; in mmc_omap_prepare_data()
Drtsx_pci_sdmmc.c148 struct mmc_data *data, bool pre) in sd_pre_dma_transfer()
184 struct mmc_data *data = mrq->data; in sdmmc_pre_req()
202 struct mmc_data *data = mrq->data; in sdmmc_post_req()
434 struct mmc_data *data = mrq->data; in sd_read_long_data()
492 struct mmc_data *data = mrq->data; in sd_write_long_data()
556 struct mmc_data *data = mrq->data; in sd_rw_multi()
585 struct mmc_data *data = mrq->data; in sd_normal_rw()
784 struct mmc_data *data) in sdio_extblock_cmd()
805 struct mmc_data *data = mrq->data; in sd_request()
876 struct mmc_data *data = mrq->data; in sdmmc_request()
/linux-6.6.21/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.6.21/arch/arm/mach-omap1/
Dboard-sx1-mmc.c48 static struct omap_mmc_platform_data *mmc_data[OMAP15XX_NR_MMC]; variable
52 mmc_data[0] = &mmc1_data; in sx1_mmc_init()
53 omap1_init_mmc(mmc_data, OMAP15XX_NR_MMC); in sx1_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.c171 void __init omap1_init_mmc(struct omap_mmc_platform_data **mmc_data, in omap1_init_mmc() argument
181 if (!mmc_data[i]) in omap1_init_mmc()
184 omap1_mmc_mux(mmc_data[i], i); in omap1_init_mmc()
207 rx_req, tx_req, mmc_data[i]); in omap1_init_mmc()
/linux-6.6.21/arch/arm/mach-versatile/
Dintegrator_cp.c75 static struct mmci_platform_data mmc_data = { variable
109 "mmci", &mmc_data),

1234