Lines Matching refs:req
1482 struct req_que *req;
1489 req = sp->qpair->req;
1491 req = vha->req;
1494 for (handle = 1; handle < req->num_outstanding_cmds; handle++) {
1495 if (req->outstanding_cmds[handle] == sp)
1500 if (handle == req->num_outstanding_cmds) {
2455 struct req_que *req;
2461 req = vha->qpair->req;
2463 req = ha->req_q_map[0];
2474 lg->handle = make_handle(req->id, lg->handle);
2729 struct req_que *req;
2741 req = vha->req;
2744 lg->handle = make_handle(req->id, lg->handle);
3202 struct req_que *req = vha->req;
3209 req = sp->qpair->req;
3217 for (handle = 1; handle < req->num_outstanding_cmds; handle++) {
3218 if (req->outstanding_cmds[handle] == sp)
3222 if (handle == req->num_outstanding_cmds) {
3236 abt->handle = make_handle(req->id, abt->handle);
3238 abt->handle_to_abort = make_handle(req->id, handle);
3244 abt->req_que_no = cpu_to_le16(req->id);
3290 struct req_que *req;
3295 req = vha->req;
3303 req = qpair->req;
3315 tsk->p.tsk.handle = make_handle(req->id, tsk->p.tsk.handle);
4328 struct verify_chip_entry_84xx req;
4361 mn->p.req.entry_type = VERIFY_CHIP_IOCB_TYPE;
4362 mn->p.req.entry_count = 1;
4363 mn->p.req.options = cpu_to_le16(options);
4427 qla25xx_init_req_que(struct scsi_qla_host *vha, struct req_que *req)
4442 req->options |= BIT_13;
4445 mcp->mb[1] = req->options;
4446 mcp->mb[2] = MSW(LSD(req->dma));
4447 mcp->mb[3] = LSW(LSD(req->dma));
4448 mcp->mb[6] = MSW(MSD(req->dma));
4449 mcp->mb[7] = LSW(MSD(req->dma));
4450 mcp->mb[5] = req->length;
4451 if (req->rsp)
4452 mcp->mb[10] = req->rsp->id;
4453 mcp->mb[12] = req->qos;
4454 mcp->mb[11] = req->vp_idx;
4455 mcp->mb[13] = req->rid;
4459 mcp->mb[4] = req->id;
4463 mcp->mb[9] = *req->out_ptr = 0;
4480 if (!(req->options & BIT_0)) {
4481 wrt_reg_dword(req->req_q_in, 0);
4483 wrt_reg_dword(req->req_q_out, 0);