• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:target_id

290 	uchar target_id;
1820 uchar target_id; /* Device target identifier. */
2072 #define AdvResetDevice(asc_dvc, target_id) \
2074 (ADV_DCNT) (target_id))
2672 printk(" target_id %u, target_lun %u, srb_ptr 0x%lx, a_flag 0x%x\n",
2673 q->target_id, q->target_lun, (ulong)q->srb_ptr, q->a_flag);
6857 target_bit = ADV_TID_TO_TIDMASK(scsiq->target_id);
7027 ASC_SCSI_BIT_ID_TYPE target_id;
7054 target_id = (uchar)ASC_TID_TO_TARGET_ID(tid_no);
7055 if (asc_dvc->pci_fix_asyn_xfer & target_id) {
7061 if (asc_dvc->pci_fix_asyn_xfer & target_id) {
7068 if (asc_dvc->pci_fix_asyn_xfer & target_id) {
7106 asc_dvc->init_sdtr &= ~target_id;
7107 asc_dvc->sdtr_done &= ~target_id;
7116 asc_dvc->init_sdtr &= ~target_id;
7117 asc_dvc->sdtr_done &= ~target_id;
7122 asc_dvc->sdtr_done |= target_id;
7123 asc_dvc->init_sdtr |= target_id;
7125 ~target_id;
7140 ~target_id;
7149 asc_dvc->sdtr_done |= target_id;
7150 asc_dvc->init_sdtr |= target_id;
7195 if ((asc_dvc->init_sdtr & target_id) != 0) {
7197 asc_dvc->sdtr_done &= ~target_id;
7219 if ((asc_dvc->pci_fix_asyn_xfer & target_id)
7220 && !(asc_dvc->pci_fix_asyn_xfer_always & target_id)
7242 scsi_busy &= ~target_id;
7258 asc_dvc->init_sdtr &= ~target_id;
7259 asc_dvc->sdtr_done &= ~target_id;
7283 scsi_busy |= target_id;
7286 asc_dvc->queue_full_or_busy |= target_id;
7306 boardp->queue_full |= target_id;
7676 ASC_SCSI_BIT_ID_TYPE target_id;
7704 target_id = ASC_TIX_TO_TARGET_ID(scsiq->d2.target_ix);
7730 if (asc_dvc->queue_full_or_busy & target_id) {
7740 scsi_busy &= ~target_id;
7744 asc_dvc->queue_full_or_busy &= ~target_id;
7803 asc_dvc->unit_not_ready &= ~target_id;
7806 ~target_id;
8351 asc_scsi_q->q1.target_id = ASC_TID_TO_TARGET_ID(scp->device->id);
8611 scsiqp->target_id = scp->device->id;
8689 ASC_SCSI_BIT_ID_TYPE target_id;
8692 target_id = ASC_TIX_TO_TARGET_ID(target_ix);
8694 if ((asc_dvc->unit_not_ready & target_id) ||
8695 (asc_dvc->queue_full_or_busy & target_id)) {
8787 if (((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) &&
8788 ((asc_dvc->sdtr_done & scsiq->q1.target_id) == 0)) {
8800 if ((scsiq->q1.target_id & asc_dvc->use_tagged_qng) == 0) {
9045 if ((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) {
9046 asc_dvc->sdtr_done &= ~scsiq->q1.target_id;
9086 if ((asc_dvc->pci_fix_asyn_xfer & scsiq->q1.target_id) &&
9087 !(asc_dvc->pci_fix_asyn_xfer_always & scsiq->q1.target_id)) {
9266 * The ADV_SCSI_REQ_Q 'target_id' field should never exceed ADV_MAX_TID.
9268 if (scsiq->target_id > ADV_MAX_TID) {