Lines Matching refs:Exchanges

60 	if (fcChip->Exchanges != NULL)  in cpqfc_free_dma_consistent()
61 …pci_free_consistent(cpqfcHBAdata->PciDev, sizeof(FC_EXCHANGES), fcChip->Exchanges, fcChip->exch_dm… in cpqfc_free_dma_consistent()
62 fcChip->Exchanges = NULL; in cpqfc_free_dma_consistent()
91 fcChip->Exchanges = NULL; in CpqTsCreateTachLiteQues()
95 …fcChip->Exchanges = pci_alloc_consistent(cpqfcHBAdata->PciDev, sizeof(FC_EXCHANGES), &fcChip->exch… in CpqTsCreateTachLiteQues()
96 printk("@ %p\n", fcChip->Exchanges); in CpqTsCreateTachLiteQues()
98 if (fcChip->Exchanges == NULL) // fatal error!! in CpqTsCreateTachLiteQues()
104 memset(fcChip->Exchanges, 0, sizeof(FC_EXCHANGES)); in CpqTsCreateTachLiteQues()
643 FC_EXCHANGES *Exchanges = fcChip->Exchanges; in CpqTsProcessIMQEntry() local
724 Exchanges->fcExchange[x_ID].status |= dwStatus; in CpqTsProcessIMQEntry()
732 Exchanges->fcExchange[x_ID].timeOut = 30000; // seconds default in CpqTsProcessIMQEntry()
743 if (!(Exchanges->fcExchange[x_ID].status & DEVICE_REMOVED)) { in CpqTsProcessIMQEntry()
895 if ((fchs->s_id & 0xFFFFFF) == (Exchanges->fcExchange[x_ID].fchs.d_id & 0xFFFFFF) in CpqTsProcessIMQEntry()
896 … && (fchs->ox_rx_id & 0xFFFF0000) == (Exchanges->fcExchange[x_ID].fchs.ox_rx_id & 0xFFFF0000)) { in CpqTsProcessIMQEntry()
900 Exchanges->fcExchange[x_ID].status |= SFQ_FRAME; in CpqTsProcessIMQEntry()
1144 …if (Exchanges->fcExchange[i].type == ELS_PDISC || Exchanges->fcExchange[i].type == ELS_PLOGI || Ex… in CpqTsProcessIMQEntry()
1147 …tor ABORT x_id %Xh, type %Xh, port_id %Xh on LDn\n", i, Exchanges->fcExchange[i].type, Exchanges->… in CpqTsProcessIMQEntry()
1150 Exchanges->fcExchange[i].status |= INITIATOR_ABORT; in CpqTsProcessIMQEntry()
1372 … printk(" FCP_CM x_ID %Xh, status %Xh, Cmnd %p\n", x_ID, ulBuff, Exchanges->fcExchange[x_ID].Cmnd); in CpqTsProcessIMQEntry()
1395 Exchanges->fcExchange[x_ID].status = dwStatus; in CpqTsProcessIMQEntry()
1417 if (Exchanges->fcExchange[x_ID].type == SCSI_TWE) { in CpqTsProcessIMQEntry()
1628 FC_EXCHANGES *Exchanges = fcChip->Exchanges; in CpqTsDestroyTachLiteQues() local
1641 if (Exchanges->fcExchange[i].Cmnd != NULL) in CpqTsDestroyTachLiteQues()
1642 …cpqfc_pci_unmap(cpqfcHBAdata->PciDev, Exchanges->fcExchange[i].Cmnd, fcChip, i); // undo DMA mappi… in CpqTsDestroyTachLiteQues()