/linux-6.12.1/drivers/mmc/host/ |
D | mmc_hsq.c | 19 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 …]
|
D | meson-mx-sdhc-mmc.c | 45 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 …]
|
D | cqhci-core.c | 115 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 …]
|
D | tmio_mmc_core.c | 138 static void tmio_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) in tmio_mmc_enable_sdio_irq() 634 struct mmc_host *mmc = host->mmc; in __tmio_mmc_card_detect_irq() local 683 struct mmc_host *mmc = host->mmc; in __tmio_mmc_sdio_irq() local 797 static void tmio_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in tmio_mmc_request() 879 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_on() local 910 struct mmc_host *mmc = host->mmc; in tmio_mmc_power_off() local 940 static void tmio_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in tmio_mmc_set_ios() 1012 static int tmio_mmc_get_ro(struct mmc_host *mmc) in tmio_mmc_get_ro() 1020 static int tmio_mmc_get_cd(struct mmc_host *mmc) in tmio_mmc_get_cd() 1051 struct mmc_host *mmc = host->mmc; in tmio_mmc_init_ocr() local [all …]
|
D | sdhci.c | 239 struct mmc_host *mmc = host->mmc; in sdhci_do_reset() local 361 struct mmc_host *mmc = host->mmc; in sdhci_init() local 449 struct mmc_host *mmc = host->mmc; in sdhci_led_register() local 936 struct mmc_host *mmc = host->mmc; in sdhci_calc_sw_timeout() local 1213 struct mmc_host *mmc = host->mmc; in sdhci_external_dma_init() local 2051 struct mmc_host *mmc = host->mmc; in sdhci_set_power_reg() local 2162 struct mmc_host *mmc = host->mmc; in sdhci_set_power_and_bus_voltage() local 2176 void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdhci_request() 2208 int sdhci_request_atomic(struct mmc_host *mmc, struct mmc_request *mrq) in sdhci_request_atomic() 2318 void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdhci_set_ios() [all …]
|
D | meson-gx-mmc.c | 154 struct mmc_host *mmc; member 228 static void meson_mmc_get_transfer_mode(struct mmc_host *mmc, in meson_mmc_get_transfer_mode() 288 static void meson_mmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq) in meson_mmc_pre_req() 307 static void meson_mmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in meson_mmc_post_req() 356 struct mmc_host *mmc = host->mmc; in meson_mmc_clk_set() local 526 static int meson_mmc_resampling_tuning(struct mmc_host *mmc, u32 opcode) in meson_mmc_resampling_tuning() 594 static void meson_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in meson_mmc_set_ios() 652 static void meson_mmc_request_done(struct mmc_host *mmc, in meson_mmc_request_done() 663 static void meson_mmc_set_blksz(struct mmc_host *mmc, unsigned int blksz) in meson_mmc_set_blksz() 705 static void meson_mmc_desc_chain_transfer(struct mmc_host *mmc, u32 cmd_cfg) in meson_mmc_desc_chain_transfer() [all …]
|
D | rtsx_pci_sdmmc.c | 29 struct mmc_host *mmc; member 182 static void sdmmc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq) in sdmmc_pre_req() 198 static void sdmmc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in sdmmc_post_req() 432 struct mmc_host *mmc = host->mmc; in sd_read_long_data() local 490 struct mmc_host *mmc = host->mmc; in sd_write_long_data() local 803 struct mmc_host *mmc = host->mmc; in sd_request() local 874 static void sdmmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdmmc_request() 909 struct mmc_host *mmc = host->mmc; in sd_power_on() local 1088 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_set_ios() 1136 static int sdmmc_get_ro(struct mmc_host *mmc) in sdmmc_get_ro() [all …]
|
D | alcor.c | 692 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 …]
|
D | pxamci.c | 50 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 787 struct mmc_host *mmc = platform_get_drvdata(pdev); in pxamci_remove() local
|
D | wmt-sdmmc.c | 185 struct mmc_host *mmc; member 222 static void wmt_mci_read_response(struct mmc_host *mmc) in wmt_mci_read_response() 253 static int wmt_mci_send_command(struct mmc_host *mmc, u8 command, u8 cmdtype, in wmt_mci_send_command() 461 static void wmt_reset_hardware(struct mmc_host *mmc) in wmt_reset_hardware() 500 static int wmt_dma_init(struct mmc_host *mmc) in wmt_dma_init() 524 static void wmt_dma_config(struct mmc_host *mmc, u32 descaddr, u8 dir) in wmt_dma_config() 558 static void wmt_mci_request(struct mmc_host *mmc, struct mmc_request *req) in wmt_mci_request() 669 static void wmt_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in wmt_mci_set_ios() 709 static int wmt_mci_get_ro(struct mmc_host *mmc) in wmt_mci_get_ro() 716 static int wmt_mci_get_cd(struct mmc_host *mmc) in wmt_mci_get_cd() [all …]
|
D | cb710-mmc.c | 27 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 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
|
D | mxs-mmc.c | 50 struct mmc_host *mmc; member 61 static int mxs_mmc_get_cd(struct mmc_host *mmc) in mxs_mmc_get_cd() 481 static void mxs_mmc_request(struct mmc_host *mmc, struct mmc_request *mrq) in mxs_mmc_request() 494 static void mxs_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mxs_mmc_set_ios() 509 static void mxs_mmc_enable_sdio_irq(struct mmc_host *mmc, int enable) in mxs_mmc_enable_sdio_irq() 563 struct mmc_host *mmc; in mxs_mmc_probe() local 678 struct mmc_host *mmc = platform_get_drvdata(pdev); in mxs_mmc_remove() local 695 struct mmc_host *mmc = dev_get_drvdata(dev); in mxs_mmc_suspend() local 705 struct mmc_host *mmc = dev_get_drvdata(dev); in mxs_mmc_resume() local
|
D | mtk-sd.c | 797 struct mmc_host *mmc = mmc_from_priv(host); in msdc_timeout_cal() local 877 struct mmc_host *mmc = mmc_from_priv(host); in msdc_set_mclk() local 1034 struct mmc_host *mmc = mmc_from_priv(host); in msdc_cmd_prepare_raw_cmd() local 1138 struct mmc_host *mmc = mmc_from_priv(host); in msdc_recheck_sdio_irq() local 1338 static void msdc_ops_request(struct mmc_host *mmc, struct mmc_request *mrq) in msdc_ops_request() 1360 static void msdc_pre_req(struct mmc_host *mmc, struct mmc_request *mrq) in msdc_pre_req() 1372 static void msdc_post_req(struct mmc_host *mmc, struct mmc_request *mrq, in msdc_post_req() 1484 static int msdc_ops_switch_volt(struct mmc_host *mmc, struct mmc_ios *ios) in msdc_ops_switch_volt() 1512 static int msdc_card_busy(struct mmc_host *mmc) in msdc_card_busy() 1559 static void msdc_enable_sdio_irq(struct mmc_host *mmc, int enb) in msdc_enable_sdio_irq() [all …]
|
D | toshsd.c | 78 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
|
D | sdhci-sprd.c | 335 struct mmc_host *mmc = host->mmc; in sdhci_sprd_set_uhs_signaling() local 425 struct mmc_host *mmc = host->mmc; in sdhci_sprd_set_power() local 460 static void sdhci_sprd_check_auto_cmd23(struct mmc_host *mmc, in sdhci_sprd_check_auto_cmd23() 479 static void sdhci_sprd_request(struct mmc_host *mmc, struct mmc_request *mrq) in sdhci_sprd_request() 486 static int sdhci_sprd_request_atomic(struct mmc_host *mmc, in sdhci_sprd_request_atomic() 494 static int sdhci_sprd_voltage_switch(struct mmc_host *mmc, struct mmc_ios *ios) in sdhci_sprd_voltage_switch() 545 static void sdhci_sprd_hs400_enhanced_strobe(struct mmc_host *mmc, in sdhci_sprd_hs400_enhanced_strobe() 592 static int sdhci_sprd_get_best_clk_sample(struct mmc_host *mmc, u8 *value) in sdhci_sprd_get_best_clk_sample() 627 static int sdhci_sprd_tuning(struct mmc_host *mmc, struct mmc_card *card, in sdhci_sprd_tuning() 694 static int sdhci_sprd_prepare_sd_hs_cmd_tuning(struct mmc_host *mmc, struct mmc_card *card) in sdhci_sprd_prepare_sd_hs_cmd_tuning() [all …]
|
D | mmci.c | 371 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 …]
|
D | sdricoh_cs.c | 80 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
|
D | meson-mx-sdio.c | 118 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() 531 struct mmc_host *mmc = host->mmc; in meson_mx_mmc_add_host() local 632 struct mmc_host *mmc; in meson_mx_mmc_probe() local
|
D | wbsd.c | 743 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 …]
|
D | rtsx_usb_sdmmc.c | 36 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() 1102 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_set_ios() 1143 static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) in sdmmc_switch_voltage() 1192 static int sdmmc_card_busy(struct mmc_host *mmc) in sdmmc_card_busy() 1232 static int sdmmc_execute_tuning(struct mmc_host *mmc, u32 opcode) in sdmmc_execute_tuning() 1300 struct mmc_host *mmc = host->mmc; in rtsx_usb_init_host() local 1326 struct mmc_host *mmc; in rtsx_usb_sdmmc_drv_probe() local [all …]
|
D | of_mmc_spi.c | 36 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
|
D | sdhci-xenon.c | 227 struct mmc_host *mmc = host->mmc; in xenon_set_power() local 278 static void xenon_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in xenon_set_ios() 313 static int xenon_start_signal_voltage_switch(struct mmc_host *mmc, in xenon_start_signal_voltage_switch() 347 static void xenon_init_card(struct mmc_host *mmc, struct mmc_card *card) in xenon_init_card() 357 static int xenon_execute_tuning(struct mmc_host *mmc, u32 opcode) in xenon_execute_tuning() 376 static void xenon_enable_sdio_irq(struct mmc_host *mmc, int enable) in xenon_enable_sdio_irq() 422 struct mmc_host *mmc = host->mmc; in xenon_probe_params() local
|
D | litex_mmc.c | 77 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() 509 static void litex_mmc_free_host_wrapper(void *mmc) in litex_mmc_free_host_wrapper() 518 struct mmc_host *mmc; in litex_mmc_probe() local
|
/linux-6.12.1/drivers/mmc/core/ |
D | regulator.c | 106 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() 248 int mmc_regulator_get_supply(struct mmc_host *mmc) in mmc_regulator_get_supply() 290 int mmc_regulator_enable_vqmmc(struct mmc_host *mmc) in mmc_regulator_enable_vqmmc() 314 void mmc_regulator_disable_vqmmc(struct mmc_host *mmc) in mmc_regulator_disable_vqmmc()
|
/linux-6.12.1/drivers/staging/greybus/ |
D | sdio.c | 22 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
|