Home
last modified time | relevance | path

Searched refs:mmc_dev (Results 1 - 5 of 5) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/mmc/host/
H A Dsdhci-of-dwcmshc.c171 dev_err(mmc_dev(host->mmc), "fail to set clock %d", clock); in dwcmshc_rk_set_clock()
208 dev_err(mmc_dev(host->mmc), "DLL lock timeout!\n"); in dwcmshc_rk_set_clock()
265 err = devm_clk_bulk_get_optional(mmc_dev(host->mmc), ROCKCHIP_MAX_CLKS, priv->rockchip_clks); in rockchip_pltf_init()
267 dev_err(mmc_dev(host->mmc), "failed to get clocks %d\n", err); in rockchip_pltf_init()
273 dev_err(mmc_dev(host->mmc), "failed to enable clocks %d\n", err); in rockchip_pltf_init()
277 if (of_property_read_u32(mmc_dev(host->mmc)->of_node, "rockchip,txclk-tapnum", &priv->txclk_tapnum)) { in rockchip_pltf_init()
/device/soc/rockchip/rk3588/kernel/drivers/mmc/host/
H A Dcqhci-core.c210 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
217 cq_host->trans_desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
222 dmam_free_coherent(mmc_dev(cq_host->mmc), cq_host->desc_size, in cqhci_host_alloc_tdl()
400 dmam_free_coherent(mmc_dev(mmc), cq_host->data_size, in cqhci_disable()
404 dmam_free_coherent(mmc_dev(mmc), cq_host->desc_size, in cqhci_disable()
457 sg_count = dma_map_sg(mmc_dev(host), data->sg, in cqhci_dma_map()
573 dma_unmap_sg(mmc_dev(host), data->sg, data->sg_len, in cqhci_post_req()
1177 cq_host->slot = devm_kcalloc(mmc_dev(mmc), cq_host->num_slots, in cqhci_init()
/device/soc/rockchip/common/sdk_linux/drivers/mmc/core/
H A Dblock.c437 dev_err(mmc_dev(card->host), "error %d requesting status\n", err); in card_busy_detect()
451 dev_err(mmc_dev(card->host), "Card stuck in wrong state! %s status: %#x\n", __func__, status); in card_busy_detect()
562 dev_err(mmc_dev(card->host), "%s: cmd error %d\n", __func__, cmd.error); in mmc_blk_ioctl_cmd_ext()
566 dev_err(mmc_dev(card->host), "%s: data error %d\n", __func__, data.error); in mmc_blk_ioctl_cmd_ext()
2313 dev_err(mmc_dev(card->host), "no more device IDs available\n"); in mmc_blk_alloc_req()
/device/soc/rockchip/common/sdk_linux/include/linux/mmc/
H A Dhost.h491 #define mmc_dev(x) ((x)->parent) macro
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_sdio_host.c926 pm_runtime_get_sync(mmc_dev(hi_sdio->func->card->host)); in oal_register_sdio_intr()
940 pm_runtime_put_sync(mmc_dev(hi_sdio->func->card->host)); in oal_unregister_sdio_intr()

Completed in 11 milliseconds