Lines Matching refs:mmc_dev
61 struct device *dev = mmc_dev(host->mmc); in sdmmc_idma_validate_data()
73 dev_dbg(mmc_dev(host->mmc), in sdmmc_idma_validate_data()
81 dev_dbg(mmc_dev(host->mmc), in sdmmc_idma_validate_data()
122 n_elem = dma_map_sg(mmc_dev(host->mmc), in _sdmmc_idma_prep_data()
128 dev_err(mmc_dev(host->mmc), "dma_map_sg failed\n"); in _sdmmc_idma_prep_data()
158 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, in sdmmc_idma_unprep_data()
166 struct device *dev = mmc_dev(host->mmc); in sdmmc_idma_setup()
454 dev_warn(mmc_dev(host->mmc), in sdmmc_dlyb_lng_tuning()
495 dev_err(mmc_dev(host->mmc), "no tuning point found\n"); in sdmmc_dlyb_phase_tuning()
504 dev_dbg(mmc_dev(host->mmc), "unit:%d max_dly:%d phase:%d\n", in sdmmc_dlyb_phase_tuning()
586 base_dlyb = devm_of_iomap(mmc_dev(host->mmc), np, 1, NULL); in sdmmc_variant_init()
590 dlyb = devm_kzalloc(mmc_dev(host->mmc), sizeof(*dlyb), GFP_KERNEL); in sdmmc_variant_init()