Searched refs:res_mcq (Results 1 – 1 of 1) sorted by relevance
1658 struct resource *res_mem, *res_mcq; in ufs_qcom_mcq_config_resource() local1696 res_mcq = devm_kzalloc(hba->dev, sizeof(*res_mcq), GFP_KERNEL); in ufs_qcom_mcq_config_resource()1697 if (!res_mcq) in ufs_qcom_mcq_config_resource()1700 res_mcq->start = res_mem->start + in ufs_qcom_mcq_config_resource()1702 res_mcq->end = res_mcq->start + hba->nr_hw_queues * MCQ_QCFG_SIZE - 1; in ufs_qcom_mcq_config_resource()1703 res_mcq->flags = res_mem->flags; in ufs_qcom_mcq_config_resource()1704 res_mcq->name = "mcq"; in ufs_qcom_mcq_config_resource()1706 ret = insert_resource(&iomem_resource, res_mcq); in ufs_qcom_mcq_config_resource()1713 res->base = devm_ioremap_resource(hba->dev, res_mcq); in ufs_qcom_mcq_config_resource()1726 remove_resource(res_mcq); in ufs_qcom_mcq_config_resource()