Lines Matching defs:drq

2094 	struct lpfc_queue *drq;
2099 drq = phba->sli4_hba.dat_rq;
2106 rc = lpfc_sli4_rq_put(hrq, drq, &hrqe, &drqe);
7231 struct lpfc_queue *drq, int count, int idx)
7255 rqb_buffer->drq = drq;
7269 rc = lpfc_sli4_rq_put(hrq, drq, &hrqe, &drqe);
7278 drq->host_index,
7279 drq->hba_index);
13670 struct lpfc_queue *drq = phba->sli4_hba.dat_rq;
13677 if (unlikely(!hrq) || unlikely(!drq))
13695 lpfc_sli4_rq_release(hrq, drq);
14190 struct lpfc_queue *drq;
14204 drq = phba->sli4_hba.nvmet_mrq_data[idx];
14207 if (unlikely(!hrq) || unlikely(!drq))
14227 lpfc_sli4_rq_release(hrq, drq);
16109 * @drq: The queue structure to use to create the data receive queue.
16114 * @drq, on a port, described by @phba by sending a RQ_CREATE mailbox command
16117 * The @phba struct is used to send mailbox command to HBA. The @drq and @hrq
16131 struct lpfc_queue *drq, struct lpfc_queue *cq, uint32_t subtype)
16145 if (!hrq || !drq || !cq)
16150 if (hrq->entry_count != drq->entry_count)
16313 switch (drq->entry_count) {
16317 drq->entry_count);
16318 if (drq->entry_count < 512) {
16356 drq->page_count);
16357 list_for_each_entry(dmabuf, &drq->page_list, list) {
16374 drq->queue_id = bf_get(lpfc_mbx_rq_create_q_id, &rq_create->u.response);
16375 if (drq->queue_id == 0xFFFF) {
16379 drq->type = LPFC_DRQ;
16380 drq->assoc_qid = cq->queue_id;
16381 drq->subtype = subtype;
16382 drq->host_index = 0;
16383 drq->hba_index = 0;
16384 drq->notify_interval = LPFC_RQ_NOTIFY_INTRVL;
16388 list_add_tail(&drq->list, &cq->child_list);
16404 * @drq, on a port, described by @phba by sending a RQ_CREATE mailbox command
16407 * The @phba struct is used to send mailbox command to HBA. The @drq and @hrq
16424 struct lpfc_queue *hrq, *drq, *cq;
16471 drq = drqp[idx];
16475 if (!hrq || !drq || !cq) {
16480 if (hrq->entry_count != drq->entry_count) {
16525 list_for_each_entry(dmabuf, &drq->page_list, list) {
16545 drq->db_format = LPFC_DB_RING_FORMAT;
16546 drq->db_regaddr = phba->sli4_hba.RQDBregaddr;
16547 drq->type = LPFC_DRQ;
16548 drq->assoc_qid = cq->queue_id;
16549 drq->subtype = subtype;
16550 drq->host_index = 0;
16551 drq->hba_index = 0;
16552 drq->notify_interval = LPFC_RQ_NOTIFY_INTRVL;
16555 list_add_tail(&drq->list, &cq->child_list);
16580 drq = drqp[idx];
16581 drq->queue_id = rc + (2 * idx) + 1;
16817 * @drq: The queue structure associated with the queue to destroy.
16829 struct lpfc_queue *drq)
16837 if (!hrq || !drq)
16866 drq->queue_id);
16867 rc = lpfc_sli_issue_mbox(drq->phba, mbox, MBX_POLL);
16880 list_del_init(&drq->list);