/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | usdhi6rol0.c | 212 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_write() 219 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_write16() 226 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_read() 234 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_read16() 286 dev_dbg(mmc_dev(host->mmc), in usdhi6_error_code() 290 dev_warn(mmc_dev(host->mmc), in usdhi6_error_code() 298 dev_warn(mmc_dev(host->mmc), "Err sts 0x%x, state %u, CMD%d\n", in usdhi6_error_code() 320 dev_dbg(mmc_dev(host->mmc), "%s(): CMD%u of %u SG: %ux%u @ 0x%x\n", in usdhi6_blk_bounce() 387 dev_dbg(mmc_dev(host->mmc), "Mapped %p (%lx) at %p + %u for CMD%u @ 0x%p\n", in usdhi6_sg_map() 466 dev_dbg(mmc_dev(host->mmc), "%s(): %zu of %zu @ %zu\n", __func__, in usdhi6_sg_advance() [all …]
|
D | davinci_mmc.c | 274 dev_dbg(mmc_dev(host->mmc), "CMD%d, arg 0x%08x%s\n", in mmc_davinci_start_command() 315 dev_dbg(mmc_dev(host->mmc), "unknown resp_type %04x\n", in mmc_davinci_start_command() 424 dev_dbg(mmc_dev(host->mmc), in mmc_davinci_send_dma_request() 446 dev_dbg(mmc_dev(host->mmc), in mmc_davinci_send_dma_request() 467 host->sg_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in mmc_davinci_start_dma_transfer() 473 dma_unmap_sg(mmc_dev(host->mmc), in mmc_davinci_start_dma_transfer() 497 host->dma_tx = dma_request_chan(mmc_dev(host->mmc), "tx"); in davinci_acquire_dma_channels() 499 dev_err(mmc_dev(host->mmc), "Can't get dma_tx channel\n"); in davinci_acquire_dma_channels() 503 host->dma_rx = dma_request_chan(mmc_dev(host->mmc), "rx"); in davinci_acquire_dma_channels() 505 dev_err(mmc_dev(host->mmc), "Can't get dma_rx channel\n"); in davinci_acquire_dma_channels() [all …]
|
D | sdhci-xenon-phy.c | 206 params = devm_kzalloc(mmc_dev(host->mmc), sizeof(*params), GFP_KERNEL); in xenon_alloc_emmc_phy() 268 dev_err(mmc_dev(host->mmc), "eMMC PHY init cannot complete after %d us\n", in xenon_emmc_phy_init() 364 dev_err(mmc_dev(host->mmc), "Wait for DLL Lock time-out\n"); in xenon_emmc_phy_enable_dll() 395 dev_warn(mmc_dev(host->mmc), in xenon_emmc_phy_config_tuning() 449 dev_dbg(mmc_dev(host->mmc), "starts HS400 strobe delay adjustment\n"); in xenon_emmc_phy_strobe_delay_adj() 553 dev_dbg(mmc_dev(host->mmc), "eMMC PHY setting starts\n"); in xenon_emmc_phy_set() 647 dev_dbg(mmc_dev(host->mmc), "eMMC PHY setting completes\n"); in xenon_emmc_phy_set() 664 dev_err(mmc_dev(host->mmc), "Unable to find SoC PAD ctrl register address for %pOFn\n", in get_dt_pad_ctrl_data() 669 params->pad_ctrl.reg = devm_ioremap_resource(mmc_dev(host->mmc), in get_dt_pad_ctrl_data() 676 dev_err(mmc_dev(host->mmc), "Unable to determine SoC PHY PAD ctrl type\n"); in get_dt_pad_ctrl_data() [all …]
|
D | mmci_stm32_sdmmc.c | 67 dev_err(mmc_dev(host->mmc), in sdmmc_idma_validate_data() 75 dev_err(mmc_dev(host->mmc), in sdmmc_idma_validate_data() 89 n_elem = dma_map_sg(mmc_dev(host->mmc), in _sdmmc_idma_prep_data() 95 dev_err(mmc_dev(host->mmc), "dma_map_sg failed\n"); in _sdmmc_idma_prep_data() 115 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in sdmmc_idma_unprep_data() 122 struct device *dev = mmc_dev(host->mmc); in sdmmc_idma_setup() 399 dev_warn(mmc_dev(host->mmc), in sdmmc_dlyb_lng_tuning() 440 dev_err(mmc_dev(host->mmc), "no tuning point found\n"); in sdmmc_dlyb_phase_tuning() 449 dev_dbg(mmc_dev(host->mmc), "unit:%d max_dly:%d phase:%d\n", in sdmmc_dlyb_phase_tuning() 531 base_dlyb = devm_of_iomap(mmc_dev(host->mmc), np, 1, NULL); in sdmmc_variant_init() [all …]
|
D | sunxi-mmc.c | 315 dev_err(mmc_dev(host->mmc), "fatal err reset timeout\n"); in sunxi_mmc_reset_host() 399 dma_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in sunxi_mmc_map_dma() 402 dev_err(mmc_dev(host->mmc), "dma_map_sg failed\n"); in sunxi_mmc_map_dma() 408 dev_err(mmc_dev(host->mmc), in sunxi_mmc_map_dma() 467 dev_err(mmc_dev(host->mmc), "send stop command failed\n"); in sunxi_mmc_send_manual_stop() 489 dev_dbg(mmc_dev(host->mmc), in sunxi_mmc_dump_errinfo() 550 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in sunxi_mmc_finalize_request() 577 dev_dbg(mmc_dev(host->mmc), "irq: rq %p mi %08x idi %08x\n", in sunxi_mmc_irq() 631 dev_err(mmc_dev(host->mmc), "no request for manual stop\n"); in sunxi_mmc_handle_manual_stop() 635 dev_err(mmc_dev(host->mmc), "data error, sending stop command\n"); in sunxi_mmc_handle_manual_stop() [all …]
|
D | mxcmmc.c | 248 host->pdata->setpower(mmc_dev(host->mmc), vdd); in mxcmci_set_power() 260 dev_dbg(mmc_dev(host->mmc), "mxcmci_softreset\n"); in mxcmci_softreset() 369 dev_dbg(mmc_dev(host->mmc), "%s: 0x%08x\n", __func__, stat); in mxcmci_dma_callback() 397 dev_err(mmc_dev(host->mmc), "unhandled response type 0x%x\n", in mxcmci_start_cmd() 458 dev_dbg(mmc_dev(host->mmc), "request failed. status: 0x%08x\n", in mxcmci_finish_data() 461 dev_err(mmc_dev(host->mmc), "%s: -EILSEQ\n", __func__); in mxcmci_finish_data() 466 dev_err(mmc_dev(host->mmc), in mxcmci_finish_data() 470 dev_err(mmc_dev(host->mmc), in mxcmci_finish_data() 475 dev_err(mmc_dev(host->mmc), in mxcmci_finish_data() 479 dev_err(mmc_dev(host->mmc), "%s: -EIO\n", __func__); in mxcmci_finish_data() [all …]
|
D | meson-mx-sdhc-mmc.c | 99 dev_warn(mmc_dev(host->mmc), in meson_mx_sdhc_clear_fifo() 116 dev_warn(mmc_dev(mmc), in meson_mx_sdhc_wait_cmd_ready() 127 dev_warn(mmc_dev(mmc), in meson_mx_sdhc_wait_cmd_ready() 280 dev_warn(mmc_dev(mmc), in meson_mx_sdhc_set_clk() 374 dev_err(mmc_dev(mmc), "unsupported bus width: %d\n", in meson_mx_sdhc_set_ios() 389 dma_len = dma_map_sg(mmc_dev(mmc), data->sg, data->sg_len, in meson_mx_sdhc_map_dma() 392 dev_err(mmc_dev(mmc), "dma_map_sg failed\n"); in meson_mx_sdhc_map_dma() 469 dev_dbg(mmc_dev(mmc), in meson_mx_sdhc_execute_tuning() 480 dev_dbg(mmc_dev(mmc), in meson_mx_sdhc_execute_tuning() 508 dev_dbg(mmc_dev(mmc), "Tuned RX clock phase to %u\n", new_phase); in meson_mx_sdhc_execute_tuning() [all …]
|
D | sdhci-sirf.c | 98 dev_dbg(mmc_dev(mmc), "%s: Found good phase = %d\n", in sdhci_sirf_execute_tuning() 108 dev_dbg(mmc_dev(mmc), "%s: Found bad phase = %d\n", in sdhci_sirf_execute_tuning() 129 dev_dbg(mmc_dev(mmc), "%s: Setting the tuning phase to %d\n", in sdhci_sirf_execute_tuning() 135 dev_dbg(mmc_dev(mmc), "%s: No tuning point found\n", in sdhci_sirf_execute_tuning()
|
D | uniphier-sd.c | 100 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_callback() 142 sg_len = dma_map_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_start() 164 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_start() 181 chan = dma_request_chan(mmc_dev(host->mmc), "rx-tx"); in uniphier_sd_external_dma_request() 183 dev_warn(mmc_dev(host->mmc), in uniphier_sd_external_dma_request() 271 sg_len = dma_map_sg(mmc_dev(host->mmc), sg, 1, priv->dma_dir); in uniphier_sd_internal_dma_start() 342 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, 1, priv->dma_dir); in uniphier_sd_internal_dma_dataend() 526 pinctrl_select_default_state(mmc_dev(mmc)); in uniphier_sd_start_signal_voltage_switch() 534 priv->pinctrl = devm_pinctrl_get(mmc_dev(host->mmc)); in uniphier_sd_uhs_init()
|
D | mmci.c | 495 dev_err(mmc_dev(host->mmc), in mmci_validate_data() 555 dev_vdbg(mmc_dev(host->mmc), in mmci_dma_start() 741 dmae = devm_kzalloc(mmc_dev(host->mmc), sizeof(*dmae), GFP_KERNEL); in mmci_dmae_setup() 747 dmae->rx_channel = dma_request_chan(mmc_dev(host->mmc), "rx"); in mmci_dmae_setup() 754 dmae->tx_channel = dma_request_chan(mmc_dev(host->mmc), "tx"); in mmci_dmae_setup() 757 dev_warn(mmc_dev(host->mmc), in mmci_dmae_setup() 780 dev_info(mmc_dev(host->mmc), "DMA channels RX %s, TX %s\n", in mmci_dmae_setup() 846 dev_err(mmc_dev(host->mmc), "error during DMA transfer!\n"); in mmci_dmae_error() 892 dev_err(mmc_dev(host->mmc), "buggy DMA detected. Taking evasive action.\n"); in mmci_dmae_finalize() 1135 dev_dbg(mmc_dev(host->mmc), "blksz %04x blks %04x flags %08x\n", in mmci_start_data() [all …]
|
D | sdhci-brcmstb.c | 70 dev_dbg(mmc_dev(mmc), "%s(): Setting HS400-Enhanced-Strobe mode\n", in sdhci_brcmstb_hs400es() 100 dev_dbg(mmc_dev(host->mmc), "%s: Setting UHS signaling for %d timing\n", in sdhci_brcmstb_set_uhs_signaling() 210 dev_dbg(mmc_dev(host->mmc), "CQE is enabled\n"); in sdhci_brcmstb_add_host() 216 cq_host = devm_kzalloc(mmc_dev(host->mmc), in sdhci_brcmstb_add_host() 228 dev_dbg(mmc_dev(host->mmc), "Using 64 bit DMA\n"); in sdhci_brcmstb_add_host()
|
D | meson-mx-sdio.c | 278 dev_err(mmc_dev(mmc), "unsupported bus width: %d\n", in meson_mx_mmc_set_ios() 286 dev_warn(mmc_dev(mmc), in meson_mx_mmc_set_ios() 321 dev_err(mmc_dev(mmc), in meson_mx_mmc_map_dma() 327 dma_len = dma_map_sg(mmc_dev(mmc), data->sg, data->sg_len, in meson_mx_mmc_map_dma() 330 dev_err(mmc_dev(mmc), "dma_map_sg failed\n"); in meson_mx_mmc_map_dma() 453 dma_unmap_sg(mmc_dev(host->mmc), cmd->data->sg, in meson_mx_mmc_irq_thread() 491 dev_dbg(mmc_dev(host->mmc), in meson_mx_mmc_timeout() 533 struct device *slot_dev = mmc_dev(mmc); in meson_mx_mmc_add_host() 735 struct device *slot_dev = mmc_dev(host->mmc); in meson_mx_mmc_remove()
|
D | mxs-mmc.c | 147 dma_unmap_sg(mmc_dev(host->mmc), data->sg, in mxs_mmc_request_done() 225 dma_map_sg(mmc_dev(host->mmc), data->sg, in mxs_mmc_prep_dma() 242 dma_unmap_sg(mmc_dev(host->mmc), data->sg, in mxs_mmc_prep_dma() 279 dev_warn(mmc_dev(host->mmc), in mxs_mmc_bc() 324 dev_warn(mmc_dev(host->mmc), in mxs_mmc_ac() 453 dev_warn(mmc_dev(host->mmc), in mxs_mmc_adtc() 476 dev_warn(mmc_dev(host->mmc), in mxs_mmc_start_cmd() 638 dev_err(mmc_dev(host->mmc), in mxs_mmc_probe() 679 dev_info(mmc_dev(host->mmc), "initialized\n"); in mxs_mmc_probe()
|
D | omap.c | 220 host->pdata->switch_slot(mmc_dev(slot->mmc), slot->id); in mmc_omap_select_slot() 301 return slot->pdata->get_cover_state(mmc_dev(slot->mmc), in mmc_omap_cover_is_open() 360 dev_err(mmc_dev(host->mmc), "Invalid response type: %04x\n", mmc_resp_type(cmd)); in mmc_omap_start_command() 406 struct device *dev = mmc_dev(host->mmc); in mmc_omap_release_dma() 600 dev_dbg(mmc_dev(host->mmc), "Aborting stuck command CMD%d\n", in mmc_omap_abort_command() 710 dev_vdbg(mmc_dev(host->mmc), "%s\n", res); in mmc_omap_report_irq() 729 dev_info(mmc_dev(host->slots[0]->mmc), in mmc_omap_irq() 751 dev_dbg(mmc_dev(host->mmc), "MMC IRQ %04x (CMD %d): ", in mmc_omap_irq() 767 dev_dbg(mmc_dev(host->mmc), "data timeout (CMD%d)\n", in mmc_omap_irq() 778 dev_dbg(mmc_dev(host->mmc), in mmc_omap_irq() [all …]
|
D | omap_hsmmc.c | 232 dev_err(mmc_dev(mmc), "vmmc_aux reg enable failed\n"); in omap_hsmmc_enable_supply() 256 dev_err(mmc_dev(mmc), "vmmc_aux reg disable failed\n"); in omap_hsmmc_disable_supply() 274 dev_err(mmc_dev(mmc), "vmmc_aux re-enable failed\n"); in omap_hsmmc_disable_supply() 477 dev_dbg(mmc_dev(host->mmc), "MMC Clock is not stopped\n"); in omap_hsmmc_stop_clock() 540 dev_vdbg(mmc_dev(host->mmc), "Set clock to %uHz\n", ios->clock); in omap_hsmmc_set_clock() 687 dev_dbg(mmc_dev(host->mmc), "context is restored: restore count %d\n", in omap_hsmmc_context_restore() 766 dev_vdbg(mmc_dev(host->mmc), "%s: CMD%d, argument 0x%08x\n", in omap_hsmmc_start_command() 959 dev_vdbg(mmc_dev(host->mmc), "%s\n", res); in omap_hsmmc_dbg_report_irq() 1000 dev_err(mmc_dev(host->mmc), in omap_hsmmc_reset_controller_fsm() 1028 dev_vdbg(mmc_dev(host->mmc), "IRQ Status is %x\n", status); in omap_hsmmc_do_irq() [all …]
|
D | android-goldfish.c | 173 dev_err(mmc_dev(mmc_from_priv(host)), in goldfish_mmc_start_command() 219 dma_unmap_sg(mmc_dev(mmc_from_priv(host)), data->sg, in goldfish_mmc_xfer_done() 342 dev_info(mmc_dev(mmc_from_priv(host)), "spurious irq 0x%04x\n", in goldfish_mmc_irq() 382 host->sg_len = dma_map_sg(mmc_dev(mmc_from_priv(host)), data->sg, in goldfish_mmc_prepare_data() 499 dev_warn(mmc_dev(mmc), "Unable to create sysfs attributes\n"); in goldfish_mmc_probe()
|
D | sdhci-esdhc-imx.c | 381 dev_warn(mmc_dev(host->mmc), "%s: card clock still not gate off in 100us!.\n", __func__); in esdhc_wait_for_card_clock_gate_off() 892 dev_dbg(mmc_dev(host->mmc), "desired SD clock: %d, actual: %d\n", in esdhc_pltfm_set_clock() 908 dev_warn(mmc_dev(host->mmc), "card clock still not stable in 100us!.\n"); in esdhc_pltfm_set_clock() 985 dev_warn(mmc_dev(host->mmc), in esdhc_prepare_tuning() 993 dev_dbg(mmc_dev(host->mmc), in esdhc_prepare_tuning() 1038 dev_dbg(mmc_dev(host->mmc), "tuning %s at 0x%x ret %d\n", in esdhc_executing_tuning() 1064 dev_dbg(mmc_dev(host->mmc), "change pinctrl state for uhs %d\n", uhs); in esdhc_change_pinstate() 1083 return pinctrl_select_default_state(mmc_dev(host->mmc)); in esdhc_change_pinstate() 1135 dev_warn(mmc_dev(host->mmc), in esdhc_set_strobe_dll() 1163 dev_warn(mmc_dev(host->mmc), in esdhc_reset_tuning() [all …]
|
D | pxamci.c | 112 return host->pdata->setpower(mmc_dev(host->mmc), vdd); in pxamci_set_power() 133 dev_err(mmc_dev(host->mmc), "unable to stop clock\n"); in pxamci_stop_clock() 202 dev_err(mmc_dev(host->mmc), "dma slave config failed\n"); in pxamci_setup_data() 212 dev_err(mmc_dev(host->mmc), "prep_slave_sg() failed\n"); in pxamci_setup_data() 433 return !!host->pdata->get_ro(mmc_dev(mmc)); in pxamci_get_ro() 488 dev_err(mmc_dev(mmc), "unable to set power\n"); in pxamci_set_ios() 507 dev_dbg(mmc_dev(mmc), "PXAMCI: clkrt = %x cmdat = %x\n", in pxamci_set_ios()
|
D | sdhci-msm.c | 360 rc = dev_pm_opp_set_rate(mmc_dev(host->mmc), clock); in msm_set_clock_rate_for_bus_mode() 388 dev_err(mmc_dev(mmc), "%s: CK_OUT_EN bit is not %d\n", in msm_dll_poll_ck_out_en() 454 dev_err(mmc_dev(mmc), "%s: Failed to set DLL phase: %d\n", in msm_config_cm_dll_phase() 483 dev_err(mmc_dev(mmc), "%s: Invalid argument: total_phases=%d\n", in msm_find_most_appropriate_phase() 566 dev_err(mmc_dev(mmc), "%s: Invalid phase selected=%d\n", in msm_find_most_appropriate_phase() 747 dev_err(mmc_dev(mmc), "%s: DLL failed to LOCK\n", in msm_init_cm_dll() 1219 dev_dbg(mmc_dev(mmc), "%s: Found good phase = %d\n", in sdhci_msm_execute_tuning() 1233 dev_dbg(mmc_dev(mmc), "%s: All phases valid; try again\n", in sdhci_msm_execute_tuning() 1256 dev_dbg(mmc_dev(mmc), "%s: Setting the tuning phase to %d\n", in sdhci_msm_execute_tuning() 1262 dev_dbg(mmc_dev(mmc), "%s: No tuning point found\n", in sdhci_msm_execute_tuning() [all …]
|
D | cqhci.c | 209 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl() 216 cq_host->trans_desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl() 221 dmam_free_coherent(mmc_dev(cq_host->mmc), cq_host->desc_size, in cqhci_host_alloc_tdl() 399 dmam_free_coherent(mmc_dev(mmc), cq_host->data_size, in cqhci_disable() 403 dmam_free_coherent(mmc_dev(mmc), cq_host->desc_size, in cqhci_disable() 443 sg_count = dma_map_sg(mmc_dev(host), data->sg, in cqhci_dma_map() 559 dma_unmap_sg(mmc_dev(host), data->sg, data->sg_len, in cqhci_post_req() 1140 cq_host->slot = devm_kcalloc(mmc_dev(mmc), cq_host->num_slots, in cqhci_init()
|
D | sdhci-pxav3.c | 168 struct platform_device *pdev = to_platform_device(mmc_dev(host->mmc)); in pxav3_reset() 201 dev_dbg(mmc_dev(host->mmc), in pxav3_gen_init_74_clocks() 230 dev_warn(mmc_dev(host->mmc), "74 clock interrupt not cleared\n"); in pxav3_gen_init_74_clocks() 295 dev_dbg(mmc_dev(host->mmc), in pxav3_set_uhs_signaling()
|
D | sdhci-bcm-kona.c | 165 dev_dbg(mmc_dev(host->mmc), in sdhci_bcm_kona_card_event() 169 dev_dbg(mmc_dev(host->mmc), in sdhci_bcm_kona_card_event()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | regulator.c | 129 dev_err(mmc_dev(mmc), in mmc_regulator_set_ocr() 181 struct device *dev = mmc_dev(mmc); in mmc_regulator_set_vqmmc() 247 struct device *dev = mmc_dev(mmc); in mmc_regulator_get_supply()
|
D | queue.c | 377 if (!mmc_dev(host)->dma_mask || !*mmc_dev(host)->dma_mask) in mmc_setup_queue() 383 mmc_dev(host)), in mmc_setup_queue() 402 dma_set_max_seg_size(mmc_dev(host), queue_max_segment_size(mq->queue)); in mmc_setup_queue() 461 dma_get_merge_boundary(mmc_dev(host))) in mmc_init_queue()
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
D | sdio.c | 196 dev_info(mmc_dev(host->mmc), "card %s now event\n", in _gb_sdio_process_events() 214 dev_err(mmc_dev(host->mmc), in gb_sdio_request_handler() 222 dev_err(mmc_dev(host->mmc), "wrong event size received (%zu < %zu)\n", in gb_sdio_request_handler() 298 dev_err(mmc_dev(host->mmc), "send: size received: %zu != %d\n", in _gb_sdio_send() 344 dev_err(mmc_dev(host->mmc), "recv: size received: %d != %zu\n", in _gb_sdio_recv() 436 dev_err(mmc_dev(host->mmc), "cmd flag invalid 0x%04x\n", in gb_sdio_command() 456 dev_err(mmc_dev(host->mmc), "cmd type invalid 0x%04x\n", in gb_sdio_command() 514 dev_err(mmc_dev(host->mmc), "mmc request is NULL"); in gb_sdio_mrq_work()
|