Home
last modified time | relevance | path

Searched defs:mmc (Results 1 – 25 of 72) 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 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 Dtmio_mmc_core.c138 static void tmio_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) in tmio_mmc_enable_sdio_irq()
633 struct mmc_host *mmc = host->mmc; in __tmio_mmc_card_detect_irq() local
682 struct mmc_host *mmc = host->mmc; in __tmio_mmc_sdio_irq() local
796 static void tmio_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in tmio_mmc_request()
878 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_on() local
909 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_off() local
939 static void tmio_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in tmio_mmc_set_ios()
1011 static int tmio_mmc_get_ro(struct mmc_host *mmc) in tmio_mmc_get_ro()
1019 static int tmio_mmc_get_cd(struct mmc_host *mmc) in tmio_mmc_get_cd()
1050 struct mmc_host *mmc = host->mmc; in tmio_mmc_init_ocr() local
[all …]
H A Dsdhci.c241 struct mmc_host *mmc = host->mmc; in sdhci_do_reset() local
364 struct mmc_host *mmc = host->mmc; in sdhci_init() local
452 struct mmc_host *mmc = host->mmc; in sdhci_led_register() local
940 struct mmc_host *mmc = host->mmc; in sdhci_calc_sw_timeout() local
1223 struct mmc_host *mmc = host->mmc; in sdhci_external_dma_init() local
2081 struct mmc_host *mmc = host->mmc; in sdhci_set_power_reg() local
2197 struct mmc_host *mmc = host->mmc; in sdhci_set_power_and_bus_voltage() local
2211 void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdhci_request()
2243 int sdhci_request_atomic(struct mmc_host *mmc, struct mmc_request *mrq) in sdhci_request_atomic()
2353 void sdhci_set_ios_common(struct mmc_host *mmc, struct mmc_ios *ios) in sdhci_set_ios_common()
[all …]
H A Dsdhci-uhs2.c76 static inline int mmc_opt_regulator_set_ocr(struct mmc_host *mmc, in mmc_opt_regulator_set_ocr()
125 struct mmc_host *mmc = host->mmc; in sdhci_uhs2_set_power() local
256 static void __sdhci_uhs2_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in __sdhci_uhs2_set_ios()
301 static int sdhci_uhs2_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdhci_uhs2_set_ios()
364 struct mmc_host *mmc = host->mmc; in sdhci_uhs2_init() local
410 static int sdhci_uhs2_do_detect_init(struct mmc_host *mmc) in sdhci_uhs2_do_detect_init()
442 static int sdhci_uhs2_disable_clk(struct mmc_host *mmc) in sdhci_uhs2_disable_clk()
453 static int sdhci_uhs2_enable_clk(struct mmc_host *mmc) in sdhci_uhs2_enable_clk()
514 static int sdhci_uhs2_control(struct mmc_host *mmc, enum sd_uhs2_operation op) in sdhci_uhs2_control()
862 static void sdhci_uhs2_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdhci_uhs2_request()
[all …]
H A Dalcor.c693 static void alcor_set_timing(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_timing()
706 static void alcor_set_bus_width(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_bus_width()
721 static int alcor_card_busy(struct mmc_host *mmc) in alcor_card_busy()
733 static int alcor_get_cd(struct mmc_host *mmc) in alcor_get_cd()
745 static int alcor_get_ro(struct mmc_host *mmc) in alcor_get_ro()
757 static void alcor_request(struct mmc_host *mmc, struct mmc_request *mrq) in alcor_request()
776 static void alcor_pre_req(struct mmc_host *mmc, in alcor_pre_req()
826 static void alcor_post_req(struct mmc_host *mmc, in alcor_post_req()
846 static void alcor_set_power_mode(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_power_mode()
907 static void alcor_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_ios()
[all …]
H A Dtoshsd.c78 static void __toshsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in __toshsd_set_ios()
496 static void toshsd_request(struct mmc_host *mmc, struct mmc_request *mrq) in toshsd_request()
524 static void toshsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in toshsd_set_ios()
534 static int toshsd_get_ro(struct mmc_host *mmc) in toshsd_get_ro()
542 static int toshsd_get_cd(struct mmc_host *mmc) in toshsd_get_cd()
608 struct mmc_host *mmc; in toshsd_probe() local
H A Dmtk-sd.c875 struct mmc_host *mmc = mmc_from_priv(host); in msdc_timeout_cal() local
989 struct mmc_host *mmc = mmc_from_priv(host); in msdc_set_mclk() local
1156 struct mmc_host *mmc = mmc_from_priv(host); in msdc_cmd_prepare_raw_cmd() local
1260 struct mmc_host *mmc = mmc_from_priv(host); in msdc_recheck_sdio_irq() local
1288 struct mmc_host *mmc = mmc_from_priv(host); in msdc_request_done() local
1484 static void msdc_ops_request(struct mmc_host *mmc, struct mmc_request *mrq) in msdc_ops_request()
1517 static void msdc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq) in msdc_pre_req()
1529 static void msdc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in msdc_post_req()
1641 static int msdc_ops_switch_volt(struct mmc_host *mmc, struct mmc_ios *ios) in msdc_ops_switch_volt()
1669 static int msdc_card_busy(struct mmc_host *mmc) in msdc_card_busy()
[all …]
H A Dmmci.c371 static int mmci_card_busy(struct mmc_host *mmc) in mmci_card_busy()
1208 static void mmci_pre_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmci_pre_request()
1224 static void mmci_post_request(struct mmc_host *mmc, struct mmc_request *mrq, in mmci_post_request()
1879 static void mmci_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmci_request()
1911 static void mmci_set_max_busy_timeout(struct mmc_host *mmc) in mmci_set_max_busy_timeout()
1926 static void mmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mmci_set_ios()
2038 static int mmci_get_cd(struct mmc_host *mmc) in mmci_get_cd()
2053 static int mmci_sig_volt_switch(struct mmc_host *mmc, struct mmc_ios *ios) in mmci_sig_volt_switch()
2071 static void mmci_enable_sdio_irq(struct mmc_host *mmc, int enable) in mmci_enable_sdio_irq()
2090 static void mmci_ack_sdio_irq(struct mmc_host *mmc) in mmci_ack_sdio_irq()
[all …]
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
476 struct mmc_host *mmc = link->priv; in sdricoh_pcmcia_detach() local
501 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
1632 struct mmc_host *mmc = NULL; in wbsd_init() local
1724 struct mmc_host *mmc = dev_get_drvdata(dev); in wbsd_shutdown() local
1802 struct mmc_host *mmc = platform_get_drvdata(dev); in wbsd_platform_suspend() local
1818 struct mmc_host *mmc = platform_get_drvdata(dev); in wbsd_platform_resume() local
1843 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 Dsdhci-of-k1.c120 struct mmc_host *mmc = host->mmc; in spacemit_sdhci_set_clock() local
153 static void spacemit_sdhci_hs400_enhanced_strobe(struct mmc_host *mmc, struct mmc_ios *ios) in spacemit_sdhci_hs400_enhanced_strobe()
173 static int spacemit_sdhci_pre_select_hs400(struct mmc_host *mmc) in spacemit_sdhci_pre_select_hs400()
183 static void spacemit_sdhci_post_select_hs400(struct mmc_host *mmc) in spacemit_sdhci_post_select_hs400()
191 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 Dsdhci-msm.c280 struct mmc_host *mmc; member
407 struct mmc_host *mmc = host->mmc; in msm_dll_poll_ck_out_en() local
439 struct mmc_host *mmc = host->mmc; in msm_config_cm_dll_phase() local
509 struct mmc_host *mmc = host->mmc; in msm_find_most_appropriate_phase() local
635 struct mmc_host *mmc = host->mmc; in msm_init_cm_dll() local
1015 struct mmc_host *mmc = host->mmc; in sdhci_msm_cm_dll_sdc4_calibration() local
1093 struct mmc_host *mmc = host->mmc; in sdhci_msm_hs400_dll_calibration() local
1195 static int sdhci_msm_execute_tuning(struct mmc_host *mmc, u32 opcode) in sdhci_msm_execute_tuning()
1328 struct mmc_host *mmc = host->mmc; in sdhci_msm_set_uhs_signaling() local
1415 static void msm_config_vmmc_regulator(struct mmc_host *mmc, bool hpm) in msm_config_vmmc_regulator()
[all …]
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
1180 struct mmc_host *mmc = platform_get_drvdata(pdev); in mxcmci_remove() local
1199 struct mmc_host *mmc = dev_get_drvdata(dev); in mxcmci_suspend() local
[all …]
H A Dmvsdio.c48 struct mmc_host *mmc; member
136 static void mvsd_request(struct mmc_host *mmc, struct mmc_request *mrq) in mvsd_request()
551 static void mvsd_enable_sdio_irq(struct mmc_host *mmc, int enable) in mvsd_enable_sdio_irq()
598 static void mvsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mvsd_set_ios()
696 struct mmc_host *mmc = NULL; in mvsd_probe() local
801 struct mmc_host *mmc = platform_get_drvdata(pdev); in mvsd_remove() local
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 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()
421 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 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
994 struct mmc_host *mmc = tifm_get_drvdata(sock); in tifm_sd_remove() local
1031 struct mmc_host *mmc = tifm_get_drvdata(sock); in tifm_sd_resume() local
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
/linux/drivers/mmc/core/
H A Dregulator.c106 int mmc_regulator_set_ocr(struct mmc_host *mmc, in mmc_regulator_set_ocr()
182 int mmc_regulator_set_vqmmc(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_regulator_set_vqmmc()
241 int mmc_regulator_set_vqmmc2(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_regulator_set_vqmmc2()
275 int mmc_regulator_get_supply(struct mmc_host *mmc) in mmc_regulator_get_supply()
324 int mmc_regulator_enable_vqmmc(struct mmc_host *mmc) in mmc_regulator_enable_vqmmc()
348 void mmc_regulator_disable_vqmmc(struct mmc_host *mmc) in mmc_regulator_disable_vqmmc()
/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