Lines Matching refs:csol_cqe
1119 struct common_sol_cqe *csol_cqe) in be_complete_io() argument
1129 exp_cmdsn = csol_cqe->exp_cmdsn; in be_complete_io()
1130 max_cmdsn = (csol_cqe->exp_cmdsn + in be_complete_io()
1131 csol_cqe->cmd_wnd - 1); in be_complete_io()
1132 rsp = csol_cqe->i_resp; in be_complete_io()
1133 status = csol_cqe->i_sts; in be_complete_io()
1134 flags = csol_cqe->i_flags; in be_complete_io()
1135 resid = csol_cqe->res_cnt; in be_complete_io()
1187 struct common_sol_cqe *csol_cqe) in be_complete_logout() argument
1197 hdr->flags = csol_cqe->i_flags; in be_complete_logout()
1198 hdr->response = csol_cqe->i_resp; in be_complete_logout()
1199 hdr->exp_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn); in be_complete_logout()
1200 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_logout()
1201 csol_cqe->cmd_wnd - 1); in be_complete_logout()
1214 struct common_sol_cqe *csol_cqe) in be_complete_tmf() argument
1222 hdr->flags = csol_cqe->i_flags; in be_complete_tmf()
1223 hdr->response = csol_cqe->i_resp; in be_complete_tmf()
1224 hdr->exp_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn); in be_complete_tmf()
1225 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_tmf()
1226 csol_cqe->cmd_wnd - 1); in be_complete_tmf()
1270 struct common_sol_cqe *csol_cqe) in be_complete_nopin_resp() argument
1277 hdr->flags = csol_cqe->i_flags; in be_complete_nopin_resp()
1278 hdr->exp_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn); in be_complete_nopin_resp()
1279 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_nopin_resp()
1280 csol_cqe->cmd_wnd - 1); in be_complete_nopin_resp()
1289 struct common_sol_cqe *csol_cqe) in adapter_get_sol_cqe() argument
1292 csol_cqe->exp_cmdsn = AMAP_GET_BITS(struct amap_sol_cqe, in adapter_get_sol_cqe()
1294 csol_cqe->res_cnt = AMAP_GET_BITS(struct amap_sol_cqe, in adapter_get_sol_cqe()
1296 csol_cqe->cmd_wnd = AMAP_GET_BITS(struct amap_sol_cqe, in adapter_get_sol_cqe()
1298 csol_cqe->wrb_index = AMAP_GET_BITS(struct amap_sol_cqe, in adapter_get_sol_cqe()
1300 csol_cqe->cid = AMAP_GET_BITS(struct amap_sol_cqe, in adapter_get_sol_cqe()
1302 csol_cqe->hw_sts = AMAP_GET_BITS(struct amap_sol_cqe, in adapter_get_sol_cqe()
1304 csol_cqe->i_resp = AMAP_GET_BITS(struct amap_sol_cqe, in adapter_get_sol_cqe()
1306 csol_cqe->i_sts = AMAP_GET_BITS(struct amap_sol_cqe, in adapter_get_sol_cqe()
1308 csol_cqe->i_flags = AMAP_GET_BITS(struct amap_sol_cqe, in adapter_get_sol_cqe()
1311 csol_cqe->exp_cmdsn = AMAP_GET_BITS(struct amap_sol_cqe_v2, in adapter_get_sol_cqe()
1313 csol_cqe->res_cnt = AMAP_GET_BITS(struct amap_sol_cqe_v2, in adapter_get_sol_cqe()
1315 csol_cqe->wrb_index = AMAP_GET_BITS(struct amap_sol_cqe_v2, in adapter_get_sol_cqe()
1317 csol_cqe->cid = AMAP_GET_BITS(struct amap_sol_cqe_v2, in adapter_get_sol_cqe()
1319 csol_cqe->hw_sts = AMAP_GET_BITS(struct amap_sol_cqe_v2, in adapter_get_sol_cqe()
1321 csol_cqe->cmd_wnd = AMAP_GET_BITS(struct amap_sol_cqe_v2, in adapter_get_sol_cqe()
1325 csol_cqe->i_sts = AMAP_GET_BITS(struct amap_sol_cqe_v2, in adapter_get_sol_cqe()
1328 csol_cqe->i_resp = AMAP_GET_BITS(struct amap_sol_cqe_v2, in adapter_get_sol_cqe()
1332 csol_cqe->i_flags = ISCSI_FLAG_CMD_UNDERFLOW; in adapter_get_sol_cqe()
1336 csol_cqe->i_flags |= ISCSI_FLAG_CMD_OVERFLOW; in adapter_get_sol_cqe()
1346 struct common_sol_cqe csol_cqe = {0}; in hwi_complete_cmd() local
1357 adapter_get_sol_cqe(phba, psol, &csol_cqe); in hwi_complete_cmd()
1359 cri_index = BE_GET_CRI_FROM_CID(csol_cqe.cid); in hwi_complete_cmd()
1363 csol_cqe.wrb_index]; in hwi_complete_cmd()
1378 be_complete_nopin_resp(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1380 be_complete_io(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1385 be_complete_logout(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1387 be_complete_tmf(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1398 be_complete_nopin_resp(beiscsi_conn, task, &csol_cqe); in hwi_complete_cmd()
1406 csol_cqe.wrb_index, in hwi_complete_cmd()
1407 csol_cqe.cid); in hwi_complete_cmd()