Home
last modified time | relevance | path

Searched refs:mcq_opr_base (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/ufs/core/
H A Dufs-mcq.c255 static void __iomem *mcq_opr_base(struct ufs_hba *hba, in mcq_opr_base() function
265 return readl(mcq_opr_base(hba, OPR_CQIS, i) + REG_CQIS); in ufshcd_mcq_read_cqis()
271 writel(val, mcq_opr_base(hba, OPR_CQIS, i) + REG_CQIS); in ufshcd_mcq_write_cqis()
392 hwq->mcq_sq_head = mcq_opr_base(hba, OPR_SQD, i) + REG_SQHP; in ufshcd_mcq_make_queues_operational()
393 hwq->mcq_sq_tail = mcq_opr_base(hba, OPR_SQD, i) + REG_SQTP; in ufshcd_mcq_make_queues_operational()
394 hwq->mcq_cq_head = mcq_opr_base(hba, OPR_CQD, i) + REG_CQHP; in ufshcd_mcq_make_queues_operational()
395 hwq->mcq_cq_tail = mcq_opr_base(hba, OPR_CQD, i) + REG_CQTP; in ufshcd_mcq_make_queues_operational()
402 writel(1, mcq_opr_base(hba, OPR_CQIS, i) + REG_CQIE); in ufshcd_mcq_make_queues_operational()
495 writel(SQ_STOP, mcq_opr_base(hba, OPR_SQD, id) + REG_SQRTC); in ufshcd_mcq_sq_stop()
496 reg = mcq_opr_base(hba, OPR_SQD, id) + REG_SQRTS; in ufshcd_mcq_sq_stop()
[all …]