Lines Matching refs:fcLQ
292 PFC_LINK_QUE fcLQ = dev->fcLQ; in cpqfcTS_WorkTask() local
297 QconsumerNdx = fcLQ->consumer; in cpqfcTS_WorkTask()
299 PCI_TRACEO(fcLQ->Qitem[QconsumerNdx].Type, 0x90) in cpqfcTS_WorkTask()
303 switch (fcLQ->Qitem[QconsumerNdx].Type) in cpqfcTS_WorkTask()
320 ExchangeID = (s32) fcLQ->Qitem[QconsumerNdx].ulBuff[0]; // x_ID copied from DPC timeout function in cpqfcTS_WorkTask()
387 ulStatus = cpqfcTSBuildExchange(dev, fcLQ->Qitem[QconsumerNdx].Type, // e.g. PLOGI in cpqfcTS_WorkTask()
389 fcLQ->Qitem[QconsumerNdx].ulBuff, // incoming fchs in cpqfcTS_WorkTask()
418 fcLQ->Qitem[QconsumerNdx].ulBuff); in cpqfcTS_WorkTask()
424 s32 x_ID = fcLQ->Qitem[QconsumerNdx].ulBuff[0]; in cpqfcTS_WorkTask()
605 &fchs, fcLQ->Qitem[QconsumerNdx].ulBuff, // incoming fchs in cpqfcTS_WorkTask()
662 fcLQ->Qitem[QconsumerNdx].ulBuff, // incoming fchs in cpqfcTS_WorkTask()
685 fcLQ->consumer = 0; in cpqfcTS_WorkTask()
687 fcLQ->consumer++; in cpqfcTS_WorkTask()
689 PCI_TRACEO(fcLQ->Qitem[QconsumerNdx].Type, 0x94) in cpqfcTS_WorkTask()
708 PFC_LINK_QUE fcLQ = dev->fcLQ; in cpqfcTSPutLinkQue() local
713 ndx = fcLQ->producer; in cpqfcTSPutLinkQue()
722 if (ndx == fcLQ->consumer) // QUE full test in cpqfcTSPutLinkQue()
753 if ((fcLQ->producer != fcLQ->consumer) in cpqfcTSPutLinkQue()
756 if (fcLQ->producer) in cpqfcTSPutLinkQue()
757 lastNdx = fcLQ->producer - 1; in cpqfcTSPutLinkQue()
762 if (fcLQ->Qitem[lastNdx].Type == FMINIT) { in cpqfcTSPutLinkQue()
769 fcLQ->Qitem[fcLQ->producer].Type = Type; in cpqfcTSPutLinkQue()
770 …memcpy(fcLQ->Qitem[fcLQ->producer].ulBuff, QueContent, sizeof(fcLQ->Qitem[fcLQ->producer].ulBuff)); in cpqfcTSPutLinkQue()
771 fcLQ->producer = ndx; // increment Que producer in cpqfcTSPutLinkQue()
782 PFC_LINK_QUE fcLQ = dev->fcLQ; in cpqfcTSLinkQReset() local
783 fcLQ->producer = 0; in cpqfcTSLinkQReset()
784 fcLQ->consumer = 0; in cpqfcTSLinkQReset()
1680 PFC_LINK_QUE fcLQ = dev->fcLQ; in AnalyzeIncomingFrame() local
1681 TachFCHDR_GCMND *fchs = (TachFCHDR_GCMND *) fcLQ->Qitem[QNdx].ulBuff; in AnalyzeIncomingFrame()
1689 switch (fcLQ->Qitem[QNdx].Type) // FCP or Unknown in AnalyzeIncomingFrame()
1862 …printk("AnalyzeIncomingFrame: unknown type: %Xh(%d)\n", fcLQ->Qitem[QNdx].Type, fcLQ->Qitem[QNdx].… in AnalyzeIncomingFrame()