Lines Matching refs:fcExchangeIndex
3338 s32 * fcExchangeIndex) // points to allocated exchange, in cpqfcTSBuildExchange() argument
3392 *fcExchangeIndex = FindFreeExchange(fcChip, type); in cpqfcTSBuildExchange()
3394 if (*fcExchangeIndex != -1) // Exchange is available? in cpqfcTSBuildExchange()
3397 CMDfchs = &Exchanges->fcExchange[*fcExchangeIndex].fchs; in cpqfcTSBuildExchange()
3401 Exchanges->fcExchange[*fcExchangeIndex].Cmnd = Cmnd; // Linux Scsi in cpqfcTSBuildExchange()
3402 …Exchanges->fcExchange[*fcExchangeIndex].pLoggedInPort = fcFindLoggedInPort(fcChip, Exchanges->fcEx… in cpqfcTSBuildExchange()
3441 Exchanges->fcExchange[*fcExchangeIndex].timeOut = 1; // seconds in cpqfcTSBuildExchange()
3459 Exchanges->fcExchange[*fcExchangeIndex].timeOut = 5; // seconds in cpqfcTSBuildExchange()
3493 Exchanges->fcExchange[*fcExchangeIndex].timeOut = 5; // seconds in cpqfcTSBuildExchange()
3524 Exchanges->fcExchange[*fcExchangeIndex].timeOut = 2; // seconds in cpqfcTSBuildExchange()
3529 Exchanges->fcExchange[*fcExchangeIndex].reTries = 2; in cpqfcTSBuildExchange()
3530 Exchanges->fcExchange[*fcExchangeIndex].timeOut = 2; // seconds in cpqfcTSBuildExchange()
3571 Exchanges->fcExchange[*fcExchangeIndex].reTries = 2; in cpqfcTSBuildExchange()
3572 Exchanges->fcExchange[*fcExchangeIndex].timeOut = 2; // seconds in cpqfcTSBuildExchange()
3607 Exchanges->fcExchange[*fcExchangeIndex].timeOut = 1; // assume done in cpqfcTSBuildExchange()
3651 PFC_LOGGEDIN_PORT pLoggedInPort = Exchanges->fcExchange[*fcExchangeIndex].pLoggedInPort; in cpqfcTSBuildExchange()
3653 Exchanges->fcExchange[*fcExchangeIndex].reTries = 1; in cpqfcTSBuildExchange()
3654 Exchanges->fcExchange[*fcExchangeIndex].timeOut = 7; // FC2 timeout in cpqfcTSBuildExchange()
3682 dataHDR = &fcChip->SEST->DataHDR[*fcExchangeIndex]; in cpqfcTSBuildExchange()
3695 pIWE = &fcChip->SEST->u[*fcExchangeIndex].IWE; in cpqfcTSBuildExchange()
3720 …pIWE->Hdr_Addr = fcChip->SEST->base + ((unsigned long) &fcChip->SEST->DataHDR[*fcExchangeIndex] - … in cpqfcTSBuildExchange()
3725 …memset(&fcChip->SEST->RspHDR[*fcExchangeIndex].pl, 0, sizeof(FCP_STATUS_RESPONSE)); // clear out p… in cpqfcTSBuildExchange()
3727 …pIWE->RSP_Addr = fcChip->SEST->base + ((unsigned long) &fcChip->SEST->RspHDR[*fcExchangeIndex] - (… in cpqfcTSBuildExchange()
3735 &fcChip->SEST->sgPages[*fcExchangeIndex]); // (for Freeing later) in cpqfcTSBuildExchange()
3770 Exchanges->fcExchange[*fcExchangeIndex].timeOut = Cmnd->timeout; in cpqfcTSBuildExchange()
3777 Exchanges->fcExchange[*fcExchangeIndex].timeOut = 0xFFFFFFFF; in cpqfcTSBuildExchange()
3779 Exchanges->fcExchange[*fcExchangeIndex].reTries = 1; in cpqfcTSBuildExchange()
3780 Exchanges->fcExchange[*fcExchangeIndex].timeOut = 7; // per SCSI req. in cpqfcTSBuildExchange()
3805 pIRE = &fcChip->SEST->u[*fcExchangeIndex].IRE; in cpqfcTSBuildExchange()
3814 …pIRE->RSP_Addr = fcChip->SEST->base + ((unsigned long) &fcChip->SEST->RspHDR[*fcExchangeIndex] - (… in cpqfcTSBuildExchange()
3822 &fcChip->SEST->sgPages[*fcExchangeIndex]); // (for Freeing later) in cpqfcTSBuildExchange()
3860 Exchanges->fcExchange[*fcExchangeIndex].timeOut = 10; // per SCSI req. in cpqfcTSBuildExchange()
3882 rspHDR = &fcChip->SEST->RspHDR[*fcExchangeIndex]; in cpqfcTSBuildExchange()
3895 pTWE = &fcChip->SEST->u[*fcExchangeIndex].TWE; in cpqfcTSBuildExchange()
3910 &fcChip->SEST->sgPages[*fcExchangeIndex]); // (for Freeing later) in cpqfcTSBuildExchange()
3935 Exchanges->fcExchange[*fcExchangeIndex].timeOut = 10; // per SCSI req. in cpqfcTSBuildExchange()
3949 dataHDR = &fcChip->SEST->DataHDR[*fcExchangeIndex]; in cpqfcTSBuildExchange()
3966 rspHDR = &fcChip->SEST->RspHDR[*fcExchangeIndex]; in cpqfcTSBuildExchange()
3979 pTRE = &fcChip->SEST->u[*fcExchangeIndex].TRE; in cpqfcTSBuildExchange()
3984 …fcChip->SEST->base + ((unsigned long) &fcChip->SEST->DataHDR[*fcExchangeIndex] - (unsigned long) f… in cpqfcTSBuildExchange()
3989 …fcChip->SEST->base + ((unsigned long) &fcChip->SEST->RspHDR[*fcExchangeIndex] - (unsigned long) fc… in cpqfcTSBuildExchange()
3997 &fcChip->SEST->sgPages[*fcExchangeIndex]); // (for Freeing later) in cpqfcTSBuildExchange()
4034 …Exchanges->fcExchange[*fcExchangeIndex].type = FCP_RESPONSE; // change Exchange type to "response"… in cpqfcTSBuildExchange()
4038 fcChip->SEST->RspHDR[*fcExchangeIndex].ox_rx_id = CMDfchs->ox_rx_id; in cpqfcTSBuildExchange()
4042 buildFCPstatus(fcChip, *fcExchangeIndex); // set RSP payload fields in cpqfcTSBuildExchange()
4045 &fcChip->SEST->RspHDR[*fcExchangeIndex], sizeof(TachFCHDR_RSP)); in cpqfcTSBuildExchange()
4058 pIRB = &Exchanges->fcExchange[*fcExchangeIndex].IRB; in cpqfcTSBuildExchange()
4077 cpqfcTSCompleteExchange(dev->PciDev, fcChip, *fcExchangeIndex); // SEST build failed in cpqfcTSBuildExchange()