Lines Matching refs:dq
400 struct hisi_sas_dq *dq,
408 spin_lock(&dq->lock);
409 wr_q_index = dq->wr_point;
410 dq->wr_point = (dq->wr_point + 1) % HISI_SAS_QUEUE_SLOTS;
411 list_add_tail(&slot->delivery, &dq->list);
412 spin_unlock(&dq->lock);
417 dlvry_queue = dq->id;
456 spin_lock(&dq->lock);
457 hisi_hba->hw->start_delivery(dq);
458 spin_unlock(&dq->lock);
468 struct hisi_sas_dq *dq = NULL;
534 dq = &hisi_hba->dq[dq_index];
551 dq = &hisi_hba->dq[queue];
567 dq = &hisi_hba->dq[task->abort_task.qid];
603 hisi_sas_task_deliver(hisi_hba, slot, dq, sas_dev);
669 struct hisi_sas_dq *dq = &hisi_hba->dq[queue];
677 sas_dev->dq = dq;
2143 struct hisi_sas_dq *dq = &hisi_hba->dq[i];
2150 dq->wr_point = 0;
2195 struct hisi_sas_dq *dq = &hisi_hba->dq[i];
2203 spin_lock_init(&dq->lock);
2204 INIT_LIST_HEAD(&dq->list);
2205 dq->id = i;
2206 dq->hisi_hba = hisi_hba;