Lines Matching refs:pExchange
4091 FC_EXCHANGE *pExchange = &Exchanges->fcExchange[ExchangeID]; // shorthand in buildFCPstatus() local
4095 if (pExchange->status) // something wrong? in buildFCPstatus()
4099 if (pExchange->status & COUNT_ERROR) { in buildFCPstatus()
4517 FC_EXCHANGE *pExchange = &Exchanges->fcExchange[ExchangeID]; // shorthand in cpqfcTSStartExchange() local
4533 …d %Xh\n", fcChip->Registers.FMstatus.value & 0xFF, ExchangeID, pExchange->type, pExchange->fchs.d_… in cpqfcTSStartExchange()
4543 if (pExchange->type != BLS_ABTS) { in cpqfcTSStartExchange()
4550 printk("fcStartExchange: Que x_ID %Xh, type %Xh\n", ExchangeID, pExchange->type); in cpqfcTSStartExchange()
4551 pExchange->status |= EXCHANGE_QUEUED; in cpqfcTSStartExchange()
4579 pExchange->IRB.Req_A_Trans_ID = ExchangeID & 0x7FFF; // 15-bit field in cpqfcTSStartExchange()
4583 switch (pExchange->type) { in cpqfcTSStartExchange()
4594 pExchange->fchs.ox_rx_id = (ExchangeID | InboundData); in cpqfcTSStartExchange()
4595 pExchange->fchs.ox_rx_id <<= 16; // MSW shift in cpqfcTSStartExchange()
4596 pExchange->fchs.ox_rx_id |= 0xffff; // add default RX_ID in cpqfcTSStartExchange()
4600 if (pExchange->type == SCSI_IWE) { in cpqfcTSStartExchange()
4601 fcChip->SEST->DataHDR[ExchangeID].ox_rx_id = pExchange->fchs.ox_rx_id; in cpqfcTSStartExchange()
4618 pExchange->fchs.ox_rx_id = ExchangeID; in cpqfcTSStartExchange()
4619 pExchange->fchs.ox_rx_id <<= 16; // MSW shift in cpqfcTSStartExchange()
4620 pExchange->fchs.ox_rx_id |= 0xffff; // and RX_ID in cpqfcTSStartExchange()
4637 pExchange->fchs.ox_rx_id |= (ExchangeID & 0xFFFF); in cpqfcTSStartExchange()
4649 pExchange->fchs.ox_rx_id &= 0xFFFF0000; // clear RX_ID in cpqfcTSStartExchange()
4652 pExchange->fchs.ox_rx_id |= (ExchangeID | 0x8000); in cpqfcTSStartExchange()
4667 pExchange->fchs.ox_rx_id = fcChip->SEST->DataHDR[ExchangeID].ox_rx_id; in cpqfcTSStartExchange()
4691 printk("Error on fcStartExchange: undefined type %Xh(%d)\n", pExchange->type, pExchange->type); in cpqfcTSStartExchange()
4700 &pExchange->IRB, 32); // fixed (hardware) length! in cpqfcTSStartExchange()
4725 pExchange->status) // typically, can get FRAME_TO in cpqfcTSStartExchange()
4741 pExchange->status &= ~EXCHANGE_QUEUED; // clear ExchangeQueued flag in cpqfcTSStartExchange()