Lines Matching refs:CMDfchs
3348 TachFCHDR_GCMND *CMDfchs; in cpqfcTSBuildExchange() local
3397 CMDfchs = &Exchanges->fcExchange[*fcExchangeIndex].fchs; in cpqfcTSBuildExchange()
3412 CMDfchs->reserved = 0L; // must clear in cpqfcTSBuildExchange()
3413 CMDfchs->sof_eof = 0x75000000L; // SOFi3:EOFn no UAM; LCr=0, no TS in cpqfcTSBuildExchange()
3419 CMDfchs->d_id = InFCHS->s_id & 0xFFFFFF; // destination (add R_CTL later) in cpqfcTSBuildExchange()
3420 CMDfchs->s_id = fcChip->Registers.my_al_pa; // CS_CTL = 0 in cpqfcTSBuildExchange()
3435 CMDfchs->d_id |= 0x80000000L; // R_CTL = 80 for NOP (Basic Link Ser.) in cpqfcTSBuildExchange()
3436 CMDfchs->f_ctl = 0x00310000L; // xchng originator, 1st seq,.... in cpqfcTSBuildExchange()
3437 CMDfchs->seq_cnt = 0x0L; in cpqfcTSBuildExchange()
3438 CMDfchs->ox_rx_id = 0xFFFF; // RX_ID for now; OX_ID on start in cpqfcTSBuildExchange()
3439 CMDfchs->ro = 0x0L; // relative offset (n/a) in cpqfcTSBuildExchange()
3440 CMDfchs->pl[0] = 0xaabbccddL; // words 8-15 frame data payload (n/a) in cpqfcTSBuildExchange()
3453 CMDfchs->d_id |= 0x84000000L; // R_CTL = 84 for BASIC ACCept in cpqfcTSBuildExchange()
3456 CMDfchs->f_ctl = 0x00910000L; // xchnge responder, last seq, xfer SI in cpqfcTSBuildExchange()
3458 CMDfchs->ro = 0x0L; // relative offset (n/a) in cpqfcTSBuildExchange()
3463 ba_acc = (BA_ACC_PAYLOAD *) & CMDfchs->pl[0]; in cpqfcTSBuildExchange()
3470 ba_acc->ox_rx_id = CMDfchs->ox_rx_id; in cpqfcTSBuildExchange()
3473 BigEndianSwap((u8 *) & CMDfchs->ox_rx_id, (u8 *) & ba_acc->ox_rx_id, 4); in cpqfcTSBuildExchange()
3487 CMDfchs->d_id |= 0x85000000L; // R_CTL = 85 for BASIC ReJecT in cpqfcTSBuildExchange()
3490 CMDfchs->f_ctl = 0x00910000L; // xchnge responder, last seq, xfer SI in cpqfcTSBuildExchange()
3492 CMDfchs->ro = 0x0L; // relative offset (n/a) in cpqfcTSBuildExchange()
3496 CMDfchs->ox_rx_id = InFCHS->ox_rx_id; // copy from sender! in cpqfcTSBuildExchange()
3499 ba_rjt = (BA_RJT_PAYLOAD *) & CMDfchs->pl[0]; in cpqfcTSBuildExchange()
3520 CMDfchs->d_id |= 0x81000000L; // R_CTL = 81 for ABTS in cpqfcTSBuildExchange()
3521 CMDfchs->f_ctl = 0x00110000L; // xchnge originator, last seq, xfer SI in cpqfcTSBuildExchange()
3523 CMDfchs->ro = 0x0L; // relative offset (n/a) in cpqfcTSBuildExchange()
3533 CMDfchs->ox_rx_id = 0xFFFF; // RX_ID - Responder (target) to modify in cpqfcTSBuildExchange()
3540 CMDfchs->d_id |= 0x02000000L; // R_CTL = 02 for - in cpqfcTSBuildExchange()
3544 CMDfchs->f_ctl = 0x20210000L; in cpqfcTSBuildExchange()
3546 CMDfchs->seq_cnt = 0; // seq ID, DF_ctl, seq cnt in cpqfcTSBuildExchange()
3547 CMDfchs->ro = 0x0L; // relative offset (n/a) in cpqfcTSBuildExchange()
3548 BuildLinkServicePayload(fcChip, type, &CMDfchs->pl[0]); in cpqfcTSBuildExchange()
3575 CMDfchs->ox_rx_id = 0xFFFF; // RX_ID - Responder (target) to modify in cpqfcTSBuildExchange()
3590 CMDfchs->d_id |= 0x22000000L; // R_CTL = 22 for - in cpqfcTSBuildExchange()
3594 CMDfchs->f_ctl = 0x01210000L; in cpqfcTSBuildExchange()
3596 CMDfchs->seq_cnt = 0; // seq ID, DF_ctl, seq cnt in cpqfcTSBuildExchange()
3597 CMDfchs->ro = 0x0L; // relative offset (n/a) in cpqfcTSBuildExchange()
3599 BuildLinkServicePayload(fcChip, type, &CMDfchs->pl[0]); in cpqfcTSBuildExchange()
3622 CMDfchs->pl[0] = 1; in cpqfcTSBuildExchange()
3623 CMDfchs->pl[1] = InFCHS->reserved; in cpqfcTSBuildExchange()
3632 CMDfchs->d_id |= 0x23000000L; // R_CTL = 23 for - in cpqfcTSBuildExchange()
3636 CMDfchs->f_ctl = 0x01990000L; in cpqfcTSBuildExchange()
3637 CMDfchs->seq_cnt = 0x0L; in cpqfcTSBuildExchange()
3638 CMDfchs->ox_rx_id = 0L; // clear in cpqfcTSBuildExchange()
3639 CMDfchs->ox_rx_id = ox_ID; // load upper 16 bits in cpqfcTSBuildExchange()
3640 CMDfchs->ox_rx_id <<= 16; // shift them in cpqfcTSBuildExchange()
3642 CMDfchs->ro = 0x0L; // relative offset (n/a) in cpqfcTSBuildExchange()
3644 BuildLinkServicePayload(fcChip, type, &CMDfchs->pl[0]); in cpqfcTSBuildExchange()
3670 CMDfchs->d_id |= (0x06000000L); // R_CTL = 6 for command in cpqfcTSBuildExchange()
3675 CMDfchs->f_ctl = 0x08210008L; in cpqfcTSBuildExchange()
3676 CMDfchs->seq_cnt = 0x0L; in cpqfcTSBuildExchange()
3677 CMDfchs->ox_rx_id = 0L; // clear for now (-or- in later) in cpqfcTSBuildExchange()
3678 CMDfchs->ro = 0x0L; // relative offset (n/a) in cpqfcTSBuildExchange()
3744 build_FCP_payload(Cmnd, (u8 *) & CMDfchs->pl[0], type, fcp_dl); in cpqfcTSBuildExchange()
3794 CMDfchs->d_id |= (0x06000000L); // R_CTL = 6 for command in cpqfcTSBuildExchange()
3799 CMDfchs->f_ctl = 0x08210008L; in cpqfcTSBuildExchange()
3800 CMDfchs->seq_cnt = 0x0L; in cpqfcTSBuildExchange()
3802 CMDfchs->ox_rx_id = 0xFFFF; // clear in cpqfcTSBuildExchange()
3803 CMDfchs->ro = 0x0L; // relative offset (n/a) in cpqfcTSBuildExchange()
3839 build_FCP_payload(Cmnd, (u8 *) & CMDfchs->pl[0], type, fcp_dl); in cpqfcTSBuildExchange()
3868 CMDfchs->d_id |= (0x05000000L); // R_CTL = 5 for XFER_RDY in cpqfcTSBuildExchange()
3873 CMDfchs->f_ctl = 0x08810008L; in cpqfcTSBuildExchange()
3874 CMDfchs->seq_cnt = 0x01000000; // sequence ID: df_ctl: sequence count in cpqfcTSBuildExchange()
3876 CMDfchs->ox_rx_id = InFCHS->ox_rx_id; // we want upper 16 bits in cpqfcTSBuildExchange()
3877 CMDfchs->ro = 0x0L; // relative offset (n/a) in cpqfcTSBuildExchange()
3918 build_FCP_payload(Cmnd, (u8 *) & CMDfchs->pl[0], type, fcp_dl); in cpqfcTSBuildExchange()
4038 fcChip->SEST->RspHDR[*fcExchangeIndex].ox_rx_id = CMDfchs->ox_rx_id; in cpqfcTSBuildExchange()
4044 memcpy(CMDfchs, // re-use same XFER fchs for Response frame in cpqfcTSBuildExchange()
4063 fcChip->exch_dma_handle + (unsigned long) CMDfchs - (unsigned long) Exchanges; in cpqfcTSBuildExchange()
4065 pIRB->Req_A_SFS_D_ID = CMDfchs->d_id << 8; // Dest_ID must be consistent! in cpqfcTSBuildExchange()