Lines Matching refs:tid_no

10266     uchar               q_cntl, tid_no;  in AscIsrChipHalted()  local
10284 tid_no = ASC_TIX_TO_TID(target_ix); in AscIsrChipHalted()
10285 target_id = (uchar) ASC_TID_TO_TARGET_ID(tid_no); in AscIsrChipHalted()
10293 AscSetChipSDTR(iop_base, 0, tid_no); in AscIsrChipHalted()
10294 boardp->sdtr_data[tid_no] = 0; in AscIsrChipHalted()
10300 AscSetChipSDTR(iop_base, asyn_sdtr, tid_no); in AscIsrChipHalted()
10301 boardp->sdtr_data[tid_no] = asyn_sdtr; in AscIsrChipHalted()
10337 AscSetChipSDTR(iop_base, asyn_sdtr, tid_no); in AscIsrChipHalted()
10338 boardp->sdtr_data[tid_no] = asyn_sdtr; in AscIsrChipHalted()
10346 AscSetChipSDTR(iop_base, asyn_sdtr, tid_no); in AscIsrChipHalted()
10356 AscSetChipSDTR(iop_base, sdtr_data, tid_no); in AscIsrChipHalted()
10357 boardp->sdtr_data[tid_no] = sdtr_data; in AscIsrChipHalted()
10367 AscSetChipSDTR(iop_base, sdtr_data, tid_no); in AscIsrChipHalted()
10368 boardp->sdtr_data[tid_no] = sdtr_data; in AscIsrChipHalted()
10416 sdtr_data = AscGetMCodeInitSDTRAtID(iop_base, tid_no); in AscIsrChipHalted()
10471 AscSetChipSDTR(iop_base, asyn_sdtr, tid_no); in AscIsrChipHalted()
10472 boardp->sdtr_data[tid_no] = asyn_sdtr; in AscIsrChipHalted()
10487 (asc_dvc->cur_dvc_qng[tid_no] > 0)) { in AscIsrChipHalted()
10499 asc_dvc->max_dvc_qng[tid_no] = cur_dvc_qng; in AscIsrChipHalted()
10503 (ushort) tid_no), in AscIsrChipHalted()
10512 boardp->queue_full_cnt[tid_no] = cur_dvc_qng; in AscIsrChipHalted()
10737 uchar tid_no; in AscIsrQDone() local
10765 tid_no = ASC_TIX_TO_TID(scsiq->d2.target_ix); in AscIsrQDone()
10790 if (cur_target_qng < asc_dvc->max_dvc_qng[tid_no]) { in AscIsrQDone()
10801 if (asc_dvc->cur_dvc_qng[tid_no] != 0) { in AscIsrQDone()
10802 asc_dvc->cur_dvc_qng[tid_no]--; in AscIsrQDone()
11151 uchar tid_no; in AscExeScsiQueue() local
11174 tid_no = ASC_TIX_TO_TID(target_ix); in AscExeScsiQueue()
11179 sdtr_data = AscGetMCodeInitSDTRAtID(iop_base, tid_no); in AscExeScsiQueue()
11352 uchar tid_no; in AscSendScsiQueue() local
11358 tid_no = ASC_TIX_TO_TID(target_ix); in AscSendScsiQueue()
11372 asc_dvc->cur_dvc_qng[tid_no]++; in AscSendScsiQueue()
11384 asc_dvc->cur_dvc_qng[tid_no]++; in AscSendScsiQueue()
11416 uchar tid_no; in AscGetNumOfFreeQueue() local
11419 tid_no = ASC_TIX_TO_TID(target_ix); in AscGetNumOfFreeQueue()
11434 if (asc_dvc->cur_dvc_qng[tid_no] >= in AscGetNumOfFreeQueue()
11435 asc_dvc->max_dvc_qng[tid_no]) { in AscGetNumOfFreeQueue()
11456 uchar tid_no; in AscPutReadyQueue() local
11465 tid_no = ASC_TIX_TO_TID(scsiq->q2.target_ix); in AscPutReadyQueue()
11466 sdtr_data = AscGetMCodeInitSDTRAtID(iop_base, tid_no); in AscPutReadyQueue()
11629 uchar tid_no, in AscSetRunChipSynRegAtID() argument
11636 sta = AscSetChipSynRegAtID(iop_base, tid_no, sdtr_data); in AscSetRunChipSynRegAtID()
11839 uchar tid_no in AscSetChipSDTR() argument
11842 AscSetChipSynRegAtID(iop_base, tid_no, sdtr_data); in AscSetChipSDTR()
11843 AscPutMCodeSDTRDoneAtID(iop_base, tid_no, sdtr_data); in AscSetChipSDTR()
13164 uchar tid_no, in AscAsyncFix() argument
13171 tid_bits = ASC_TIX_TO_TARGET_ID(tid_no); in AscAsyncFix()
13194 AscSetRunChipSynRegAtID(asc_dvc->iop_base, tid_no, in AscAsyncFix()
13218 uchar tid_no, ASC_SCSI_INQUIRY *inq) in AscInquiryHandling() argument
13220 ASC_SCSI_BIT_ID_TYPE tid_bit = ASC_TIX_TO_TARGET_ID(tid_no); in AscInquiryHandling()
13250 asc_dvc->max_dvc_qng[tid_no] = in AscInquiryHandling()
13251 asc_dvc->cfg->max_tag_qng[tid_no]; in AscInquiryHandling()
13253 (ushort) (ASCV_MAX_DVC_QNG_BEG + tid_no), in AscInquiryHandling()
13254 asc_dvc->max_dvc_qng[tid_no]); in AscInquiryHandling()
13257 AscAsyncFix(asc_dvc, tid_no, inq); in AscInquiryHandling()