Lines Matching refs:Qid
34 #define NVME_SET_SQTDBL(Nvme, Qid, Sqtdbl) NvmeMmioWrite (Nvme->Nbar + NVME_SQTDBL_OFFSET(Qid, Nvme->Cap.Dstrd), Sqtdbl, sizeof (NVME_SQTDBL))
35 #define NVME_SET_CQHDBL(Nvme, Qid, Cqhdbl) NvmeMmioWrite (Nvme->Nbar + NVME_CQHDBL_OFFSET(Qid, Nvme->Cap.Dstrd), Cqhdbl, sizeof (NVME_CQHDBL))
800 @param[in] Qid - Queue index
810 IN UINT8 Qid
820 @param[in] Qid - Queue index
830 IN UINT8 Qid
840 @param[in] Qid - Queue index
850 IN UINT8 Qid
894 UINT8 Qid;
929 Qid = Packet->QueueId;
930 Sq = Nvme->SqBuffer[Qid] + Nvme->SqTdbl[Qid].Sqt;
931 Cq = Nvme->CqBuffer[Qid] + Nvme->CqHdbl[Qid].Cqh;
932 if (Qid == NVME_ADMIN_QUEUE) {
980 Sq->Prp[1] = NvmeCreatePrpList (Nvme, Nvme->SqTdbl[Qid].Sqt, PhyAddr, EFI_SIZE_TO_PAGES(Offset + Bytes) - 1, &PrpListHost, &PrpListNo);
1013 Nvme->SqTdbl[Qid].Sqt++;
1014 if(Nvme->SqTdbl[Qid].Sqt == SqSize) {
1015 Nvme->SqTdbl[Qid].Sqt = 0;
1017 Status = NVME_SET_SQTDBL (Nvme, Qid, &Nvme->SqTdbl[Qid]);
1031 if (Cq->Pt != Nvme->Pt[Qid]) {
1040 Nvme->CqHdbl[Qid].Cqh++;
1041 if (Nvme->CqHdbl[Qid].Cqh == CqSize) {
1042 Nvme->CqHdbl[Qid].Cqh = 0;
1043 Nvme->Pt[Qid] ^= 1;
1054 NVME_SET_CQHDBL (Nvme, Qid, &Nvme->CqHdbl[Qid]);
1258 CrIoCq.Qid = NVME_IO_QUEUE;
1313 CrIoSq.Qid = NVME_IO_QUEUE;
1465 DelIoCq.Qid = NVME_IO_QUEUE;
1518 DelIoSq.Qid = NVME_IO_QUEUE;