Lines Matching refs:abts_rsp
82 struct abts_entry_24xx *abts_rsp; in qla24xx_process_abts() local
134 abts_rsp = (void *)rsp_els; in qla24xx_process_abts()
135 memset(abts_rsp, 0, sizeof(*abts_rsp)); in qla24xx_process_abts()
136 abts_rsp->entry_type = ABTS_RSP_TYPE; in qla24xx_process_abts()
137 abts_rsp->entry_count = 1; in qla24xx_process_abts()
138 abts_rsp->nport_handle = abts->nport_handle; in qla24xx_process_abts()
139 abts_rsp->vp_idx = abts->vp_idx; in qla24xx_process_abts()
140 abts_rsp->sof_type = abts->sof_type & 0xf0; in qla24xx_process_abts()
141 abts_rsp->rx_xch_addr = abts->rx_xch_addr; in qla24xx_process_abts()
142 abts_rsp->d_id[0] = abts->s_id[0]; in qla24xx_process_abts()
143 abts_rsp->d_id[1] = abts->s_id[1]; in qla24xx_process_abts()
144 abts_rsp->d_id[2] = abts->s_id[2]; in qla24xx_process_abts()
145 abts_rsp->r_ctl = FC_ROUTING_BLD | FC_R_CTL_BLD_BA_ACC; in qla24xx_process_abts()
146 abts_rsp->s_id[0] = abts->d_id[0]; in qla24xx_process_abts()
147 abts_rsp->s_id[1] = abts->d_id[1]; in qla24xx_process_abts()
148 abts_rsp->s_id[2] = abts->d_id[2]; in qla24xx_process_abts()
149 abts_rsp->cs_ctl = abts->cs_ctl; in qla24xx_process_abts()
153 abts_rsp->f_ctl[0] = fctl >> 0 & 0xff; in qla24xx_process_abts()
154 abts_rsp->f_ctl[1] = fctl >> 8 & 0xff; in qla24xx_process_abts()
155 abts_rsp->f_ctl[2] = fctl >> 16 & 0xff; in qla24xx_process_abts()
156 abts_rsp->type = FC_TYPE_BLD; in qla24xx_process_abts()
157 abts_rsp->rx_id = abts->rx_id; in qla24xx_process_abts()
158 abts_rsp->ox_id = abts->ox_id; in qla24xx_process_abts()
159 abts_rsp->payload.ba_acc.aborted_rx_id = abts->rx_id; in qla24xx_process_abts()
160 abts_rsp->payload.ba_acc.aborted_ox_id = abts->ox_id; in qla24xx_process_abts()
161 abts_rsp->payload.ba_acc.high_seq_cnt = cpu_to_le16(~0); in qla24xx_process_abts()
162 abts_rsp->rx_xch_addr_to_abort = abts->rx_xch_addr_to_abort; in qla24xx_process_abts()
169 (uint8_t *)abts_rsp, sizeof(*abts_rsp)); in qla24xx_process_abts()
170 rval = qla2x00_issue_iocb(vha, abts_rsp, dma, 0); in qla24xx_process_abts()
174 } else if (abts_rsp->comp_status) { in qla24xx_process_abts()
177 __func__, abts_rsp->comp_status, in qla24xx_process_abts()
178 abts_rsp->payload.error.subcode1, in qla24xx_process_abts()
179 abts_rsp->payload.error.subcode2); in qla24xx_process_abts()