Searched refs:req_p (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Datp870u.c602 * @req_p: request block
607 static int atp870u_queuecommand_lck(struct scsi_cmnd *req_p, atp870u_queuecommand_lck() argument
615 c = scmd_channel(req_p); atp870u_queuecommand_lck()
616 req_p->sense_buffer[0]=0; atp870u_queuecommand_lck()
617 scsi_set_resid(req_p, 0); atp870u_queuecommand_lck()
618 if (scmd_channel(req_p) > 1) { atp870u_queuecommand_lck()
619 req_p->result = 0x00040000; atp870u_queuecommand_lck()
620 done(req_p); atp870u_queuecommand_lck()
622 printk("atp870u_queuecommand : req_p->device->channel > 1\n"); atp870u_queuecommand_lck()
627 host = req_p->device->host; atp870u_queuecommand_lck()
633 m = m << scmd_id(req_p); atp870u_queuecommand_lck()
640 req_p->result = 0x00040000; atp870u_queuecommand_lck()
641 done(req_p); atp870u_queuecommand_lck()
646 req_p->scsi_done = done; atp870u_queuecommand_lck()
651 req_p->result = 0; atp870u_queuecommand_lck()
652 done(req_p); atp870u_queuecommand_lck()
675 req_p->result = 0x00020000; atp870u_queuecommand_lck()
676 done(req_p); atp870u_queuecommand_lck()
679 dev->quereq[c][dev->quend[c]] = req_p; atp870u_queuecommand_lck()

Completed in 39 milliseconds