Home
last modified time | relevance | path

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

1234

/Linux-v4.19/drivers/mmc/host/
Dcqhci.c110 struct mmc_host *mmc = cq_host->mmc; in cqhci_dumpregs() local
240 struct mmc_host *mmc = cq_host->mmc; in __cqhci_enable() local
300 int cqhci_suspend(struct mmc_host *mmc) in cqhci_suspend()
311 int cqhci_resume(struct mmc_host *mmc) in cqhci_resume()
318 static int cqhci_enable(struct mmc_host *mmc, struct mmc_card *card) in cqhci_enable()
345 static void cqhci_off(struct mmc_host *mmc) in cqhci_off()
376 static void cqhci_disable(struct mmc_host *mmc) in cqhci_disable()
498 static void cqhci_prep_dcmd_desc(struct mmc_host *mmc, in cqhci_prep_dcmd_desc()
556 static int cqhci_request(struct mmc_host *mmc, struct mmc_request *mrq) in cqhci_request()
625 static void cqhci_recovery_needed(struct mmc_host *mmc, struct mmc_request *mrq, in cqhci_recovery_needed()
[all …]
Dtmio_mmc_core.c133 static void tmio_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) in tmio_mmc_enable_sdio_irq()
662 struct mmc_host *mmc = host->mmc; in __tmio_mmc_card_detect_irq() local
708 struct mmc_host *mmc = host->mmc; in __tmio_mmc_sdio_irq() local
784 static void tmio_mmc_hw_reset(struct mmc_host *mmc) in tmio_mmc_hw_reset()
792 static int tmio_mmc_execute_tuning(struct mmc_host *mmc, u32 opcode) in tmio_mmc_execute_tuning()
869 static void tmio_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in tmio_mmc_request()
943 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_on() local
977 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_off() local
1010 static void tmio_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in tmio_mmc_set_ios()
1073 static int tmio_mmc_get_ro(struct mmc_host *mmc) in tmio_mmc_get_ro()
[all …]
Dsdhci.c211 struct mmc_host *mmc = host->mmc; in sdhci_do_reset() local
248 struct mmc_host *mmc = host->mmc; in sdhci_init() local
312 struct mmc_host *mmc = host->mmc; in sdhci_led_register() local
745 struct mmc_host *mmc = host->mmc; in sdhci_calc_sw_timeout() local
1533 struct mmc_host *mmc = host->mmc; in sdhci_set_power_reg() local
1633 static void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdhci_request()
1718 void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdhci_set_ios()
1876 static int sdhci_get_cd(struct mmc_host *mmc) in sdhci_get_cd()
1927 static int sdhci_get_ro(struct mmc_host *mmc) in sdhci_get_ro()
1946 static void sdhci_hw_reset(struct mmc_host *mmc) in sdhci_hw_reset()
[all …]
Dmeson-gx-mmc.c156 struct mmc_host *mmc; member
215 struct meson_mmc_phase *mmc = to_meson_mmc_phase(hw); in meson_mmc_clk_get_phase() local
236 static void meson_mmc_apply_phase_delay(struct meson_mmc_phase *mmc, in meson_mmc_apply_phase_delay()
256 struct meson_mmc_phase *mmc = to_meson_mmc_phase(hw); in meson_mmc_clk_set_phase() local
310 static void meson_mmc_get_transfer_mode(struct mmc_host *mmc, in meson_mmc_get_transfer_mode()
350 static void meson_mmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq) in meson_mmc_pre_req()
369 static void meson_mmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in meson_mmc_post_req()
427 struct mmc_host *mmc = host->mmc; in meson_mmc_clk_set() local
710 static int meson_mmc_clk_phase_tuning(struct mmc_host *mmc, u32 opcode, in meson_mmc_clk_phase_tuning()
739 static int meson_mmc_execute_tuning(struct mmc_host *mmc, u32 opcode) in meson_mmc_execute_tuning()
[all …]
Dcb710-mmc.c28 static void cb710_mmc_select_clock_divider(struct mmc_host *mmc, int hz) in cb710_mmc_select_clock_divider()
444 static int cb710_mmc_command(struct mmc_host *mmc, struct mmc_command *cmd) in cb710_mmc_command()
484 static void cb710_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in cb710_mmc_request()
561 static void cb710_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in cb710_mmc_set_ios()
600 static int cb710_mmc_get_ro(struct mmc_host *mmc) in cb710_mmc_get_ro()
608 static int cb710_mmc_get_cd(struct mmc_host *mmc) in cb710_mmc_get_cd()
618 struct mmc_host *mmc = cb710_slot_to_mmc(slot); in cb710_mmc_irq_handler() local
650 struct mmc_host *mmc = (void *)data; in cb710_mmc_finish_request_tasklet() local
689 struct mmc_host *mmc; in cb710_mmc_init() local
744 struct mmc_host *mmc = cb710_slot_to_mmc(slot); in cb710_mmc_exit() local
Dpxamci.c55 struct mmc_host *mmc; member
81 struct mmc_host *mmc = host->mmc; in pxamci_init_ocr() local
102 struct mmc_host *mmc = host->mmc; in pxamci_set_power() local
405 static void pxamci_request(struct mmc_host *mmc, struct mmc_request *mrq) in pxamci_request()
431 static int pxamci_get_ro(struct mmc_host *mmc) in pxamci_get_ro()
446 static void pxamci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in pxamci_set_ios()
584 struct mmc_host *mmc) in pxamci_of_init()
606 struct mmc_host *mmc) in pxamci_of_init()
614 struct mmc_host *mmc; in pxamci_probe() local
800 struct mmc_host *mmc = platform_get_drvdata(pdev); in pxamci_remove() local
Dmxs-mmc.c65 struct mmc_host *mmc; member
76 static int mxs_mmc_get_cd(struct mmc_host *mmc) in mxs_mmc_get_cd()
496 static void mxs_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in mxs_mmc_request()
509 static void mxs_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mxs_mmc_set_ios()
524 static void mxs_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) in mxs_mmc_enable_sdio_irq()
588 struct mmc_host *mmc; in mxs_mmc_probe() local
700 struct mmc_host *mmc = platform_get_drvdata(pdev); in mxs_mmc_remove() local
719 struct mmc_host *mmc = dev_get_drvdata(dev); in mxs_mmc_suspend() local
729 struct mmc_host *mmc = dev_get_drvdata(dev); in mxs_mmc_resume() local
Dwmt-sdmmc.c190 struct mmc_host *mmc; member
227 static void wmt_mci_read_response(struct mmc_host *mmc) in wmt_mci_read_response()
258 static int wmt_mci_send_command(struct mmc_host *mmc, u8 command, u8 cmdtype, in wmt_mci_send_command()
466 static void wmt_reset_hardware(struct mmc_host *mmc) in wmt_reset_hardware()
505 static int wmt_dma_init(struct mmc_host *mmc) in wmt_dma_init()
529 static void wmt_dma_config(struct mmc_host *mmc, u32 descaddr, u8 dir) in wmt_dma_config()
563 static void wmt_mci_request(struct mmc_host *mmc, struct mmc_request *req) in wmt_mci_request()
674 static void wmt_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in wmt_mci_set_ios()
714 static int wmt_mci_get_ro(struct mmc_host *mmc) in wmt_mci_get_ro()
721 static int wmt_mci_get_cd(struct mmc_host *mmc) in wmt_mci_get_cd()
[all …]
Dtoshsd.c82 static void __toshsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in __toshsd_set_ios()
500 static void toshsd_request(struct mmc_host *mmc, struct mmc_request *mrq) in toshsd_request()
528 static void toshsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in toshsd_set_ios()
538 static int toshsd_get_ro(struct mmc_host *mmc) in toshsd_get_ro()
546 static int toshsd_get_cd(struct mmc_host *mmc) in toshsd_get_cd()
612 struct mmc_host *mmc; in toshsd_probe() local
Drtsx_pci_sdmmc.c39 struct mmc_host *mmc; member
193 static void sdmmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq) in sdmmc_pre_req()
209 static void sdmmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in sdmmc_post_req()
443 struct mmc_host *mmc = host->mmc; in sd_read_long_data() local
501 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()
1046 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_set_ios()
1094 static int sdmmc_get_ro(struct mmc_host *mmc) in sdmmc_get_ro()
1119 static int sdmmc_get_cd(struct mmc_host *mmc) in sdmmc_get_cd()
[all …]
Dmeson-mx-sdio.c121 struct mmc_host *mmc; member
128 static void meson_mx_mmc_mask_bits(struct mmc_host *mmc, char reg, u32 mask, in meson_mx_mmc_mask_bits()
158 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 int meson_mx_mmc_card_busy(struct mmc_host *mmc) in meson_mx_mmc_card_busy()
371 static void meson_mx_mmc_read_response(struct mmc_host *mmc, in meson_mx_mmc_read_response()
541 struct mmc_host *mmc = host->mmc; in meson_mx_mmc_add_host() local
636 struct mmc_host *mmc; in meson_mx_mmc_probe() local
Dsdricoh_cs.c94 struct mmc_host *mmc; /* MMC structure */ member
262 static void sdricoh_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdricoh_request()
352 static void sdricoh_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdricoh_set_ios()
373 static int sdricoh_get_ro(struct mmc_host *mmc) in sdricoh_get_ro()
400 struct mmc_host *mmc; in sdricoh_init_mmc() local
493 struct mmc_host *mmc = link->priv; in sdricoh_pcmcia_detach() local
518 struct mmc_host *mmc = link->priv; in sdricoh_pcmcia_resume() local
Dmmci.c215 static int mmci_card_busy(struct mmc_host *mmc) in mmci_card_busy()
680 static void mmci_pre_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmci_pre_request()
698 static void mmci_post_request(struct mmc_host *mmc, struct mmc_request *mrq, in mmci_post_request()
1311 static void mmci_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmci_request()
1342 static void mmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mmci_set_ios()
1448 static int mmci_get_cd(struct mmc_host *mmc) in mmci_get_cd()
1463 static int mmci_sig_volt_switch(struct mmc_host *mmc, struct mmc_ios *ios) in mmci_sig_volt_switch()
1501 static int mmci_of_parse(struct device_node *np, struct mmc_host *mmc) in mmci_of_parse()
1537 struct mmc_host *mmc; in mmci_probe() local
1820 struct mmc_host *mmc = amba_get_drvdata(dev); in mmci_remove() local
[all …]
Dsdhci-xenon.c218 struct mmc_host *mmc = host->mmc; in xenon_set_power() local
259 static void xenon_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in xenon_set_ios()
294 static int xenon_start_signal_voltage_switch(struct mmc_host *mmc, in xenon_start_signal_voltage_switch()
328 static void xenon_init_card(struct mmc_host *mmc, struct mmc_card *card) in xenon_init_card()
338 static int xenon_execute_tuning(struct mmc_host *mmc, u32 opcode) in xenon_execute_tuning()
357 static void xenon_enable_sdio_irq(struct mmc_host *mmc, int enable) in xenon_enable_sdio_irq()
403 struct mmc_host *mmc = host->mmc; in xenon_probe_dt() local
Drtsx_usb_sdmmc.c46 struct mmc_host *mmc; member
762 static int sdmmc_get_ro(struct mmc_host *mmc) in sdmmc_get_ro()
790 static int sdmmc_get_cd(struct mmc_host *mmc) in sdmmc_get_cd()
821 static void sdmmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdmmc_request()
1121 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_set_ios()
1162 static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_switch_voltage()
1211 static int sdmmc_card_busy(struct mmc_host *mmc) in sdmmc_card_busy()
1251 static int sdmmc_execute_tuning(struct mmc_host *mmc, u32 opcode) in sdmmc_execute_tuning()
1315 struct mmc_host *mmc = host->mmc; in rtsx_usb_init_host() local
1341 struct mmc_host *mmc; in rtsx_usb_sdmmc_drv_probe() local
[all …]
Dwbsd.c746 static void wbsd_request(struct mmc_host *mmc, struct mmc_request *mrq) in wbsd_request()
840 static void wbsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in wbsd_set_ios()
913 static int wbsd_get_ro(struct mmc_host *mmc) in wbsd_get_ro()
1190 struct mmc_host *mmc; in wbsd_alloc_mmc() local
1257 struct mmc_host *mmc; in wbsd_free_mmc() local
1644 struct mmc_host *mmc = NULL; in wbsd_init() local
1728 struct mmc_host *mmc = dev_get_drvdata(dev); in wbsd_shutdown() local
1808 struct mmc_host *mmc = platform_get_drvdata(dev); in wbsd_platform_suspend() local
1824 struct mmc_host *mmc = platform_get_drvdata(dev); in wbsd_platform_resume() local
1849 struct mmc_host *mmc = dev_get_drvdata(&pnp_dev->dev); in wbsd_pnp_suspend() local
[all …]
Domap_hsmmc.c173 struct mmc_host *mmc; member
243 static int omap_hsmmc_enable_supply(struct mmc_host *mmc) in omap_hsmmc_enable_supply()
274 static int omap_hsmmc_disable_supply(struct mmc_host *mmc) in omap_hsmmc_disable_supply()
339 struct mmc_host *mmc = host->mmc; in omap_hsmmc_set_power() local
410 struct mmc_host *mmc = host->mmc; in omap_hsmmc_disable_boot_regulators() local
444 struct mmc_host *mmc = host->mmc; in omap_hsmmc_reg_get() local
489 static int omap_hsmmc_gpio_init(struct mmc_host *mmc, in omap_hsmmc_gpio_init()
821 struct mmc_host *mmc = container_of(dev, struct mmc_host, class_dev); in omap_hsmmc_show_cover_switch() local
834 struct mmc_host *mmc = container_of(dev, struct mmc_host, class_dev); in omap_hsmmc_show_slot_name() local
1515 static void omap_hsmmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in omap_hsmmc_post_req()
[all …]
Dmvsdio.c51 struct mmc_host *mmc; member
139 static void mvsd_request(struct mmc_host *mmc, struct mmc_request *mrq) in mvsd_request()
554 static void mvsd_enable_sdio_irq(struct mmc_host *mmc, int enable) in mvsd_enable_sdio_irq()
601 static void mvsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mvsd_set_ios()
699 struct mmc_host *mmc = NULL; in mvsd_probe() local
808 struct mmc_host *mmc = platform_get_drvdata(pdev); in mvsd_remove() local
Ddw_mmc.c173 struct mmc_host *mmc = slot->mmc; in dw_mci_init_debugfs() local
274 static u32 dw_mci_prepare_command(struct mmc_host *mmc, struct mmc_command *cmd) in dw_mci_prepare_command()
932 static void dw_mci_pre_req(struct mmc_host *mmc, in dw_mci_pre_req()
949 static void dw_mci_post_req(struct mmc_host *mmc, in dw_mci_post_req()
967 static int dw_mci_get_cd(struct mmc_host *mmc) in dw_mci_get_cd()
1403 static void dw_mci_request(struct mmc_host *mmc, struct mmc_request *mrq) in dw_mci_request()
1429 static void dw_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in dw_mci_set_ios()
1534 static int dw_mci_card_busy(struct mmc_host *mmc) in dw_mci_card_busy()
1548 static int dw_mci_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in dw_mci_switch_voltage()
1586 static int dw_mci_get_ro(struct mmc_host *mmc) in dw_mci_get_ro()
[all …]
Dsunxi-mmc.c270 struct mmc_host *mmc; member
759 struct mmc_host *mmc = host->mmc; in sunxi_mmc_clk_set_rate() local
895 struct mmc_host *mmc = host->mmc; in sunxi_mmc_card_power() local
938 static void sunxi_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sunxi_mmc_set_ios()
947 static int sunxi_mmc_volt_switch(struct mmc_host *mmc, struct mmc_ios *ios) in sunxi_mmc_volt_switch()
960 static void sunxi_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) in sunxi_mmc_enable_sdio_irq()
986 static void sunxi_mmc_hw_reset(struct mmc_host *mmc) in sunxi_mmc_hw_reset()
995 static void sunxi_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in sunxi_mmc_request()
1091 static int sunxi_mmc_card_busy(struct mmc_host *mmc) in sunxi_mmc_card_busy()
1327 struct mmc_host *mmc; in sunxi_mmc_probe() local
[all …]
Dmxcmmc.c127 struct mmc_host *mmc; member
770 static void mxcmci_request(struct mmc_host *mmc, struct mmc_request *req) in mxcmci_request()
838 static int mxcmci_setup_dma(struct mmc_host *mmc) in mxcmci_setup_dma()
854 static void mxcmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mxcmci_set_ios()
905 struct mmc_host *mmc = data; in mxcmci_detect_irq() local
913 static int mxcmci_get_ro(struct mmc_host *mmc) in mxcmci_get_ro()
927 static void mxcmci_enable_sdio_irq(struct mmc_host *mmc, int enable) in mxcmci_enable_sdio_irq()
1013 struct mmc_host *mmc; in mxcmci_probe() local
1199 struct mmc_host *mmc = platform_get_drvdata(pdev); in mxcmci_remove() local
1221 struct mmc_host *mmc = dev_get_drvdata(dev); in mxcmci_suspend() local
[all …]
Ddavinci_mmc.c184 struct mmc_host *mmc; member
598 static void mmc_davinci_request(struct mmc_host *mmc, struct mmc_request *req) in mmc_davinci_request()
653 static void calculate_clk_divider(struct mmc_host *mmc, struct mmc_ios *ios) in calculate_clk_divider()
699 static void mmc_davinci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_davinci_set_ios()
1022 static int mmc_davinci_get_cd(struct mmc_host *mmc) in mmc_davinci_get_cd()
1033 static int mmc_davinci_get_ro(struct mmc_host *mmc) in mmc_davinci_get_ro()
1044 static void mmc_davinci_enable_sdio_irq(struct mmc_host *mmc, int enable) in mmc_davinci_enable_sdio_irq()
1080 struct mmc_host *mmc; in mmc_davinci_cpufreq_transition() local
1159 static int mmc_davinci_parse_pdata(struct mmc_host *mmc) in mmc_davinci_parse_pdata()
1207 struct mmc_host *mmc = NULL; in davinci_mmcsd_probe() local
/Linux-v4.19/drivers/staging/greybus/
Dsdio.c22 struct mmc_host *mmc; member
120 struct mmc_host *mmc = host->mmc; in gb_sdio_get_caps() local
549 static void gb_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in gb_mmc_request()
586 static void gb_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in gb_mmc_set_ios()
719 static int gb_mmc_get_ro(struct mmc_host *mmc) in gb_mmc_get_ro()
733 static int gb_mmc_get_cd(struct mmc_host *mmc) in gb_mmc_get_cd()
747 static int gb_mmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in gb_mmc_switch_voltage()
764 struct mmc_host *mmc; in gb_sdio_probe() local
846 struct mmc_host *mmc; in gb_sdio_remove() local
/Linux-v4.19/drivers/mfd/
Dtc6387xb.c81 static void tc6387xb_mmc_pwr(struct platform_device *mmc, int state) in tc6387xb_mmc_pwr()
89 static void tc6387xb_mmc_clk_div(struct platform_device *mmc, int state) in tc6387xb_mmc_clk_div()
98 static int tc6387xb_mmc_enable(struct platform_device *mmc) in tc6387xb_mmc_enable()
111 static int tc6387xb_mmc_disable(struct platform_device *mmc) in tc6387xb_mmc_disable()
/Linux-v4.19/drivers/staging/mt7621-mmc/
Dsd.c1053 static int msdc_do_request(struct mmc_host *mmc, struct mmc_request *mrq) in msdc_do_request()
1208 static int msdc_app_cmd(struct mmc_host *mmc, struct msdc_host *host) in msdc_app_cmd()
1295 static int msdc_tune_bread(struct mmc_host *mmc, struct mmc_request *mrq) in msdc_tune_bread()
1410 static int msdc_tune_bwrite(struct mmc_host *mmc, struct mmc_request *mrq) in msdc_tune_bwrite()
1500 static int msdc_get_card_status(struct mmc_host *mmc, struct msdc_host *host, u32 *status) in msdc_get_card_status()
1528 static int msdc_check_busy(struct mmc_host *mmc, struct msdc_host *host) in msdc_check_busy()
1545 static int msdc_tune_request(struct mmc_host *mmc, struct mmc_request *mrq) in msdc_tune_request()
1574 static void msdc_ops_request(struct mmc_host *mmc, struct mmc_request *mrq) in msdc_ops_request()
1667 static void msdc_ops_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in msdc_ops_set_ios()
1738 static int msdc_ops_get_ro(struct mmc_host *mmc) in msdc_ops_get_ro()
[all …]

1234