Home
last modified time | relevance | path

Searched defs:mmc (Results 1 – 25 of 60) sorted by relevance

123

/linux/drivers/mmc/host/
H A Dmmc_hsq.c19 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_retry_handler() local
26 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_modify_threshold() local
45 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_pump_requests() local
153 bool mmc_hsq_finalize_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_finalize_request()
180 static void mmc_hsq_recovery_start(struct mmc_host *mmc) in mmc_hsq_recovery_start()
192 static void mmc_hsq_recovery_finish(struct mmc_host *mmc) in mmc_hsq_recovery_finish()
212 static int mmc_hsq_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_request()
254 static void mmc_hsq_post_req(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_post_req()
277 static int mmc_hsq_wait_for_idle(struct mmc_host *mmc) in mmc_hsq_wait_for_idle()
288 static void mmc_hsq_disable(struct mmc_host *mmc) in mmc_hsq_disable()
[all …]
H A Dmeson-mx-sdhc-mmc.c45 struct mmc_host *mmc; member
80 static void meson_mx_sdhc_clear_fifo(struct mmc_host *mmc) in meson_mx_sdhc_clear_fifo()
103 static void meson_mx_sdhc_wait_cmd_ready(struct mmc_host *mmc) in meson_mx_sdhc_wait_cmd_ready()
132 static void meson_mx_sdhc_start_cmd(struct mmc_host *mmc, in meson_mx_sdhc_start_cmd()
237 static void meson_mx_sdhc_disable_clks(struct mmc_host *mmc) in meson_mx_sdhc_disable_clks()
249 static int meson_mx_sdhc_enable_clks(struct mmc_host *mmc) in meson_mx_sdhc_enable_clks()
267 static int meson_mx_sdhc_set_clk(struct mmc_host *mmc, struct mmc_ios *ios) in meson_mx_sdhc_set_clk()
307 static void meson_mx_sdhc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in meson_mx_sdhc_set_ios()
363 static int meson_mx_sdhc_map_dma(struct mmc_host *mmc, struct mmc_request *mrq) in meson_mx_sdhc_map_dma()
381 static void meson_mx_sdhc_request(struct mmc_host *mmc, struct mmc_request *mrq) in meson_mx_sdhc_request()
[all …]
H A Dcqhci-core.c115 struct mmc_host *mmc = cq_host->mmc; in cqhci_dumpregs() local
253 struct mmc_host *mmc = cq_host->mmc; in __cqhci_enable() local
319 int cqhci_deactivate(struct mmc_host *mmc) in cqhci_deactivate()
330 int cqhci_resume(struct mmc_host *mmc) in cqhci_resume()
337 static int cqhci_enable(struct mmc_host *mmc, struct mmc_card *card) in cqhci_enable()
375 static void cqhci_off(struct mmc_host *mmc) in cqhci_off()
402 static void cqhci_disable(struct mmc_host *mmc) in cqhci_disable()
542 static void cqhci_prep_dcmd_desc(struct mmc_host *mmc, in cqhci_prep_dcmd_desc()
602 static int cqhci_request(struct mmc_host *mmc, struct mmc_request *mrq) in cqhci_request()
672 static void cqhci_recovery_needed(struct mmc_host *mmc, struct mmc_request *mrq, in cqhci_recovery_needed()
[all …]
H A Drtsx_pci_sdmmc.c29 struct mmc_host *mmc; member
180 static void sdmmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq) in sdmmc_pre_req()
196 static void sdmmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in sdmmc_post_req()
430 struct mmc_host *mmc = host->mmc; in sd_read_long_data() local
488 struct mmc_host *mmc = host->mmc; in sd_write_long_data() local
801 struct mmc_host *mmc = host->mmc; in sd_request() local
872 static void sdmmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdmmc_request()
907 struct mmc_host *mmc = host->mmc; in sd_power_on() local
1086 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_set_ios()
1134 static int sdmmc_get_ro(struct mmc_host *mmc) in sdmmc_get_ro()
[all …]
H A Dpxamci.c50 struct mmc_host *mmc; member
78 struct mmc_host *mmc = host->mmc; in pxamci_init_ocr() local
99 struct mmc_host *mmc = host->mmc; in pxamci_set_power() local
399 static void pxamci_request(struct mmc_host *mmc, struct mmc_request *mrq) in pxamci_request()
425 static int pxamci_get_ro(struct mmc_host *mmc) in pxamci_get_ro()
440 static void pxamci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in pxamci_set_ios()
578 struct mmc_host *mmc) in pxamci_of_init()
600 struct mmc_host *mmc) in pxamci_of_init()
608 struct mmc_host *mmc; in pxamci_probe() local
777 struct mmc_host *mmc = platform_get_drvdata(pdev); in pxamci_remove() local
H A Dsdricoh_cs.c80 struct mmc_host *mmc; /* MMC structure */ member
254 static void sdricoh_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdricoh_request()
335 static void sdricoh_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdricoh_set_ios()
356 static int sdricoh_get_ro(struct mmc_host *mmc) in sdricoh_get_ro()
383 struct mmc_host *mmc; in sdricoh_init_mmc() local
474 struct mmc_host *mmc = link->priv; in sdricoh_pcmcia_detach() local
497 struct mmc_host *mmc = link->priv; in sdricoh_pcmcia_resume() local
H A Dmeson-mx-sdio.c118 struct mmc_host *mmc; member
125 static void meson_mx_mmc_mask_bits(struct mmc_host *mmc, char reg, u32 mask, in meson_mx_mmc_mask_bits()
155 static void meson_mx_mmc_start_cmd(struct mmc_host *mmc, in meson_mx_mmc_start_cmd()
258 static void meson_mx_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in meson_mx_mmc_set_ios()
310 static int meson_mx_mmc_map_dma(struct mmc_host *mmc, struct mmc_request *mrq) in meson_mx_mmc_map_dma()
337 static void meson_mx_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in meson_mx_mmc_request()
363 static void meson_mx_mmc_read_response(struct mmc_host *mmc, in meson_mx_mmc_read_response()
532 struct mmc_host *mmc = host->mmc; in meson_mx_mmc_add_host() local
633 struct mmc_host *mmc; in meson_mx_mmc_probe() local
H A Dwbsd.c743 static void wbsd_request(struct mmc_host *mmc, struct mmc_request *mrq) in wbsd_request()
837 static void wbsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in wbsd_set_ios()
910 static int wbsd_get_ro(struct mmc_host *mmc) in wbsd_get_ro()
1187 struct mmc_host *mmc; in wbsd_alloc_mmc() local
1254 struct mmc_host *mmc; in wbsd_free_mmc() local
1630 struct mmc_host *mmc = NULL; in wbsd_init() local
1722 struct mmc_host *mmc = dev_get_drvdata(dev); in wbsd_shutdown() local
1800 struct mmc_host *mmc = platform_get_drvdata(dev); in wbsd_platform_suspend() local
1816 struct mmc_host *mmc = platform_get_drvdata(dev); in wbsd_platform_resume() local
1841 struct mmc_host *mmc = dev_get_drvdata(&pnp_dev->dev); in wbsd_pnp_suspend() local
[all …]
H A Dof_mmc_spi.c36 irqreturn_t (*irqhandler)(int, void *), void *mmc) in of_mmc_spi_init() argument
44 static void of_mmc_spi_exit(struct device *dev, void *mmc) in of_mmc_spi_exit()
53 struct mmc_host *mmc = dev_get_drvdata(&spi->dev); in mmc_spi_get_pdata() local
H A Dloongson2-mmc.c325 static void loongson2_mmc_send_request(struct mmc_host *mmc) in loongson2_mmc_send_request()
356 struct mmc_host *mmc = mmc_from_priv(host); in loongson2_mmc_irq_worker() local
409 struct mmc_host *mmc = mmc_from_priv(host); in loongson2_mmc_irq() local
536 static void loongson2_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in loongson2_mmc_set_ios()
567 static void loongson2_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in loongson2_mmc_request()
576 static void loongson2_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) in loongson2_mmc_enable_sdio_irq()
583 static void loongson2_mmc_ack_sdio_irq(struct mmc_host *mmc) in loongson2_mmc_ack_sdio_irq()
643 struct mmc_host *mmc = mmc_from_priv(host); in loongson2_mmc_prepare_external_dma() local
792 struct mmc_host *mmc = mmc_from_priv(host); in loongson2_mmc_prepare_internal_dma() local
919 struct mmc_host *mmc; in loongson2_mmc_probe() local
[all …]
H A Dsdhci-of-k1.c121 struct mmc_host *mmc = host->mmc; in spacemit_sdhci_set_clock() local
156 static void spacemit_sdhci_hs400_enhanced_strobe(struct mmc_host *mmc, struct mmc_ios *ios) in spacemit_sdhci_hs400_enhanced_strobe()
176 static int spacemit_sdhci_pre_select_hs400(struct mmc_host *mmc) in spacemit_sdhci_pre_select_hs400()
185 static void spacemit_sdhci_post_select_hs400(struct mmc_host *mmc) in spacemit_sdhci_post_select_hs400()
192 static void spacemit_sdhci_pre_hs400_to_hs200(struct mmc_host *mmc) in spacemit_sdhci_pre_hs400_to_hs200()
H A Dcavium.c625 static u64 prepare_ext_dma(struct mmc_host *mmc, struct mmc_request *mrq) in prepare_ext_dma()
649 static void cvm_mmc_dma_request(struct mmc_host *mmc, in cvm_mmc_dma_request()
750 static void cvm_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in cvm_mmc_request()
822 static void cvm_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in cvm_mmc_set_ios()
906 struct mmc_host *mmc = slot->mmc; in cvm_mmc_set_clock() local
953 struct mmc_host *mmc = slot->mmc; in cvm_mmc_of_parse() local
1012 struct mmc_host *mmc; in cvm_mmc_of_slot_probe() local
H A Dmxcmmc.c120 struct mmc_host *mmc; member
751 static void mxcmci_request(struct mmc_host *mmc, struct mmc_request *req) in mxcmci_request()
819 static int mxcmci_setup_dma(struct mmc_host *mmc) in mxcmci_setup_dma()
835 static void mxcmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mxcmci_set_ios()
886 struct mmc_host *mmc = data; in mxcmci_detect_irq() local
894 static int mxcmci_get_ro(struct mmc_host *mmc) in mxcmci_get_ro()
908 static void mxcmci_enable_sdio_irq(struct mmc_host *mmc, int enable) in mxcmci_enable_sdio_irq()
994 struct mmc_host *mmc; in mxcmci_probe() local
1171 struct mmc_host *mmc = platform_get_drvdata(pdev); in mxcmci_remove() local
1188 struct mmc_host *mmc = dev_get_drvdata(dev); in mxcmci_suspend() local
[all …]
H A Ddw_mmc.c170 struct mmc_host *mmc = slot->mmc; in dw_mci_init_debugfs() local
252 static u32 dw_mci_prepare_command(struct mmc_host *mmc, struct mmc_command *cmd) in dw_mci_prepare_command()
913 static void dw_mci_pre_req(struct mmc_host *mmc, in dw_mci_pre_req()
930 static void dw_mci_post_req(struct mmc_host *mmc, in dw_mci_post_req()
948 static int dw_mci_get_cd(struct mmc_host *mmc) in dw_mci_get_cd()
1415 static void dw_mci_request(struct mmc_host *mmc, struct mmc_request *mrq) in dw_mci_request()
1441 static void dw_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in dw_mci_set_ios()
1546 static int dw_mci_card_busy(struct mmc_host *mmc) in dw_mci_card_busy()
1560 static int dw_mci_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in dw_mci_switch_voltage()
1597 static int dw_mci_get_ro(struct mmc_host *mmc) in dw_mci_get_ro()
[all …]
H A Dlitex_mmc.c77 struct mmc_host *mmc; member
235 static int litex_mmc_get_cd(struct mmc_host *mmc) in litex_mmc_get_cd()
255 struct mmc_host *mmc = arg; in litex_mmc_interrupt() local
338 static void litex_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in litex_mmc_request()
448 static void litex_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in litex_mmc_set_ios()
513 struct mmc_host *mmc; in litex_mmc_probe() local
H A Dowl-mmc.c115 struct mmc_host *mmc; member
340 static void owl_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in owl_mmc_request()
485 static void owl_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in owl_mmc_set_ios()
533 static int owl_mmc_start_signal_voltage_switch(struct mmc_host *mmc, in owl_mmc_start_signal_voltage_switch()
566 struct mmc_host *mmc; in owl_mmc_probe() local
663 struct mmc_host *mmc = platform_get_drvdata(pdev); in owl_mmc_remove() local
H A Dushc.c91 struct mmc_host *mmc; member
248 static void ushc_request(struct mmc_host *mmc, struct mmc_request *req) in ushc_request()
371 static void ushc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in ushc_set_ios()
380 static int ushc_get_cd(struct mmc_host *mmc) in ushc_get_cd()
387 static void ushc_enable_sdio_irq(struct mmc_host *mmc, int enable) in ushc_enable_sdio_irq()
419 struct mmc_host *mmc; in ushc_probe() local
H A Domap.c115 struct mmc_host *mmc; member
127 struct mmc_host * mmc; member
322 struct mmc_host *mmc = container_of(dev, struct mmc_host, class_dev); in mmc_omap_show_cover_switch() local
335 struct mmc_host *mmc = container_of(dev, struct mmc_host, class_dev); in mmc_omap_show_slot_name() local
470 struct mmc_host *mmc; in mmc_omap_xfer_done() local
593 struct mmc_host *mmc; in mmc_omap_cmd_done() local
622 struct mmc_host *mmc; in mmc_omap_abort_command() local
1093 static void mmc_omap_request(struct mmc_host *mmc, struct mmc_request *req) in mmc_omap_request()
1155 static int mmc_omap_calc_divisor(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_omap_calc_divisor()
1183 static void mmc_omap_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_omap_set_ios()
[all …]
H A Dmoxart-mmc.c132 struct mmc_host *mmc; member
393 static void moxart_request(struct mmc_host *mmc, struct mmc_request *mrq) in moxart_request()
488 static void moxart_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in moxart_set_ios()
535 static int moxart_get_ro(struct mmc_host *mmc) in moxart_get_ro()
553 struct mmc_host *mmc; in moxart_probe() local
686 struct mmc_host *mmc = dev_get_drvdata(&pdev->dev); in moxart_remove() local
H A Dtifm_sd.c613 static void tifm_sd_request(struct mmc_host *mmc, struct mmc_request *mrq) in tifm_sd_request()
731 struct mmc_host *mmc = tifm_get_drvdata(sock); in tifm_sd_end_cmd() local
789 static void tifm_sd_ios(struct mmc_host *mmc, struct mmc_ios *ios) in tifm_sd_ios()
856 static int tifm_sd_ro(struct mmc_host *mmc) in tifm_sd_ro()
939 struct mmc_host *mmc; in tifm_sd_probe() local
991 struct mmc_host *mmc = tifm_get_drvdata(sock); in tifm_sd_remove() local
1026 struct mmc_host *mmc = tifm_get_drvdata(sock); in tifm_sd_resume() local
H A Dusdhi6rol0.c159 struct mmc_host *mmc; member
796 struct mmc_host *mmc = host->mmc; in usdhi6_set_power() local
818 static void usdhi6_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in usdhi6_set_ios()
1091 static void usdhi6_request(struct mmc_host *mmc, struct mmc_request *mrq) in usdhi6_request()
1109 static int usdhi6_get_cd(struct mmc_host *mmc) in usdhi6_get_cd()
1125 static int usdhi6_get_ro(struct mmc_host *mmc) in usdhi6_get_ro()
1141 static void usdhi6_enable_sdio_irq(struct mmc_host *mmc, int enable) in usdhi6_enable_sdio_irq()
1174 static int usdhi6_sig_volt_switch(struct mmc_host *mmc, struct mmc_ios *ios) in usdhi6_sig_volt_switch()
1189 static int usdhi6_card_busy(struct mmc_host *mmc) in usdhi6_card_busy()
1653 struct mmc_host *mmc = host->mmc; in usdhi6_cd() local
[all …]
H A Djz4740_mmc.c150 struct mmc_host *mmc; member
374 static void jz4740_mmc_pre_request(struct mmc_host *mmc, in jz4740_mmc_pre_request()
388 static void jz4740_mmc_post_request(struct mmc_host *mmc, in jz4740_mmc_post_request()
924 static void jz4740_mmc_request(struct mmc_host *mmc, struct mmc_request *req) in jz4740_mmc_request()
940 static void jz4740_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in jz4740_mmc_set_ios()
995 static void jz4740_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) in jz4740_mmc_enable_sdio_irq()
1001 static int jz4740_voltage_switch(struct mmc_host *mmc, struct mmc_ios *ios) in jz4740_voltage_switch()
1043 struct mmc_host *mmc; in jz4740_mmc_probe() local
H A Dbcm2835.c273 static void bcm2835_reset(struct mmc_host *mmc) in bcm2835_reset()
1096 struct mmc_host *mmc = mmc_from_priv(host); in bcm2835_set_clock() local
1154 static void bcm2835_request(struct mmc_host *mmc, struct mmc_request *mrq) in bcm2835_request()
1227 static void bcm2835_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in bcm2835_set_ios()
1261 struct mmc_host *mmc = mmc_from_priv(host); in bcm2835_add_host() local
1370 struct mmc_host *mmc; in bcm2835_probe() local
1461 struct mmc_host *mmc = mmc_from_priv(host); in bcm2835_remove() local
H A Dsunplus-mmc.c167 struct mmc_host *mmc; member
727 static void spmmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in spmmc_request()
772 static void spmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in spmmc_set_ios()
790 static int spmmc_get_cd(struct mmc_host *mmc) in spmmc_get_cd()
803 static int spmmc_execute_tuning(struct mmc_host *mmc, u32 opcode) in spmmc_execute_tuning()
861 struct mmc_host *mmc; in spmmc_drv_probe() local
/linux/drivers/staging/greybus/
H A Dsdio.c22 struct mmc_host *mmc; member
118 struct mmc_host *mmc = host->mmc; in gb_sdio_get_caps() local
551 static void gb_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in gb_mmc_request()
588 static void gb_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in gb_mmc_set_ios()
721 static int gb_mmc_get_ro(struct mmc_host *mmc) in gb_mmc_get_ro()
735 static int gb_mmc_get_cd(struct mmc_host *mmc) in gb_mmc_get_cd()
749 static int gb_mmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in gb_mmc_switch_voltage()
766 struct mmc_host *mmc; in gb_sdio_probe() local
848 struct mmc_host *mmc; in gb_sdio_remove() local

123