Lines Matching defs:target_id
251 uchar target_id;
1737 uchar target_id; /* Device target identifier. */
1986 #define AdvResetDevice(asc_dvc, target_id) \
1988 (ADV_DCNT) (target_id))
2571 printk(" target_id %u, target_lun %u, srb_tag 0x%x\n",
2572 q->target_id, q->target_lun, q->srb_tag);
6302 ASC_SCSI_BIT_ID_TYPE target_id;
6329 target_id = (uchar)ASC_TID_TO_TARGET_ID(tid_no);
6330 if (asc_dvc->pci_fix_asyn_xfer & target_id) {
6336 if (asc_dvc->pci_fix_asyn_xfer & target_id) {
6343 if (asc_dvc->pci_fix_asyn_xfer & target_id) {
6381 asc_dvc->init_sdtr &= ~target_id;
6382 asc_dvc->sdtr_done &= ~target_id;
6391 asc_dvc->init_sdtr &= ~target_id;
6392 asc_dvc->sdtr_done &= ~target_id;
6397 asc_dvc->sdtr_done |= target_id;
6398 asc_dvc->init_sdtr |= target_id;
6400 ~target_id;
6415 ~target_id;
6424 asc_dvc->sdtr_done |= target_id;
6425 asc_dvc->init_sdtr |= target_id;
6470 if ((asc_dvc->init_sdtr & target_id) != 0) {
6472 asc_dvc->sdtr_done &= ~target_id;
6494 if ((asc_dvc->pci_fix_asyn_xfer & target_id)
6495 && !(asc_dvc->pci_fix_asyn_xfer_always & target_id)
6517 scsi_busy &= ~target_id;
6533 asc_dvc->init_sdtr &= ~target_id;
6534 asc_dvc->sdtr_done &= ~target_id;
6558 scsi_busy |= target_id;
6561 asc_dvc->queue_full_or_busy |= target_id;
6581 boardp->queue_full |= target_id;
6774 ASC_SCSI_BIT_ID_TYPE target_id;
6802 target_id = ASC_TIX_TO_TARGET_ID(scsiq->d2.target_ix);
6828 if (asc_dvc->queue_full_or_busy & target_id) {
6838 scsi_busy &= ~target_id;
6842 asc_dvc->queue_full_or_busy &= ~target_id;
6904 asc_dvc->unit_not_ready &= ~target_id;
6907 ~target_id;
7443 asc_scsi_q->q1.target_id = ASC_TID_TO_TARGET_ID(scp->device->id);
7702 scsiqp->target_id = scp->device->id;
7783 ASC_SCSI_BIT_ID_TYPE target_id;
7786 target_id = ASC_TIX_TO_TARGET_ID(target_ix);
7788 if ((asc_dvc->unit_not_ready & target_id) ||
7789 (asc_dvc->queue_full_or_busy & target_id)) {
7881 if (((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) &&
7882 ((asc_dvc->sdtr_done & scsiq->q1.target_id) == 0)) {
7894 if ((scsiq->q1.target_id & asc_dvc->use_tagged_qng) == 0) {
8098 if ((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) {
8099 asc_dvc->sdtr_done &= ~scsiq->q1.target_id;
8135 if ((asc_dvc->pci_fix_asyn_xfer & scsiq->q1.target_id) &&
8136 !(asc_dvc->pci_fix_asyn_xfer_always & scsiq->q1.target_id)) {
8301 * The ADV_SCSI_REQ_Q 'target_id' field should never exceed ADV_MAX_TID.
8303 if (scsiq->target_id > ADV_MAX_TID) {