Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/drivers/mmc/host/
Dmmc_hsq.c22 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_retry_handler() local
29 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()
248 static void mmc_hsq_post_req(struct mmc_host *mmc, struct mmc_request *mrq) in mmc_hsq_post_req()
271 static int mmc_hsq_wait_for_idle(struct mmc_host *mmc) in mmc_hsq_wait_for_idle()
282 static void mmc_hsq_disable(struct mmc_host *mmc) in mmc_hsq_disable()
312 static int mmc_hsq_enable(struct mmc_host *mmc, struct mmc_card *card) in mmc_hsq_enable()
[all …]
Dmeson-mx-sdhc-mmc.c45 struct mmc_host *mmc; member
68 static void meson_mx_sdhc_hw_reset(struct mmc_host *mmc) in meson_mx_sdhc_hw_reset()
82 static void meson_mx_sdhc_clear_fifo(struct mmc_host *mmc) in meson_mx_sdhc_clear_fifo()
105 static void meson_mx_sdhc_wait_cmd_ready(struct mmc_host *mmc) in meson_mx_sdhc_wait_cmd_ready()
134 static void meson_mx_sdhc_start_cmd(struct mmc_host *mmc, in meson_mx_sdhc_start_cmd()
239 static void meson_mx_sdhc_disable_clks(struct mmc_host *mmc) in meson_mx_sdhc_disable_clks()
251 static int meson_mx_sdhc_enable_clks(struct mmc_host *mmc) in meson_mx_sdhc_enable_clks()
269 static int meson_mx_sdhc_set_clk(struct mmc_host *mmc, struct mmc_ios *ios) in meson_mx_sdhc_set_clk()
325 static void meson_mx_sdhc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in meson_mx_sdhc_set_ios()
381 static int meson_mx_sdhc_map_dma(struct mmc_host *mmc, struct mmc_request *mrq) in meson_mx_sdhc_map_dma()
[all …]
Dcqhci.c103 struct mmc_host *mmc = cq_host->mmc; in cqhci_dumpregs() local
242 struct mmc_host *mmc = cq_host->mmc; in __cqhci_enable() local
305 int cqhci_deactivate(struct mmc_host *mmc) in cqhci_deactivate()
316 int cqhci_resume(struct mmc_host *mmc) in cqhci_resume()
323 static int cqhci_enable(struct mmc_host *mmc, struct mmc_card *card) in cqhci_enable()
361 static void cqhci_off(struct mmc_host *mmc) in cqhci_off()
388 static void cqhci_disable(struct mmc_host *mmc) in cqhci_disable()
510 static void cqhci_prep_dcmd_desc(struct mmc_host *mmc, in cqhci_prep_dcmd_desc()
570 static int cqhci_request(struct mmc_host *mmc, struct mmc_request *mrq) in cqhci_request()
643 static void cqhci_recovery_needed(struct mmc_host *mmc, struct mmc_request *mrq, in cqhci_recovery_needed()
[all …]
Dtmio_mmc_core.c137 static void tmio_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) in tmio_mmc_enable_sdio_irq()
587 struct mmc_host *mmc = host->mmc; in __tmio_mmc_card_detect_irq() local
633 struct mmc_host *mmc = host->mmc; in __tmio_mmc_sdio_irq() local
747 static void tmio_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in tmio_mmc_request()
827 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_on() local
861 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_off() local
894 static void tmio_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in tmio_mmc_set_ios()
960 static int tmio_mmc_get_ro(struct mmc_host *mmc) in tmio_mmc_get_ro()
968 static int tmio_mmc_get_cd(struct mmc_host *mmc) in tmio_mmc_get_cd()
999 struct mmc_host *mmc = host->mmc; in tmio_mmc_init_ocr() local
[all …]
Dcb710-mmc.c27 static void cb710_mmc_select_clock_divider(struct mmc_host *mmc, int hz) in cb710_mmc_select_clock_divider()
443 static int cb710_mmc_command(struct mmc_host *mmc, struct mmc_command *cmd) in cb710_mmc_command()
483 static void cb710_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in cb710_mmc_request()
560 static void cb710_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in cb710_mmc_set_ios()
601 static int cb710_mmc_get_ro(struct mmc_host *mmc) in cb710_mmc_get_ro()
609 static int cb710_mmc_get_cd(struct mmc_host *mmc) in cb710_mmc_get_cd()
619 struct mmc_host *mmc = cb710_slot_to_mmc(slot); in cb710_mmc_irq_handler() local
651 struct mmc_host *mmc = (void *)data; in cb710_mmc_finish_request_tasklet() local
690 struct mmc_host *mmc; in cb710_mmc_init() local
751 struct mmc_host *mmc = cb710_slot_to_mmc(slot); in cb710_mmc_exit() local
Dpxamci.c51 struct mmc_host *mmc; member
79 struct mmc_host *mmc = host->mmc; in pxamci_init_ocr() local
100 struct mmc_host *mmc = host->mmc; in pxamci_set_power() local
400 static void pxamci_request(struct mmc_host *mmc, struct mmc_request *mrq) in pxamci_request()
426 static int pxamci_get_ro(struct mmc_host *mmc) in pxamci_get_ro()
441 static void pxamci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in pxamci_set_ios()
579 struct mmc_host *mmc) in pxamci_of_init()
601 struct mmc_host *mmc) in pxamci_of_init()
609 struct mmc_host *mmc; in pxamci_probe() local
784 struct mmc_host *mmc = platform_get_drvdata(pdev); in pxamci_remove() local
Dalcor.c692 static void alcor_set_timing(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_timing()
705 static void alcor_set_bus_width(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_bus_width()
720 static int alcor_card_busy(struct mmc_host *mmc) in alcor_card_busy()
732 static int alcor_get_cd(struct mmc_host *mmc) in alcor_get_cd()
744 static int alcor_get_ro(struct mmc_host *mmc) in alcor_get_ro()
756 static void alcor_request(struct mmc_host *mmc, struct mmc_request *mrq) in alcor_request()
775 static void alcor_pre_req(struct mmc_host *mmc, in alcor_pre_req()
825 static void alcor_post_req(struct mmc_host *mmc, in alcor_post_req()
845 static void alcor_set_power_mode(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_power_mode()
906 static void alcor_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in alcor_set_ios()
[all …]
Dsdhci.c239 struct mmc_host *mmc = host->mmc; in sdhci_do_reset() local
322 struct mmc_host *mmc = host->mmc; in sdhci_init() local
409 struct mmc_host *mmc = host->mmc; in sdhci_led_register() local
910 struct mmc_host *mmc = host->mmc; in sdhci_calc_sw_timeout() local
1190 struct mmc_host *mmc = host->mmc; in sdhci_external_dma_init() local
2025 struct mmc_host *mmc = host->mmc; in sdhci_set_power_reg() local
2136 struct mmc_host *mmc = host->mmc; in sdhci_set_power_and_bus_voltage() local
2150 void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdhci_request()
2182 int sdhci_request_atomic(struct mmc_host *mmc, struct mmc_request *mrq) in sdhci_request_atomic()
2261 void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdhci_set_ios()
[all …]
Dmeson-gx-mmc.c151 struct mmc_host *mmc; member
224 static void meson_mmc_get_transfer_mode(struct mmc_host *mmc, in meson_mmc_get_transfer_mode()
273 static void meson_mmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq) in meson_mmc_pre_req()
292 static void meson_mmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in meson_mmc_post_req()
341 struct mmc_host *mmc = host->mmc; in meson_mmc_clk_set() local
509 static int meson_mmc_resampling_tuning(struct mmc_host *mmc, u32 opcode) in meson_mmc_resampling_tuning()
577 static void meson_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in meson_mmc_set_ios()
649 static void meson_mmc_request_done(struct mmc_host *mmc, in meson_mmc_request_done()
658 static void meson_mmc_set_blksz(struct mmc_host *mmc, unsigned int blksz) in meson_mmc_set_blksz()
700 static void meson_mmc_desc_chain_transfer(struct mmc_host *mmc, u32 cmd_cfg) in meson_mmc_desc_chain_transfer()
[all …]
Dmxs-mmc.c51 struct mmc_host *mmc; member
62 static int mxs_mmc_get_cd(struct mmc_host *mmc) in mxs_mmc_get_cd()
482 static void mxs_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in mxs_mmc_request()
495 static void mxs_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mxs_mmc_set_ios()
510 static void mxs_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) in mxs_mmc_enable_sdio_irq()
579 struct mmc_host *mmc; in mxs_mmc_probe() local
694 struct mmc_host *mmc = platform_get_drvdata(pdev); in mxs_mmc_remove() local
713 struct mmc_host *mmc = dev_get_drvdata(dev); in mxs_mmc_suspend() local
723 struct mmc_host *mmc = dev_get_drvdata(dev); in mxs_mmc_resume() local
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
Dwmt-sdmmc.c186 struct mmc_host *mmc; member
223 static void wmt_mci_read_response(struct mmc_host *mmc) in wmt_mci_read_response()
254 static int wmt_mci_send_command(struct mmc_host *mmc, u8 command, u8 cmdtype, in wmt_mci_send_command()
462 static void wmt_reset_hardware(struct mmc_host *mmc) in wmt_reset_hardware()
501 static int wmt_dma_init(struct mmc_host *mmc) in wmt_dma_init()
525 static void wmt_dma_config(struct mmc_host *mmc, u32 descaddr, u8 dir) in wmt_dma_config()
559 static void wmt_mci_request(struct mmc_host *mmc, struct mmc_request *req) in wmt_mci_request()
670 static void wmt_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in wmt_mci_set_ios()
710 static int wmt_mci_get_ro(struct mmc_host *mmc) in wmt_mci_get_ro()
717 static int wmt_mci_get_cd(struct mmc_host *mmc) in wmt_mci_get_cd()
[all …]
Drtsx_pci_sdmmc.c27 struct mmc_host *mmc; member
181 static void sdmmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq) in sdmmc_pre_req()
197 static void sdmmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in sdmmc_post_req()
431 struct mmc_host *mmc = host->mmc; in sd_read_long_data() local
489 struct mmc_host *mmc = host->mmc; in sd_write_long_data() local
802 struct mmc_host *mmc = host->mmc; in sd_request() local
873 static void sdmmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdmmc_request()
1047 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_set_ios()
1095 static int sdmmc_get_ro(struct mmc_host *mmc) in sdmmc_get_ro()
1120 static int sdmmc_get_cd(struct mmc_host *mmc) in sdmmc_get_cd()
[all …]
Dsdricoh_cs.c80 struct mmc_host *mmc; /* MMC structure */ member
262 static void sdricoh_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdricoh_request()
343 static void sdricoh_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdricoh_set_ios()
364 static int sdricoh_get_ro(struct mmc_host *mmc) in sdricoh_get_ro()
391 struct mmc_host *mmc; in sdricoh_init_mmc() local
484 struct mmc_host *mmc = link->priv; in sdricoh_pcmcia_detach() local
509 struct mmc_host *mmc = link->priv; in sdricoh_pcmcia_resume() local
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
Dsdhci-xenon.c224 struct mmc_host *mmc = host->mmc; in xenon_set_power() local
275 static void xenon_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in xenon_set_ios()
310 static int xenon_start_signal_voltage_switch(struct mmc_host *mmc, in xenon_start_signal_voltage_switch()
344 static void xenon_init_card(struct mmc_host *mmc, struct mmc_card *card) in xenon_init_card()
354 static int xenon_execute_tuning(struct mmc_host *mmc, u32 opcode) in xenon_execute_tuning()
373 static void xenon_enable_sdio_irq(struct mmc_host *mmc, int enable) in xenon_enable_sdio_irq()
419 struct mmc_host *mmc = host->mmc; in xenon_probe_dt() local
Dmtk-sd.c738 struct mmc_host *mmc = mmc_from_priv(host); in msdc_timeout_cal() local
807 struct mmc_host *mmc = mmc_from_priv(host); in msdc_set_mclk() local
973 struct mmc_host *mmc = mmc_from_priv(host); in msdc_cmd_prepare_raw_cmd() local
1077 struct mmc_host *mmc = mmc_from_priv(host); in msdc_recheck_sdio_irq() local
1280 static void msdc_ops_request(struct mmc_host *mmc, struct mmc_request *mrq) in msdc_ops_request()
1302 static void msdc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq) in msdc_pre_req()
1314 static void msdc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in msdc_post_req()
1418 static int msdc_ops_switch_volt(struct mmc_host *mmc, struct mmc_ios *ios) in msdc_ops_switch_volt()
1446 static int msdc_card_busy(struct mmc_host *mmc) in msdc_card_busy()
1493 static void msdc_enable_sdio_irq(struct mmc_host *mmc, int enb) in msdc_enable_sdio_irq()
[all …]
Drtsx_usb_sdmmc.c36 struct mmc_host *mmc; member
746 static int sdmmc_get_ro(struct mmc_host *mmc) in sdmmc_get_ro()
774 static int sdmmc_get_cd(struct mmc_host *mmc) in sdmmc_get_cd()
805 static void sdmmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdmmc_request()
1105 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_set_ios()
1146 static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_switch_voltage()
1195 static int sdmmc_card_busy(struct mmc_host *mmc) in sdmmc_card_busy()
1235 static int sdmmc_execute_tuning(struct mmc_host *mmc, u32 opcode) in sdmmc_execute_tuning()
1303 struct mmc_host *mmc = host->mmc; in rtsx_usb_init_host() local
1329 struct mmc_host *mmc; in rtsx_usb_sdmmc_drv_probe() local
[all …]
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
1641 struct mmc_host *mmc = NULL; in wbsd_init() local
1725 struct mmc_host *mmc = dev_get_drvdata(dev); in wbsd_shutdown() local
1805 struct mmc_host *mmc = platform_get_drvdata(dev); in wbsd_platform_suspend() local
1821 struct mmc_host *mmc = platform_get_drvdata(dev); in wbsd_platform_resume() local
1846 struct mmc_host *mmc = dev_get_drvdata(&pnp_dev->dev); in wbsd_pnp_suspend() local
[all …]
Dmmci.c335 static int mmci_card_busy(struct mmc_host *mmc) in mmci_card_busy()
1100 static void mmci_pre_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmci_pre_request()
1116 static void mmci_post_request(struct mmc_host *mmc, struct mmc_request *mrq, in mmci_post_request()
1690 static void mmci_request(struct mmc_host *mmc, struct mmc_request *mrq) in mmci_request()
1722 static void mmci_set_max_busy_timeout(struct mmc_host *mmc) in mmci_set_max_busy_timeout()
1736 static void mmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mmci_set_ios()
1852 static int mmci_get_cd(struct mmc_host *mmc) in mmci_get_cd()
1867 static int mmci_sig_volt_switch(struct mmc_host *mmc, struct mmc_ios *ios) in mmci_sig_volt_switch()
1895 static int mmci_of_parse(struct device_node *np, struct mmc_host *mmc) in mmci_of_parse()
1937 struct mmc_host *mmc; in mmci_probe() local
[all …]
Domap_hsmmc.c171 struct mmc_host *mmc; member
216 static int omap_hsmmc_enable_supply(struct mmc_host *mmc) in omap_hsmmc_enable_supply()
247 static int omap_hsmmc_disable_supply(struct mmc_host *mmc) in omap_hsmmc_disable_supply()
312 struct mmc_host *mmc = host->mmc; in omap_hsmmc_set_power() local
383 struct mmc_host *mmc = host->mmc; in omap_hsmmc_disable_boot_regulators() local
417 struct mmc_host *mmc = host->mmc; in omap_hsmmc_reg_get() local
749 struct mmc_host *mmc = container_of(dev, struct mmc_host, class_dev); in omap_hsmmc_show_slot_name() local
1390 static void omap_hsmmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in omap_hsmmc_post_req()
1405 static void omap_hsmmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq) in omap_hsmmc_pre_req()
1426 static void omap_hsmmc_request(struct mmc_host *mmc, struct mmc_request *req) in omap_hsmmc_request()
[all …]
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
/kernel/linux/linux-5.10/drivers/mfd/
Dtc6387xb.c77 static void tc6387xb_mmc_pwr(struct platform_device *mmc, int state) in tc6387xb_mmc_pwr()
84 static void tc6387xb_mmc_clk_div(struct platform_device *mmc, int state) in tc6387xb_mmc_clk_div()
92 static int tc6387xb_mmc_enable(struct platform_device *mmc) in tc6387xb_mmc_enable()
104 static int tc6387xb_mmc_disable(struct platform_device *mmc) in tc6387xb_mmc_disable()
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dsdio.c22 struct mmc_host *mmc; member
119 struct mmc_host *mmc = host->mmc; in gb_sdio_get_caps() local
552 static void gb_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in gb_mmc_request()
589 static void gb_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in gb_mmc_set_ios()
722 static int gb_mmc_get_ro(struct mmc_host *mmc) in gb_mmc_get_ro()
736 static int gb_mmc_get_cd(struct mmc_host *mmc) in gb_mmc_get_cd()
750 static int gb_mmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in gb_mmc_switch_voltage()
767 struct mmc_host *mmc; in gb_sdio_probe() local
849 struct mmc_host *mmc; in gb_sdio_remove() local
/kernel/linux/linux-5.10/drivers/mmc/core/
Dregulator.c106 int mmc_regulator_set_ocr(struct mmc_host *mmc, in mmc_regulator_set_ocr()
179 int mmc_regulator_set_vqmmc(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_regulator_set_vqmmc()
245 int mmc_regulator_get_supply(struct mmc_host *mmc) in mmc_regulator_get_supply()

12345