Lines Matching defs:target_id
260 uchar target_id;
1750 uchar target_id; /* Device target identifier. */
1999 #define AdvResetDevice(asc_dvc, target_id) \
2001 (ADV_DCNT) (target_id))
2582 printk(" target_id %u, target_lun %u, srb_tag 0x%x\n",
2583 q->target_id, q->target_lun, q->srb_tag);
6201 target_bit = ADV_TID_TO_TIDMASK(scsiq->target_id);
6369 ASC_SCSI_BIT_ID_TYPE target_id;
6396 target_id = (uchar)ASC_TID_TO_TARGET_ID(tid_no);
6397 if (asc_dvc->pci_fix_asyn_xfer & target_id) {
6403 if (asc_dvc->pci_fix_asyn_xfer & target_id) {
6410 if (asc_dvc->pci_fix_asyn_xfer & target_id) {
6448 asc_dvc->init_sdtr &= ~target_id;
6449 asc_dvc->sdtr_done &= ~target_id;
6458 asc_dvc->init_sdtr &= ~target_id;
6459 asc_dvc->sdtr_done &= ~target_id;
6464 asc_dvc->sdtr_done |= target_id;
6465 asc_dvc->init_sdtr |= target_id;
6467 ~target_id;
6482 ~target_id;
6491 asc_dvc->sdtr_done |= target_id;
6492 asc_dvc->init_sdtr |= target_id;
6537 if ((asc_dvc->init_sdtr & target_id) != 0) {
6539 asc_dvc->sdtr_done &= ~target_id;
6561 if ((asc_dvc->pci_fix_asyn_xfer & target_id)
6562 && !(asc_dvc->pci_fix_asyn_xfer_always & target_id)
6584 scsi_busy &= ~target_id;
6600 asc_dvc->init_sdtr &= ~target_id;
6601 asc_dvc->sdtr_done &= ~target_id;
6625 scsi_busy |= target_id;
6628 asc_dvc->queue_full_or_busy |= target_id;
6648 boardp->queue_full |= target_id;
6860 ASC_SCSI_BIT_ID_TYPE target_id;
6888 target_id = ASC_TIX_TO_TARGET_ID(scsiq->d2.target_ix);
6914 if (asc_dvc->queue_full_or_busy & target_id) {
6924 scsi_busy &= ~target_id;
6928 asc_dvc->queue_full_or_busy &= ~target_id;
6990 asc_dvc->unit_not_ready &= ~target_id;
6993 ~target_id;
7529 asc_scsi_q->q1.target_id = ASC_TID_TO_TARGET_ID(scp->device->id);
7788 scsiqp->target_id = scp->device->id;
7869 ASC_SCSI_BIT_ID_TYPE target_id;
7872 target_id = ASC_TIX_TO_TARGET_ID(target_ix);
7874 if ((asc_dvc->unit_not_ready & target_id) ||
7875 (asc_dvc->queue_full_or_busy & target_id)) {
7967 if (((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) &&
7968 ((asc_dvc->sdtr_done & scsiq->q1.target_id) == 0)) {
7980 if ((scsiq->q1.target_id & asc_dvc->use_tagged_qng) == 0) {
8184 if ((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) {
8185 asc_dvc->sdtr_done &= ~scsiq->q1.target_id;
8221 if ((asc_dvc->pci_fix_asyn_xfer & scsiq->q1.target_id) &&
8222 !(asc_dvc->pci_fix_asyn_xfer_always & scsiq->q1.target_id)) {
8387 * The ADV_SCSI_REQ_Q 'target_id' field should never exceed ADV_MAX_TID.
8389 if (scsiq->target_id > ADV_MAX_TID) {