Home
last modified time | relevance | path

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

/linux/drivers/ufs/core/
H A Dufshcd-priv.h380 return q->cq_head_slot == q->cq_tail_slot; in ufshcd_mcq_is_cq_empty()
385 q->cq_head_slot++; in ufshcd_mcq_inc_cq_head_slot()
386 if (q->cq_head_slot == q->max_entries) in ufshcd_mcq_inc_cq_head_slot()
387 q->cq_head_slot = 0; in ufshcd_mcq_inc_cq_head_slot()
392 writel(q->cq_head_slot * sizeof(struct cq_entry), q->mcq_cq_head); in ufshcd_mcq_update_cq_head()
399 return cqe + q->cq_head_slot; in ufshcd_mcq_cur_cqe()
H A Dufs-mcq.c329 hwq->cq_head_slot = hwq->cq_tail_slot; in ufshcd_mcq_compl_all_cqes_lock()
399 hwq->sq_tail_slot = hwq->cq_tail_slot = hwq->cq_head_slot = 0; in ufshcd_mcq_make_queues_operational()
/linux/include/ufs/
H A Dufshcd.h1168 u32 cq_head_slot; member