Lines Matching refs:target

188 	/* SCSI channel 0 and target Structure  */
199 /* SCSI channel 1 and target Structure */
537 /* Stall for a while, wait for target's firmware ready,make it 2 sec ! */
747 if ((host->act_tags[first->target] == 0) &&
748 !(host->targets[first->target].flags & TCF_BUSY))
751 if ((host->act_tags[first->target] >=
752 host->max_tags[first->target]) |
753 (host->targets[first->target].flags & TCF_BUSY)) {
798 host->act_tags[scbp->target]++;
800 host->targets[scbp->target].flags |= TCF_BUSY;
823 host->act_tags[tmp->target]--;
825 host->targets[tmp->target].flags &= ~TCF_BUSY;
855 host->act_tags[tmp->target]--;
857 host->targets[tmp->target].flags &= ~TCF_BUSY;
874 scbp_tarlun = (tmp->lun << 8) | (tmp->target);
973 host->act_tags[tmp->target]--;
1079 host->max_tags[scb->target] =
1080 host->act_tags[scb->target] - 1;
1180 /* program HBA's SCSI ID & target SCSI ID */
1181 outb((host->scsi_id << 4) | (scb->target & 0x0F),
1184 active_tc = &host->targets[scb->target];
1910 /* --------- get target id---------------------- */
1948 if (scb->target != tar || scb->lun != lun) {
1980 { /* target wrong phase */
2000 * Abort when the target/lun does not match or when our SCB is not
2023 * Abort when the target/lun does not match or when our SCB is not
2310 host->active_tc = &host->targets[scb->target];
2325 host->active_tc = &host->targets[scb->target];
2342 host->active_tc = &host->targets[scb->target];
2368 tar = scb->target; /* target */
2372 /* abort all SCB with same target */
2375 if (tmp->target == tar) {
2545 cblk->target = cmnd->device->id;
2757 case 0x11: /* Selection time out-The initiator selection or target
2763 phase sequence was requested by the target. The host adapter
2773 case 0x12: /* Data overrun/underrun-The target attempted to transfer more data
2776 case 0x13: /* Unexpected bus free-The target dropped the SCSI BSY at an unexpected time. */