Home
last modified time | relevance | path

Searched refs:mmc_dev (Results 1 – 25 of 54) sorted by relevance

123

/Linux-v5.4/drivers/mmc/host/
Dusdhi6rol0.c211 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_write()
218 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_write16()
225 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_read()
233 dev_vdbg(mmc_dev(host->mmc), "%s(0x%p + 0x%x) = 0x%x\n", __func__, in usdhi6_read16()
285 dev_dbg(mmc_dev(host->mmc), in usdhi6_error_code()
289 dev_warn(mmc_dev(host->mmc), in usdhi6_error_code()
297 dev_warn(mmc_dev(host->mmc), "Err sts 0x%x, state %u, CMD%d\n", in usdhi6_error_code()
319 dev_dbg(mmc_dev(host->mmc), "%s(): CMD%u of %u SG: %ux%u @ 0x%x\n", in usdhi6_blk_bounce()
386 dev_dbg(mmc_dev(host->mmc), "Mapped %p (%lx) at %p + %u for CMD%u @ 0x%p\n", in usdhi6_sg_map()
465 dev_dbg(mmc_dev(host->mmc), "%s(): %zu of %zu @ %zu\n", __func__, in usdhi6_sg_advance()
[all …]
Ddavinci_mmc.c274 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 …]
Dmmci_stm32_sdmmc.c41 dev_err(mmc_dev(host->mmc), in sdmmc_idma_validate_data()
49 dev_err(mmc_dev(host->mmc), in sdmmc_idma_validate_data()
63 n_elem = dma_map_sg(mmc_dev(host->mmc), in _sdmmc_idma_prep_data()
69 dev_err(mmc_dev(host->mmc), "dma_map_sg failed\n"); in _sdmmc_idma_prep_data()
89 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in sdmmc_idma_unprep_data()
97 idma = devm_kzalloc(mmc_dev(host->mmc), sizeof(*idma), GFP_KERNEL); in sdmmc_idma_setup()
104 idma->sg_cpu = dmam_alloc_coherent(mmc_dev(host->mmc), in sdmmc_idma_setup()
108 dev_err(mmc_dev(host->mmc), in sdmmc_idma_setup()
Dsdhci-xenon-phy.c206 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 …]
Dsunxi-mmc.c315 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 …]
Dmxcmmc.c248 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 …]
Dsdhci-sirf.c98 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()
Dmmci.c454 dev_err(mmc_dev(host->mmc), in mmci_validate_data()
514 dev_vdbg(mmc_dev(host->mmc), in mmci_dma_start()
637 dmae = devm_kzalloc(mmc_dev(host->mmc), sizeof(*dmae), GFP_KERNEL); in mmci_dmae_setup()
643 dmae->rx_channel = dma_request_slave_channel(mmc_dev(host->mmc), in mmci_dmae_setup()
645 dmae->tx_channel = dma_request_slave_channel(mmc_dev(host->mmc), in mmci_dmae_setup()
666 dev_info(mmc_dev(host->mmc), "DMA channels RX %s, TX %s\n", in mmci_dmae_setup()
732 dev_err(mmc_dev(host->mmc), "error during DMA transfer!\n"); in mmci_dmae_error()
778 dev_err(mmc_dev(host->mmc), "buggy DMA detected. Taking evasive action.\n"); in mmci_dmae_finalize()
997 dev_dbg(mmc_dev(host->mmc), "blksz %04x blks %04x flags %08x\n", in mmci_start_data()
1079 dev_dbg(mmc_dev(host->mmc), "op %02x arg %08x flags %08x\n", in mmci_start_command()
[all …]
Duniphier-sd.c101 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_callback()
143 sg_len = dma_map_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_start()
165 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, host->sg_len, in uniphier_sd_external_dma_start()
182 chan = dma_request_chan(mmc_dev(host->mmc), "rx-tx"); in uniphier_sd_external_dma_request()
184 dev_warn(mmc_dev(host->mmc), in uniphier_sd_external_dma_request()
272 sg_len = dma_map_sg(mmc_dev(host->mmc), sg, 1, priv->dma_dir); in uniphier_sd_internal_dma_start()
343 dma_unmap_sg(mmc_dev(host->mmc), host->sg_ptr, 1, priv->dma_dir); in uniphier_sd_internal_dma_dataend()
532 priv->pinctrl = devm_pinctrl_get(mmc_dev(host->mmc)); in uniphier_sd_uhs_init()
Dmxs-mmc.c147 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()
628 dev_err(mmc_dev(host->mmc), in mxs_mmc_probe()
670 dev_info(mmc_dev(host->mmc), "initialized\n"); in mxs_mmc_probe()
Dmeson-mx-sdio.c275 dev_err(mmc_dev(mmc), "unsupported bus width: %d\n", in meson_mx_mmc_set_ios()
283 dev_warn(mmc_dev(mmc), in meson_mx_mmc_set_ios()
318 dev_err(mmc_dev(mmc), in meson_mx_mmc_map_dma()
324 dma_len = dma_map_sg(mmc_dev(mmc), data->sg, data->sg_len, in meson_mx_mmc_map_dma()
327 dev_err(mmc_dev(mmc), "dma_map_sg failed\n"); in meson_mx_mmc_map_dma()
458 dma_unmap_sg(mmc_dev(host->mmc), cmd->data->sg, in meson_mx_mmc_irq_thread()
496 dev_dbg(mmc_dev(host->mmc), in meson_mx_mmc_timeout()
539 struct device *slot_dev = mmc_dev(mmc); in meson_mx_mmc_add_host()
738 struct device *slot_dev = mmc_dev(host->mmc); in meson_mx_mmc_remove()
Domap.c220 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 …]
Domap_hsmmc.c232 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 …]
Dandroid-goldfish.c174 dev_err(mmc_dev(mmc_from_priv(host)), in goldfish_mmc_start_command()
220 dma_unmap_sg(mmc_dev(mmc_from_priv(host)), data->sg, in goldfish_mmc_xfer_done()
343 dev_info(mmc_dev(mmc_from_priv(host)), "spurious irq 0x%04x\n", in goldfish_mmc_irq()
383 host->sg_len = dma_map_sg(mmc_dev(mmc_from_priv(host)), data->sg, in goldfish_mmc_prepare_data()
507 dev_warn(mmc_dev(mmc), "Unable to create sysfs attributes\n"); in goldfish_mmc_probe()
Dpxamci.c112 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()
Dsdhci-esdhc-imx.c794 dev_dbg(mmc_dev(host->mmc), "desired SD clock: %d, actual: %d\n", in esdhc_pltfm_set_clock()
880 dev_dbg(mmc_dev(host->mmc), in esdhc_prepare_tuning()
925 dev_dbg(mmc_dev(host->mmc), "tuning %s at 0x%x ret %d\n", in esdhc_executing_tuning()
951 dev_dbg(mmc_dev(host->mmc), "change pinctrl state for uhs %d\n", uhs); in esdhc_change_pinstate()
1013 dev_warn(mmc_dev(host->mmc), in esdhc_set_strobe_dll()
1016 dev_warn(mmc_dev(host->mmc), in esdhc_set_strobe_dll()
1263 dev_warn(mmc_dev(host->mmc), in esdhc_cqe_enable()
1290 dev_err(mmc_dev(host->mmc), in esdhc_cqe_enable()
1376 dev_err(mmc_dev(host->mmc), "no board data!\n"); in sdhci_esdhc_imx_probe_nondt()
1386 dev_err(mmc_dev(host->mmc), in sdhci_esdhc_imx_probe_nondt()
[all …]
Dcqhci.c208 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
215 cq_host->trans_desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
220 dmam_free_coherent(mmc_dev(cq_host->mmc), cq_host->desc_size, in cqhci_host_alloc_tdl()
388 dmam_free_coherent(mmc_dev(mmc), cq_host->data_size, in cqhci_disable()
392 dmam_free_coherent(mmc_dev(mmc), cq_host->desc_size, in cqhci_disable()
432 sg_count = dma_map_sg(mmc_dev(host), data->sg, in cqhci_dma_map()
548 dma_unmap_sg(mmc_dev(host), data->sg, data->sg_len, in cqhci_post_req()
1126 cq_host->slot = devm_kcalloc(mmc_dev(mmc), cq_host->num_slots, in cqhci_init()
Dsdhci-pxav3.c168 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()
Dsdhci-bcm-kona.c165 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()
Dcb710-mmc.h29 struct platform_device *pdev = to_platform_device(mmc_dev(mmc)); in cb710_mmc_to_slot()
Dsdhci-cns3xxx.c25 struct device *dev = mmc_dev(host->mmc); in sdhci_cns3xxx_set_clock()
/Linux-v5.4/drivers/mmc/core/
Dregulator.c129 dev_err(mmc_dev(mmc), in mmc_regulator_set_ocr()
169 struct device *dev = mmc_dev(mmc); in mmc_regulator_set_vqmmc()
234 struct device *dev = mmc_dev(mmc); in mmc_regulator_get_supply()
Dqueue.c369 if (!mmc_dev(host)->dma_mask || !*mmc_dev(host)->dma_mask) in mmc_setup_queue()
375 mmc_dev(host)), in mmc_setup_queue()
392 dma_set_max_seg_size(mmc_dev(host), queue_max_segment_size(mq->queue)); in mmc_setup_queue()
451 dma_get_merge_boundary(mmc_dev(host))) in mmc_init_queue()
Dcore.c831 pm_runtime_get_sync(mmc_dev(host)); in __mmc_claim_host()
860 pm_runtime_mark_last_busy(mmc_dev(host)); in mmc_release_host()
862 pm_runtime_put_sync_suspend(mmc_dev(host)); in mmc_release_host()
864 pm_runtime_put_autosuspend(mmc_dev(host)); in mmc_release_host()
1128 dev_warn(mmc_dev(host), in mmc_select_voltage()
1135 dev_warn(mmc_dev(host), "no support for card's volts\n"); in mmc_select_voltage()
1147 dev_warn(mmc_dev(host), "exceeding card's volts\n"); in mmc_select_voltage()
1173 dev_dbg(mmc_dev(host), "Initial signal voltage of 3.3v\n"); in mmc_set_initial_signal_voltage()
1175 dev_dbg(mmc_dev(host), "Initial signal voltage of 1.8v\n"); in mmc_set_initial_signal_voltage()
1177 dev_dbg(mmc_dev(host), "Initial signal voltage of 1.2v\n"); in mmc_set_initial_signal_voltage()
[all …]
/Linux-v5.4/drivers/staging/greybus/
Dsdio.c197 dev_info(mmc_dev(host->mmc), "card %s now event\n", in _gb_sdio_process_events()
215 dev_err(mmc_dev(host->mmc), in gb_sdio_request_handler()
223 dev_err(mmc_dev(host->mmc), "wrong event size received (%zu < %zu)\n", in gb_sdio_request_handler()
299 dev_err(mmc_dev(host->mmc), "send: size received: %zu != %d\n", in _gb_sdio_send()
345 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()
511 dev_err(mmc_dev(host->mmc), "mmc request is NULL"); in gb_sdio_mrq_work()

123