Lines Matching refs:req_p
582 static int atp870u_queuecommand_lck(struct scsi_cmnd *req_p, in atp870u_queuecommand_lck() argument
590 c = scmd_channel(req_p); in atp870u_queuecommand_lck()
591 req_p->sense_buffer[0]=0; in atp870u_queuecommand_lck()
592 scsi_set_resid(req_p, 0); in atp870u_queuecommand_lck()
593 if (scmd_channel(req_p) > 1) { in atp870u_queuecommand_lck()
594 req_p->result = 0x00040000; in atp870u_queuecommand_lck()
595 done(req_p); in atp870u_queuecommand_lck()
602 host = req_p->device->host; in atp870u_queuecommand_lck()
608 m = m << scmd_id(req_p); in atp870u_queuecommand_lck()
615 req_p->result = 0x00040000; in atp870u_queuecommand_lck()
616 done(req_p); in atp870u_queuecommand_lck()
621 req_p->scsi_done = done; in atp870u_queuecommand_lck()
626 req_p->result = 0; in atp870u_queuecommand_lck()
627 done(req_p); in atp870u_queuecommand_lck()
650 req_p->result = 0x00020000; in atp870u_queuecommand_lck()
651 done(req_p); in atp870u_queuecommand_lck()
654 dev->quereq[c][dev->quend[c]] = req_p; in atp870u_queuecommand_lck()