Lines Matching refs:dq
861 struct hisi_sas_dq *dq = &hisi_hba->dq[queue]; in alloc_dev_quirk_v2_hw() local
870 sas_dev->dq = dq; in alloc_dev_quirk_v2_hw()
1622 get_free_slot_v2_hw(struct hisi_hba *hisi_hba, struct hisi_sas_dq *dq) in get_free_slot_v2_hw() argument
1625 int queue = dq->id; in get_free_slot_v2_hw()
1628 w = dq->wr_point; in get_free_slot_v2_hw()
1640 static void start_delivery_v2_hw(struct hisi_sas_dq *dq) in start_delivery_v2_hw() argument
1642 struct hisi_hba *hisi_hba = dq->hisi_hba; in start_delivery_v2_hw()
1643 int dlvry_queue = dq->slot_prep->dlvry_queue; in start_delivery_v2_hw()
1644 int dlvry_queue_slot = dq->slot_prep->dlvry_queue_slot; in start_delivery_v2_hw()
1646 dq->wr_point = ++dlvry_queue_slot % HISI_SAS_QUEUE_SLOTS; in start_delivery_v2_hw()
1648 dq->wr_point); in start_delivery_v2_hw()
3091 struct hisi_sas_dq *dq = &hisi_hba->dq[queue]; in cq_tasklet_v2_hw() local
3098 spin_lock(&dq->lock); in cq_tasklet_v2_hw()
3148 spin_unlock(&dq->lock); in cq_tasklet_v2_hw()