Lines Matching refs:req_p
620 static int atp870u_queuecommand_lck(struct scsi_cmnd *req_p) in atp870u_queuecommand_lck() argument
628 c = scmd_channel(req_p); in atp870u_queuecommand_lck()
629 req_p->sense_buffer[0]=0; in atp870u_queuecommand_lck()
630 scsi_set_resid(req_p, 0); in atp870u_queuecommand_lck()
631 if (scmd_channel(req_p) > 1) { in atp870u_queuecommand_lck()
632 req_p->result = DID_BAD_TARGET << 16; in atp870u_queuecommand_lck()
633 done(req_p); in atp870u_queuecommand_lck()
640 host = req_p->device->host; in atp870u_queuecommand_lck()
644 m = m << scmd_id(req_p); in atp870u_queuecommand_lck()
651 req_p->result = DID_BAD_TARGET << 16; in atp870u_queuecommand_lck()
652 done(req_p); in atp870u_queuecommand_lck()
675 req_p->result = DID_BUS_BUSY << 16; in atp870u_queuecommand_lck()
676 done(req_p); in atp870u_queuecommand_lck()
679 dev->quereq[c][dev->quend[c]] = req_p; in atp870u_queuecommand_lck()