Lines Matching refs:workrequ

97 	Scsi_Cmnd *workrequ;  in atp870u_intr_handle()  local
292 workrequ = dev->id[target_id].curr_req; in atp870u_intr_handle()
412 workrequ = dev->id[target_id].curr_req; in atp870u_intr_handle()
420 workrequ->result = errstus; in atp870u_intr_handle()
432 workrequ->result = errstus; in atp870u_intr_handle()
438 (*workrequ->scsi_done) (workrequ); in atp870u_intr_handle()
617 Scsi_Cmnd *workrequ; in send_s870() local
637 workrequ = dev->id[dev->last_cmd].curr_req; in send_s870()
638 if (workrequ != NULL) /* check NULL pointer */ in send_s870()
662 workrequ = dev->querequ[dev->quhdu]; in send_s870()
663 if (dev->id[workrequ->target].curr_req == 0) { in send_s870()
664 dev->id[workrequ->target].curr_req = workrequ; in send_s870()
665 dev->last_cmd = workrequ->target; in send_s870()
689 memcpy(&dev->ata_cdbu[0], &workrequ->cmnd[0], workrequ->cmd_len); in send_s870()
691 if (workrequ->request_bufflen > 8) { in send_s870()
692 workrequ->request_bufflen = 0x08; in send_s870()
696 workrequ->request_bufflen = 0; in send_s870()
701 target_id = workrequ->target; in send_s870()
722 outb(workrequ->cmd_len, tmport++); in send_s870()
725 for (i = 0; i < workrequ->cmd_len; i++) { in send_s870()
729 outb(workrequ->lun, tmport); in send_s870()
739 if (workrequ->use_sg) in send_s870()
742 sgpnt = (struct scatterlist *) workrequ->request_buffer; in send_s870()
743 for (i = 0; i < workrequ->use_sg; i++) in send_s870()
745 if (sgpnt[i].length == 0 || workrequ->use_sg > ATP870U_SCATTER) in send_s870()
752 l = workrequ->request_bufflen; in send_s870()
802 if (workrequ->use_sg) in send_s870()
804 sgpnt = (struct scatterlist *) workrequ->request_buffer; in send_s870()
806 for (j = 0; j < workrequ->use_sg; j++) { in send_s870()
827 bttl = virt_to_bus(workrequ->request_buffer); in send_s870()
828 l = workrequ->request_bufflen; in send_s870()
2705 Scsi_Cmnd *workrequ; in atp870u_abort() local
2738 workrequ = dev->id[j].curr_req; in atp870u_abort()
2740 for (k=0; k < workrequ->cmd_len; k++) in atp870u_abort()
2742 printk(" %2x ",workrequ->cmnd[k]); in atp870u_abort()