taglinefilesource code
asc_dvc1916drivers/scsi/advansys.cushort              AscInitMicroCodeVar(ASC_DVC_VAR asc_ptr_type * asc_dvc);
asc_dvc1948drivers/scsi/advansys.cint                 AscSendScsiQueue(ASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc2109drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc5351drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc5372drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc5383drivers/scsi/advansys.cif (asc_dvc->pci_fix_asyn_xfer & target_id) {
asc_dvc5409drivers/scsi/advansys.casc_dvc->init_sdtr &= ~target_id;
asc_dvc5410drivers/scsi/advansys.casc_dvc->sdtr_done &= ~target_id;
asc_dvc5415drivers/scsi/advansys.casc_dvc->init_sdtr &= ~target_id;
asc_dvc5416drivers/scsi/advansys.casc_dvc->sdtr_done &= ~target_id;
asc_dvc5422drivers/scsi/advansys.casc_dvc->sdtr_done |= target_id;
asc_dvc5423drivers/scsi/advansys.casc_dvc->init_sdtr |= target_id;
asc_dvc5424drivers/scsi/advansys.casc_dvc->pci_fix_asyn_xfer &= ~target_id;
asc_dvc5433drivers/scsi/advansys.casc_dvc->pci_fix_asyn_xfer &= ~target_id;
asc_dvc5435drivers/scsi/advansys.casc_dvc->sdtr_done |= target_id;
asc_dvc5436drivers/scsi/advansys.casc_dvc->init_sdtr |= target_id;
asc_dvc5450drivers/scsi/advansys.cif (((asc_dvc->init_sdtr & target_id) != 0) &&
asc_dvc5451drivers/scsi/advansys.c((asc_dvc->sdtr_done & target_id) != 0)) {
asc_dvc5496drivers/scsi/advansys.casc_dvc->init_sdtr &= ~target_id;
asc_dvc5497drivers/scsi/advansys.casc_dvc->sdtr_done &= ~target_id;
asc_dvc5517drivers/scsi/advansys.c(asc_dvc->cur_dvc_qng[tid_no] > 0)) {
asc_dvc5524drivers/scsi/advansys.casc_dvc->queue_full_or_busy |= target_id;
asc_dvc5529drivers/scsi/advansys.casc_dvc->max_dvc_qng[tid_no] = cur_dvc_qng;
asc_dvc5587drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc5616drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc5617drivers/scsi/advansys.casc_isr_callback = (ASC_ISR_CALLBACK) asc_dvc->isr_callback;
asc_dvc5630drivers/scsi/advansys.csg_queue_cnt = _AscCopyLramScsiDoneQ(iop_base, q_addr, scsiq, asc_dvc->max_dma_count);
asc_dvc5645drivers/scsi/advansys.cAscSetLibErrorCode(asc_dvc, ASCQ_ERR_SG_Q_LINKS);
asc_dvc5658drivers/scsi/advansys.cif (asc_dvc->queue_full_or_busy & target_id) {
asc_dvc5662drivers/scsi/advansys.cif (cur_target_qng < asc_dvc->max_dvc_qng[tid_no]) {
asc_dvc5668drivers/scsi/advansys.casc_dvc->queue_full_or_busy &= ~target_id;
asc_dvc5671drivers/scsi/advansys.cif (asc_dvc->cur_total_qng >= n_q_used) {
asc_dvc5672drivers/scsi/advansys.casc_dvc->cur_total_qng -= n_q_used;
asc_dvc5673drivers/scsi/advansys.cif (asc_dvc->cur_dvc_qng[tid_no] != 0) {
asc_dvc5674drivers/scsi/advansys.casc_dvc->cur_dvc_qng[tid_no]--;
asc_dvc5677drivers/scsi/advansys.cAscSetLibErrorCode(asc_dvc, ASCQ_ERR_CUR_QNG);
asc_dvc5690drivers/scsi/advansys.cif (asc_dvc->bug_fix_cntl) {
asc_dvc5691drivers/scsi/advansys.cif (asc_dvc->bug_fix_cntl & ASC_BUG_FIX_ADD_ONE_BYTE) {
asc_dvc5717drivers/scsi/advansys.casc_dvc->int_count);
asc_dvc5721drivers/scsi/advansys.c(*asc_isr_callback) (asc_dvc, scsiq);
asc_dvc5727drivers/scsi/advansys.casc_dvc->unit_not_ready &= ~target_id;
asc_dvc5729drivers/scsi/advansys.casc_dvc->start_motor &= ~target_id;
asc_dvc5735drivers/scsi/advansys.cn_busy_q_done = AscIsrExeBusyQueue(asc_dvc, tid_no);
asc_dvc5744drivers/scsi/advansys.cn_busy_q_done = AscIsrExeBusyQueue(asc_dvc, i);
asc_dvc5757drivers/scsi/advansys.cAscSetLibErrorCode(asc_dvc, ASCQ_ERR_Q_STATUS);
asc_dvc5761drivers/scsi/advansys.c(*asc_isr_callback) (asc_dvc, scsiq);
asc_dvc5771drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc5783drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc5786drivers/scsi/advansys.casc_dvc->int_count++;
asc_dvc5788drivers/scsi/advansys.cif (((asc_dvc->init_state & ASC_INIT_STATE_END_LOAD_MC) == 0) ||
asc_dvc5789drivers/scsi/advansys.c(asc_dvc->isr_callback == 0)) {
asc_dvc5793drivers/scsi/advansys.cif (asc_dvc->in_critical_cnt != 0) {
asc_dvc5794drivers/scsi/advansys.cAscSetLibErrorCode(asc_dvc, ASCQ_ERR_ISR_ON_CRITICAL);
asc_dvc5797drivers/scsi/advansys.cif (asc_dvc->is_in_int) {
asc_dvc5798drivers/scsi/advansys.cAscSetLibErrorCode(asc_dvc, ASCQ_ERR_ISR_RE_ENTRY);
asc_dvc5799drivers/scsi/advansys.casc_dvc->busy_count++;
asc_dvc5802drivers/scsi/advansys.casc_dvc->is_in_int = TRUE;
asc_dvc5818drivers/scsi/advansys.cif (AscIsrChipHalted(asc_dvc) == ERR) {
asc_dvc5827drivers/scsi/advansys.cif ((asc_dvc->dvc_cntl & ASC_CNTL_INT_MULTI_Q) != 0) {
asc_dvc5828drivers/scsi/advansys.cwhile (((status = AscIsrQDone(asc_dvc)) & 0x01) != 0) {
asc_dvc5833drivers/scsi/advansys.cif ((status = AscIsrQDone(asc_dvc)) == 1) {
asc_dvc5844drivers/scsi/advansys.cAscSetLibErrorCode(asc_dvc, ASCQ_ERR_SET_LRAM_ADDR);
asc_dvc5849drivers/scsi/advansys.casc_dvc->is_in_int = FALSE;
asc_dvc5855drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc5882drivers/scsi/advansys.cif ((phy_addr = AscGetOnePhyAddr(asc_dvc,
asc_dvc6043drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc6070drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc6071drivers/scsi/advansys.casc_exe_callback = (ASC_EXE_CALLBACK) asc_dvc->exe_callback;
asc_dvc6072drivers/scsi/advansys.cif (asc_dvc->err_code != 0)
asc_dvc6075drivers/scsi/advansys.cAscSetLibErrorCode(asc_dvc, ASCQ_ERR_SCSIQ_NULL_PTR);
asc_dvc6087drivers/scsi/advansys.cif (((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) &&
asc_dvc6088drivers/scsi/advansys.c((asc_dvc->sdtr_done & scsiq->q1.target_id) != 0)) {
asc_dvc6098drivers/scsi/advansys.cif (asc_dvc->in_critical_cnt != 0) {
asc_dvc6100drivers/scsi/advansys.cAscSetLibErrorCode(asc_dvc, ASCQ_ERR_CRITICAL_RE_ENTRY);
asc_dvc6103drivers/scsi/advansys.casc_dvc->in_critical_cnt++;
asc_dvc6108drivers/scsi/advansys.casc_dvc->in_critical_cnt--;
asc_dvc6125drivers/scsi/advansys.cif (asc_dvc->bus_type & (ASC_IS_ISA | ASC_IS_VL | ASC_IS_EISA)) {
asc_dvc6132drivers/scsi/advansys.casc_dvc->in_critical_cnt--;
asc_dvc6134drivers/scsi/advansys.cAscSetLibErrorCode(asc_dvc, ASCQ_ERR_SG_LIST_ODD_ADDRESS);
asc_dvc6141drivers/scsi/advansys.cif (asc_dvc->bug_fix_cntl) {
asc_dvc6142drivers/scsi/advansys.cif (asc_dvc->bug_fix_cntl & ASC_BUG_FIX_ADD_ONE_BYTE) {
asc_dvc6162drivers/scsi/advansys.cscsiq_next = (ASC_SCSI_Q dosfar *) asc_dvc->scsiq_busy_head[tid_no];
asc_dvc6168drivers/scsi/advansys.cif ((AscGetNumOfFreeQueue(asc_dvc, target_ix, n_q_required)
asc_dvc6171drivers/scsi/advansys.cif ((sta = AscSendScsiQueue(asc_dvc, scsiq,
asc_dvc6174drivers/scsi/advansys.casc_dvc->in_critical_cnt--;
asc_dvc6176drivers/scsi/advansys.c(*asc_exe_callback) (asc_dvc, scsiq);
asc_dvc6186drivers/scsi/advansys.cif (asc_dvc->bug_fix_cntl) {
asc_dvc6187drivers/scsi/advansys.cif (asc_dvc->bug_fix_cntl & ASC_BUG_FIX_ADD_ONE_BYTE) {
asc_dvc6208drivers/scsi/advansys.cscsiq_next = (ASC_SCSI_Q dosfar *) asc_dvc->scsiq_busy_head[tid_no];
asc_dvc6213drivers/scsi/advansys.cif ((AscGetNumOfFreeQueue(asc_dvc, target_ix, 1) >= 1) ||
asc_dvc6215drivers/scsi/advansys.cif ((sta = AscSendScsiQueue(asc_dvc, scsiq,
asc_dvc6218drivers/scsi/advansys.casc_dvc->in_critical_cnt--;
asc_dvc6220drivers/scsi/advansys.c(*asc_exe_callback) (asc_dvc, scsiq);
asc_dvc6234drivers/scsi/advansys.casc_dvc->scsiq_busy_head[tid_no] = (ASC_SCSI_Q dosfar *) scsiq;
asc_dvc6235drivers/scsi/advansys.casc_dvc->scsiq_busy_tail[tid_no] = (ASC_SCSI_Q dosfar *) scsiq;
asc_dvc6241drivers/scsi/advansys.cscsiq_tail = (ASC_SCSI_Q dosfar *) asc_dvc->scsiq_busy_tail[tid_no];
asc_dvc6245drivers/scsi/advansys.casc_dvc->scsiq_busy_head[tid_no] = (ASC_SCSI_Q dosfar *) scsiq;
asc_dvc6260drivers/scsi/advansys.casc_dvc->scsiq_busy_tail[tid_no] = (ASC_SCSI_Q dosfar *) scsiq;
asc_dvc6266drivers/scsi/advansys.casc_dvc->scsiq_busy_tail[tid_no] = (ASC_SCSI_Q dosfar *) scsiq;
asc_dvc6275drivers/scsi/advansys.cAscSetLibErrorCode(asc_dvc, ASCQ_ERR_SCSIQ_BAD_NEXT_PTR);
asc_dvc6281drivers/scsi/advansys.casc_dvc->in_critical_cnt--;
asc_dvc6288drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc6300drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc6309drivers/scsi/advansys.casc_dvc->last_q_shortage = 0;
asc_dvc6313drivers/scsi/advansys.cif ((sta = AscPutReadySgListQueue(asc_dvc, scsiq,
asc_dvc6317drivers/scsi/advansys.casc_dvc->req_count++;
asc_dvc6321drivers/scsi/advansys.casc_dvc->cur_total_qng += (uchar) (n_q_required);
asc_dvc6322drivers/scsi/advansys.casc_dvc->cur_dvc_qng[tid_no]++;
asc_dvc6332drivers/scsi/advansys.cif ((sta = AscPutReadyQueue(asc_dvc, scsiq,
asc_dvc6336drivers/scsi/advansys.casc_dvc->req_count++;
asc_dvc6340drivers/scsi/advansys.casc_dvc->cur_total_qng++;
asc_dvc6341drivers/scsi/advansys.casc_dvc->cur_dvc_qng[tid_no]++;
asc_dvc6364drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc6375drivers/scsi/advansys.cif ((asc_dvc->unit_not_ready & target_id) ||
asc_dvc6376drivers/scsi/advansys.c(asc_dvc->queue_full_or_busy & target_id)) {
asc_dvc6380drivers/scsi/advansys.ccur_used_qs = (uint) asc_dvc->cur_total_qng +
asc_dvc6381drivers/scsi/advansys.c(uint) asc_dvc->last_q_shortage +
asc_dvc6384drivers/scsi/advansys.ccur_used_qs = (uint) asc_dvc->cur_total_qng +
asc_dvc6388drivers/scsi/advansys.cif ((uint) (cur_used_qs + n_qs) <= (uint) asc_dvc->max_total_qng) {
asc_dvc6389drivers/scsi/advansys.ccur_free_qs = (uint) asc_dvc->max_total_qng - cur_used_qs;
asc_dvc6390drivers/scsi/advansys.cif (asc_dvc->cur_dvc_qng[tid_no] >=
asc_dvc6391drivers/scsi/advansys.casc_dvc->max_dvc_qng[tid_no]) {
asc_dvc6397drivers/scsi/advansys.cif (n_qs > asc_dvc->last_q_shortage) {
asc_dvc6398drivers/scsi/advansys.casc_dvc->last_q_shortage = n_qs;
asc_dvc6406drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc6418drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc6420drivers/scsi/advansys.cif (((asc_dvc->init_sdtr & scsiq->q1.target_id) != 0) &&
asc_dvc6421drivers/scsi/advansys.c((asc_dvc->sdtr_done & scsiq->q1.target_id) == 0)) {
asc_dvc6437drivers/scsi/advansys.cif ((scsiq->q1.target_id & asc_dvc->use_tagged_qng) == 0) {
asc_dvc6459drivers/scsi/advansys.c(ushort) asc_dvc->req_count);
asc_dvc6464drivers/scsi/advansys.cif ((asc_dvc->dvc_cntl & ASC_CNTL_NO_VERIFY_COPY) == 0) {
asc_dvc6470drivers/scsi/advansys.cAscSetLibErrorCode(asc_dvc, ASCQ_ERR_LOCAL_MEM);
asc_dvc6478drivers/scsi/advansys.cAscSetLibErrorCode(asc_dvc, ASCQ_ERR_LOCAL_MEM);
asc_dvc6501drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc6518drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc6580drivers/scsi/advansys.csta = AscPutReadyQueue(asc_dvc, scsiq, q_no);
asc_dvc6589drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc6597drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc6599drivers/scsi/advansys.csaved_unit_not_ready = asc_dvc->unit_not_ready;
asc_dvc6600drivers/scsi/advansys.casc_dvc->unit_not_ready = 0xFF;
asc_dvc6601drivers/scsi/advansys.cAscWaitISRDone(asc_dvc);
asc_dvc6603drivers/scsi/advansys.cif (AscRiscHaltedAbortSRB(asc_dvc, srb_ptr) == 1) {
asc_dvc6613drivers/scsi/advansys.casc_dvc->unit_not_ready = saved_unit_not_ready;
asc_dvc6619drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc6633drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc6636drivers/scsi/advansys.csaved_unit_not_ready = asc_dvc->unit_not_ready;
asc_dvc6637drivers/scsi/advansys.casc_dvc->unit_not_ready = target_id;
asc_dvc6639drivers/scsi/advansys.cAscWaitTixISRDone(asc_dvc, target_ix);
asc_dvc6641drivers/scsi/advansys.cif (AscRiscHaltedAbortTIX(asc_dvc, target_ix) == 1) {
asc_dvc6646drivers/scsi/advansys.cAscWaitTixISRDone(asc_dvc, target_ix);
asc_dvc6664drivers/scsi/advansys.cAscWriteLramByte(asc_dvc->iop_base, ASCV_MSGOUT_BEG,
asc_dvc6667drivers/scsi/advansys.casc_dvc->unit_not_ready &= ~target_id;
asc_dvc6669drivers/scsi/advansys.casc_dvc->sdtr_done |= target_id;
asc_dvc6671drivers/scsi/advansys.cif (AscExeScsiQueue(asc_dvc, (ASC_SCSI_Q dosfar *) scsiq)
asc_dvc6673drivers/scsi/advansys.casc_dvc->unit_not_ready = target_id;
asc_dvc6680drivers/scsi/advansys.cif (asc_dvc->pci_fix_asyn_xfer & target_id) {
asc_dvc6685drivers/scsi/advansys.cAscWaitTixISRDone(asc_dvc, target_ix);
asc_dvc6692drivers/scsi/advansys.casc_dvc->sdtr_done &= ~target_id;
asc_dvc6698drivers/scsi/advansys.casc_dvc->unit_not_ready = saved_unit_not_ready;
asc_dvc6704drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc6711drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc6712drivers/scsi/advansys.casc_dvc->unit_not_ready = 0xFF;
asc_dvc6714drivers/scsi/advansys.cAscWaitISRDone(asc_dvc);
asc_dvc6717drivers/scsi/advansys.casc_dvc->sdtr_done = 0;
asc_dvc6720drivers/scsi/advansys.cDvcSleepMilliSecond((ulong) ((ushort) asc_dvc->scsi_reset_wait * 1000));
asc_dvc6723drivers/scsi/advansys.cif (!(asc_dvc->dvc_cntl & ASC_CNTL_NO_SCAM)) {
asc_dvc6724drivers/scsi/advansys.cAscSCAM(asc_dvc);
asc_dvc6727drivers/scsi/advansys.cAscReInitLram(asc_dvc);
asc_dvc6730drivers/scsi/advansys.casc_dvc->cur_dvc_qng[i] = 0;
asc_dvc6731drivers/scsi/advansys.cif (asc_dvc->pci_fix_asyn_xfer & (0x01 << i)) {
asc_dvc6737drivers/scsi/advansys.casc_dvc->err_code = 0;
asc_dvc6747drivers/scsi/advansys.casc_dvc->unit_not_ready = 0;
asc_dvc6748drivers/scsi/advansys.casc_dvc->queue_full_or_busy = 0;
asc_dvc6792drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc6795drivers/scsi/advansys.cAscInitLram(asc_dvc);
asc_dvc6796drivers/scsi/advansys.cAscInitQLinkVar(asc_dvc);
asc_dvc6802drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc)
asc_dvc6809drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc6813drivers/scsi/advansys.c(ushort) (((int) (asc_dvc->max_total_qng + 2 + 1) * 64) >> 1)
asc_dvc6822drivers/scsi/advansys.c(uchar) (asc_dvc->max_total_qng));
asc_dvc6827drivers/scsi/advansys.cfor (; i < asc_dvc->max_total_qng; i++, s_addr += ASC_QBLK_SIZE) {
asc_dvc6839drivers/scsi/advansys.c(uchar) (asc_dvc->max_total_qng - 1));
asc_dvc6841drivers/scsi/advansys.c(uchar) asc_dvc->max_total_qng);
asc_dvc6845drivers/scsi/advansys.cfor (; i <= (uchar) (asc_dvc->max_total_qng + 3);
asc_dvc6861drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc6868drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc6870drivers/scsi/advansys.cAscPutRiscVarDoneQTail(iop_base, asc_dvc->max_total_qng);
asc_dvc6873drivers/scsi/advansys.cAscPutVarDoneQTail(iop_base, asc_dvc->max_total_qng);
asc_dvc6876drivers/scsi/advansys.c(uchar) ((int) asc_dvc->max_total_qng + 1));
asc_dvc6878drivers/scsi/advansys.c(uchar) ((int) asc_dvc->max_total_qng + 2));
asc_dvc6881drivers/scsi/advansys.casc_dvc->max_total_qng);
asc_dvc6901drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc6905drivers/scsi/advansys.cif (asc_dvc->err_code == 0) {
asc_dvc6907drivers/scsi/advansys.casc_dvc->err_code = err_code;
asc_dvc6908drivers/scsi/advansys.cAscWriteLramWord(asc_dvc->iop_base, ASCV_ASCDVC_ERR_CODE_W,
asc_dvc7090drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc7102drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc7103drivers/scsi/advansys.casc_isr_callback = (ASC_ISR_CALLBACK) asc_dvc->isr_callback;
asc_dvc7108drivers/scsi/advansys.c_AscAbortSrbBusyQueue(asc_dvc, scsiq, srb_ptr);
asc_dvc7111drivers/scsi/advansys.cfor (q_no = ASC_MIN_ACTIVE_QNO; q_no <= asc_dvc->max_total_qng;
asc_dvc7117drivers/scsi/advansys.c_AscCopyLramScsiDoneQ(iop_base, q_addr, scsiq, asc_dvc->max_dma_count);
asc_dvc7130drivers/scsi/advansys.c(*asc_isr_callback) (asc_dvc, scsiq);
asc_dvc7141drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc7158drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc7159drivers/scsi/advansys.casc_isr_callback = (ASC_ISR_CALLBACK) asc_dvc->isr_callback;
asc_dvc7166drivers/scsi/advansys.c_AscAbortTidBusyQueue(asc_dvc, scsiq, tid_no);
asc_dvc7170drivers/scsi/advansys.cfor (q_no = ASC_MIN_ACTIVE_QNO; q_no <= asc_dvc->max_total_qng;
asc_dvc7173drivers/scsi/advansys.c_AscCopyLramScsiDoneQ(iop_base, q_addr, scsiq, asc_dvc->max_dma_count);
asc_dvc7188drivers/scsi/advansys.c(*asc_isr_callback) (asc_dvc, scsiq);
asc_dvc7307drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc7316drivers/scsi/advansys.cif ((cur_req = asc_dvc->cur_dvc_qng[tid_no]) == 0) {
asc_dvc7320drivers/scsi/advansys.cif (asc_dvc->cur_dvc_qng[tid_no] == cur_req) {
asc_dvc7329drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc7335drivers/scsi/advansys.cAscWaitTixISRDone(asc_dvc, ASC_TID_TO_TIX(tid));
asc_dvc7342drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc7350drivers/scsi/advansys.cif (DvcGetSGList(asc_dvc, (uchar dosfar *) buf_addr,
asc_dvc7649drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc7655drivers/scsi/advansys.casc_dvc->init_state = ASC_INIT_STATE_BEG_GET_CFG;
asc_dvc7656drivers/scsi/advansys.cif (asc_dvc->err_code != 0)
asc_dvc7658drivers/scsi/advansys.cif (AscFindSignature(asc_dvc->iop_base)) {
asc_dvc7659drivers/scsi/advansys.cwarn_code |= AscInitAscDvcVar(asc_dvc);
asc_dvc7660drivers/scsi/advansys.cwarn_code |= AscInitFromEEP(asc_dvc);
asc_dvc7661drivers/scsi/advansys.casc_dvc->init_state |= ASC_INIT_STATE_END_GET_CFG;
asc_dvc7663drivers/scsi/advansys.cif (asc_dvc->scsi_reset_wait > 10)
asc_dvc7664drivers/scsi/advansys.casc_dvc->scsi_reset_wait = 10;
asc_dvc7667drivers/scsi/advansys.casc_dvc->err_code = ASC_IERR_BAD_SIGNATURE;
asc_dvc7674drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc7680drivers/scsi/advansys.casc_dvc->init_state |= ASC_INIT_STATE_BEG_SET_CFG;
asc_dvc7681drivers/scsi/advansys.cif (asc_dvc->err_code != 0)
asc_dvc7683drivers/scsi/advansys.cif (AscFindSignature(asc_dvc->iop_base)) {
asc_dvc7684drivers/scsi/advansys.cwarn_code |= AscInitFromAscDvcVar(asc_dvc);
asc_dvc7685drivers/scsi/advansys.casc_dvc->init_state |= ASC_INIT_STATE_END_SET_CFG;
asc_dvc7687drivers/scsi/advansys.casc_dvc->err_code = ASC_IERR_BAD_SIGNATURE;
asc_dvc7694drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc7705drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc7708drivers/scsi/advansys.cif ((asc_dvc->dvc_cntl & ASC_CNTL_RESET_SCSI) &&
asc_dvc7709drivers/scsi/advansys.c!(asc_dvc->init_state & ASC_INIT_RESET_SCSI_DONE)) {
asc_dvc7713drivers/scsi/advansys.cDvcSleepMilliSecond((ulong) ((ushort) asc_dvc->scsi_reset_wait * 1000));
asc_dvc7715drivers/scsi/advansys.casc_dvc->init_state |= ASC_INIT_STATE_BEG_LOAD_MC;
asc_dvc7716drivers/scsi/advansys.cif (asc_dvc->err_code != 0)
asc_dvc7719drivers/scsi/advansys.cif (!AscFindSignature(asc_dvc->iop_base)) {
asc_dvc7720drivers/scsi/advansys.casc_dvc->err_code = ASC_IERR_BAD_SIGNATURE;
asc_dvc7727drivers/scsi/advansys.cwarn_code |= AscInitLram(asc_dvc);
asc_dvc7728drivers/scsi/advansys.cif (asc_dvc->err_code != 0)
asc_dvc7733drivers/scsi/advansys.casc_dvc->err_code |= ASC_IERR_MCODE_CHKSUM;
asc_dvc7737drivers/scsi/advansys.cwarn_code |= AscInitMicroCodeVar(asc_dvc);
asc_dvc7738drivers/scsi/advansys.casc_dvc->init_state |= ASC_INIT_STATE_END_LOAD_MC;
asc_dvc7746drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc7753drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc7755drivers/scsi/advansys.casc_dvc->err_code = 0;
asc_dvc7757drivers/scsi/advansys.cif ((asc_dvc->bus_type &
asc_dvc7759drivers/scsi/advansys.casc_dvc->err_code |= ASC_IERR_NO_BUS_TYPE;
asc_dvc7763drivers/scsi/advansys.casc_dvc->scsiq_busy_head[i] = (ASC_SCSI_Q dosfar *) 0L;
asc_dvc7764drivers/scsi/advansys.casc_dvc->scsiq_busy_tail[i] = (ASC_SCSI_Q dosfar *) 0L;
asc_dvc7768drivers/scsi/advansys.casc_dvc->dvc_cntl = ASC_DEF_DVC_CNTL;
asc_dvc7769drivers/scsi/advansys.casc_dvc->bug_fix_cntl = 0;
asc_dvc7770drivers/scsi/advansys.casc_dvc->pci_fix_asyn_xfer = 0;
asc_dvc7771drivers/scsi/advansys.casc_dvc->init_sdtr = 0;
asc_dvc7772drivers/scsi/advansys.casc_dvc->sdtr_done = 0;
asc_dvc7773drivers/scsi/advansys.casc_dvc->max_total_qng = ASC_DEF_MAX_TOTAL_QNG;
asc_dvc7774drivers/scsi/advansys.casc_dvc->cur_total_qng = 0;
asc_dvc7775drivers/scsi/advansys.casc_dvc->is_in_int = 0;
asc_dvc7776drivers/scsi/advansys.casc_dvc->scsi_reset_wait = 3;
asc_dvc7777drivers/scsi/advansys.casc_dvc->in_critical_cnt = 0;
asc_dvc7779drivers/scsi/advansys.casc_dvc->last_q_shortage = 0;
asc_dvc7780drivers/scsi/advansys.casc_dvc->use_tagged_qng = 0;
asc_dvc7781drivers/scsi/advansys.casc_dvc->cfg->can_tagged_qng = 0;
asc_dvc7782drivers/scsi/advansys.casc_dvc->no_scam = 0;
asc_dvc7783drivers/scsi/advansys.casc_dvc->irq_no = 10;
asc_dvc7784drivers/scsi/advansys.casc_dvc->start_motor = ASC_SCSI_WIDTH_BIT_SET;
asc_dvc7785drivers/scsi/advansys.casc_dvc->cfg->disc_enable = ASC_SCSI_WIDTH_BIT_SET;
asc_dvc7786drivers/scsi/advansys.casc_dvc->cfg->cmd_qng_enabled = ASC_SCSI_WIDTH_BIT_SET;
asc_dvc7787drivers/scsi/advansys.casc_dvc->cfg->chip_scsi_id = ASC_DEF_CHIP_SCSI_ID;
asc_dvc7788drivers/scsi/advansys.casc_dvc->cfg->chip_version = AscGetChipVersion(iop_base,
asc_dvc7789drivers/scsi/advansys.casc_dvc->bus_type);
asc_dvc7793drivers/scsi/advansys.casc_dvc->bus_type = ASC_IS_ISAPNP;
asc_dvc7795drivers/scsi/advansys.casc_dvc->unit_not_ready = 0;
asc_dvc7796drivers/scsi/advansys.casc_dvc->queue_full_or_busy = 0;
asc_dvc7798drivers/scsi/advansys.cif ((asc_dvc->bus_type & ASC_IS_ISA) != 0) {
asc_dvc7799drivers/scsi/advansys.casc_dvc->cfg->isa_dma_channel = (uchar) AscGetIsaDmaChannel(iop_base);
asc_dvc7800drivers/scsi/advansys.casc_dvc->cfg->isa_dma_speed = ASC_DEF_ISA_DMA_SPEED;
asc_dvc7802drivers/scsi/advansys.casc_dvc->cfg->lib_serial_no = ASC_LIB_SERIAL_NUMBER;
asc_dvc7803drivers/scsi/advansys.casc_dvc->cfg->lib_version = (ASC_LIB_VERSION_MAJOR << 8) |
asc_dvc7805drivers/scsi/advansys.casc_dvc->int_count = 0L;
asc_dvc7806drivers/scsi/advansys.casc_dvc->req_count = 0L;
asc_dvc7807drivers/scsi/advansys.casc_dvc->busy_count = 0L;
asc_dvc7808drivers/scsi/advansys.casc_dvc->max_dma_count = AscGetMaxDmaCount(asc_dvc->bus_type);
asc_dvc7811drivers/scsi/advansys.casc_dvc->cfg->sdtr_data[i] =
asc_dvc7813drivers/scsi/advansys.casc_dvc->cur_dvc_qng[i] = 0;
asc_dvc7814drivers/scsi/advansys.casc_dvc->max_dvc_qng[i] = ASC_MAX_SCSI1_QNG;
asc_dvc7815drivers/scsi/advansys.casc_dvc->scsiq_busy_head[i] = (ASC_SCSI_Q dosfar *) 0L;
asc_dvc7816drivers/scsi/advansys.casc_dvc->scsiq_busy_tail[i] = (ASC_SCSI_Q dosfar *) 0L;
asc_dvc7823drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc7830drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc7844drivers/scsi/advansys.cif ((asc_dvc->cfg->cmd_qng_enabled & asc_dvc->cfg->disc_enable) !=
asc_dvc7845drivers/scsi/advansys.casc_dvc->cfg->cmd_qng_enabled) {
asc_dvc7846drivers/scsi/advansys.casc_dvc->cfg->disc_enable = asc_dvc->cfg->cmd_qng_enabled;
asc_dvc7849drivers/scsi/advansys.cif ((asc_dvc->bus_type & (ASC_IS_ISA | ASC_IS_VL)) != 0) {
asc_dvc7851drivers/scsi/advansys.cif (AscSetChipIRQ(iop_base, asc_dvc->irq_no, asc_dvc->bus_type)
asc_dvc7852drivers/scsi/advansys.c!= asc_dvc->irq_no) {
asc_dvc7853drivers/scsi/advansys.casc_dvc->err_code |= ASC_IERR_SET_IRQ_NO;
asc_dvc7856drivers/scsi/advansys.cif (AscSetChipScsiID(iop_base, asc_dvc->cfg->chip_scsi_id) !=
asc_dvc7857drivers/scsi/advansys.casc_dvc->cfg->chip_scsi_id) {
asc_dvc7858drivers/scsi/advansys.casc_dvc->err_code |= ASC_IERR_SET_SCSI_ID;
asc_dvc7860drivers/scsi/advansys.cif ((asc_dvc->bus_type & ASC_IS_ISA) != 0) {
asc_dvc7861drivers/scsi/advansys.cAscSetIsaDmaChannel(iop_base, asc_dvc->cfg->isa_dma_channel);
asc_dvc7862drivers/scsi/advansys.cAscSetIsaDmaSpeed(iop_base, asc_dvc->cfg->isa_dma_speed);
asc_dvc7869drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc7880drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc7888drivers/scsi/advansys.casc_dvc->init_state |= ASC_INIT_RESET_SCSI_DONE;
asc_dvc7890drivers/scsi/advansys.cDvcSleepMilliSecond((ulong) ((ushort) asc_dvc->scsi_reset_wait * 1000));
asc_dvc7893drivers/scsi/advansys.casc_dvc->err_code |= ASC_IERR_START_STOP_CHIP;
asc_dvc7898drivers/scsi/advansys.casc_dvc->err_code |= ASC_IERR_SET_PC_ADDR;
asc_dvc7906drivers/scsi/advansys.cif (asc_dvc->bus_type & ASC_IS_PCI) {
asc_dvc7911drivers/scsi/advansys.cif (asc_dvc->cfg->pci_device_id == ASC_PCI_DEVICE_ID_REV_A) {
asc_dvc7912drivers/scsi/advansys.casc_dvc->bug_fix_cntl |= ASC_BUG_FIX_ADD_ONE_BYTE;
asc_dvc7920drivers/scsi/advansys.cchksum = AscGetEEPConfig(iop_base, eep_config, asc_dvc->bus_type);
asc_dvc7927drivers/scsi/advansys.cif (asc_dvc->cfg->chip_version == 3) {
asc_dvc7943drivers/scsi/advansys.casc_dvc->init_sdtr = eep_config->init_sdtr;
asc_dvc7944drivers/scsi/advansys.casc_dvc->cfg->disc_enable = eep_config->disc_enable;
asc_dvc7946drivers/scsi/advansys.casc_dvc->cfg->cmd_qng_enabled = eep_config->use_cmd_qng;
asc_dvc7947drivers/scsi/advansys.casc_dvc->cfg->isa_dma_speed = eep_config->isa_dma_speed;
asc_dvc7948drivers/scsi/advansys.casc_dvc->start_motor = eep_config->start_motor;
asc_dvc7949drivers/scsi/advansys.casc_dvc->dvc_cntl = eep_config->cntl;
asc_dvc7950drivers/scsi/advansys.casc_dvc->no_scam = eep_config->no_scam;
asc_dvc7952drivers/scsi/advansys.cif ((asc_dvc->bus_type & ASC_IS_PCI) &&
asc_dvc7953drivers/scsi/advansys.c!(asc_dvc->dvc_cntl & ASC_CNTL_NO_PCI_FIX_ASYN_XFER)) {
asc_dvc7954drivers/scsi/advansys.cif ((asc_dvc->cfg->pci_device_id == ASC_PCI_DEVICE_ID_REV_A) ||
asc_dvc7955drivers/scsi/advansys.c(asc_dvc->cfg->pci_device_id == ASC_PCI_DEVICE_ID_REV_B)) {
asc_dvc7956drivers/scsi/advansys.casc_dvc->pci_fix_asyn_xfer = ASC_ALL_DEVICE_BIT_SET;
asc_dvc7958drivers/scsi/advansys.c} else if ((asc_dvc->bus_type & ASC_IS_ISAPNP) == ASC_IS_ISAPNP) {
asc_dvc7960drivers/scsi/advansys.cif (AscGetChipVersion(iop_base, asc_dvc->bus_type)
asc_dvc7962drivers/scsi/advansys.casc_dvc->pci_fix_asyn_xfer = ASC_ALL_DEVICE_BIT_SET;
asc_dvc7965drivers/scsi/advansys.cif (!AscTestExternalLram(asc_dvc)) {
asc_dvc7966drivers/scsi/advansys.cif (asc_dvc->bus_type & ASC_IS_PCI) {
asc_dvc7975drivers/scsi/advansys.casc_dvc->err_code |= AscTestLramEndian(iop_base);
asc_dvc7990drivers/scsi/advansys.casc_dvc->max_total_qng = eep_config->max_total_qng;
asc_dvc7997drivers/scsi/advansys.casc_dvc->irq_no = AscGetChipIRQ(iop_base, asc_dvc->bus_type);
asc_dvc7999drivers/scsi/advansys.casc_dvc->cfg->chip_scsi_id = eep_config->chip_scsi_id;
asc_dvc8002drivers/scsi/advansys.casc_dvc->cfg->sdtr_data[i] = eep_config->sdtr_data[i];
asc_dvc8003drivers/scsi/advansys.casc_dvc->cfg->max_tag_qng[i] = eep_config->max_tag_qng;
asc_dvc8007drivers/scsi/advansys.cif (AscSetEEPConfig(iop_base, eep_config, asc_dvc->bus_type) != 0) {
asc_dvc8008drivers/scsi/advansys.casc_dvc->err_code |= ASC_IERR_WRITE_EEPROM;
asc_dvc8015drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc8023drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc8027drivers/scsi/advansys.casc_dvc->cfg->sdtr_data[i]);
asc_dvc8030drivers/scsi/advansys.cAscInitQLinkVar(asc_dvc);
asc_dvc8033drivers/scsi/advansys.casc_dvc->cfg->disc_enable);
asc_dvc8035drivers/scsi/advansys.cASC_TID_TO_TARGET_ID(asc_dvc->cfg->chip_scsi_id));
asc_dvc8036drivers/scsi/advansys.cif ((phy_addr = AscGetOnePhyAddr(asc_dvc,
asc_dvc8037drivers/scsi/advansys.c(uchar dosfar *) asc_dvc->cfg->overrun_buf,
asc_dvc8039drivers/scsi/advansys.casc_dvc->err_code |= ASC_IERR_GET_PHY_ADDR;
asc_dvc8048drivers/scsi/advansys.casc_dvc->cfg->mcode_date = AscReadLramWord(iop_base,
asc_dvc8050drivers/scsi/advansys.casc_dvc->cfg->mcode_version = AscReadLramWord(iop_base,
asc_dvc8054drivers/scsi/advansys.casc_dvc->err_code |= ASC_IERR_SET_PC_ADDR;
asc_dvc8058drivers/scsi/advansys.casc_dvc->err_code |= ASC_IERR_START_STOP_CHIP;
asc_dvc8066drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc8095drivers/scsi/advansys.c(unsigned) asc_dvc->isr_callback);
asc_dvc8096drivers/scsi/advansys.cif (asc_dvc->isr_callback != 0) {
asc_dvc8097drivers/scsi/advansys.casc_isr_callback = (ASC_ISR_CALLBACK) asc_dvc->isr_callback;
asc_dvc8098drivers/scsi/advansys.c(*asc_isr_callback) (asc_dvc, scsi_done_q);
asc_dvc8106drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc8114drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc8362drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc8367drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc8375drivers/scsi/advansys.casc_dvc->init_state |= ASC_INIT_STATE_BEG_INQUIRY;
asc_dvc8378drivers/scsi/advansys.casc_dvc->use_tagged_qng = 0;
asc_dvc8379drivers/scsi/advansys.casc_dvc->cfg->can_tagged_qng = 0;
asc_dvc8380drivers/scsi/advansys.casc_dvc->saved_ptr2func = (ulong) asc_dvc->isr_callback;
asc_dvc8381drivers/scsi/advansys.casc_dvc->isr_callback = ASC_GET_PTR2FUNC(AscInitPollIsrCallBack);
asc_dvc8387drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc
asc_dvc8393drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc8394drivers/scsi/advansys.casc_dvc->isr_callback = (Ptr2Func) asc_dvc->saved_ptr2func;
asc_dvc8396drivers/scsi/advansys.casc_dvc->cfg->disc_enable);
asc_dvc8398drivers/scsi/advansys.casc_dvc->use_tagged_qng);
asc_dvc8400drivers/scsi/advansys.casc_dvc->cfg->can_tagged_qng);
asc_dvc8405drivers/scsi/advansys.casc_dvc->max_dvc_qng[i]);
asc_dvc8413drivers/scsi/advansys.casc_dvc->init_state |= ASC_INIT_STATE_END_INQUIRY;
asc_dvc8422drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc8441drivers/scsi/advansys.cif ((phy_addr = AscGetOnePhyAddr(asc_dvc,
asc_dvc8447drivers/scsi/advansys.cif (((asc_dvc->init_sdtr & tid_bits) != 0) &&
asc_dvc8448drivers/scsi/advansys.c((asc_dvc->sdtr_done & tid_bits) == 0)) {
asc_dvc8450drivers/scsi/advansys.casc_dvc->init_sdtr &= ~tid_bits;
asc_dvc8454drivers/scsi/advansys.cif (PollScsiInquiry(asc_dvc, scsiq, (uchar dosfar *) inq,
asc_dvc8464drivers/scsi/advansys.casc_dvc->start_motor &= ~tid_bits;
asc_dvc8502drivers/scsi/advansys.casc_dvc->cfg->can_tagged_qng |= tid_bits;
asc_dvc8503drivers/scsi/advansys.cif (asc_dvc->cfg->cmd_qng_enabled & tid_bits) {
asc_dvc8504drivers/scsi/advansys.casc_dvc->use_tagged_qng |= tid_bits;
asc_dvc8505drivers/scsi/advansys.casc_dvc->max_dvc_qng[tid_no] =
asc_dvc8506drivers/scsi/advansys.casc_dvc->cfg->max_tag_qng[tid_no];
asc_dvc8514drivers/scsi/advansys.casc_dvc->init_sdtr &= ~tid_bits;
asc_dvc8515drivers/scsi/advansys.casc_dvc->sdtr_done &= ~tid_bits;
asc_dvc8518drivers/scsi/advansys.casc_dvc->init_sdtr |= tid_bits;
asc_dvc8522drivers/scsi/advansys.casc_dvc->init_sdtr &= ~tid_bits;
asc_dvc8523drivers/scsi/advansys.casc_dvc->sdtr_done &= ~tid_bits;
asc_dvc8524drivers/scsi/advansys.casc_dvc->use_tagged_qng &= ~tid_bits;
asc_dvc8527drivers/scsi/advansys.cif (asc_dvc->pci_fix_asyn_xfer & tid_bits) {
asc_dvc8528drivers/scsi/advansys.cif (!(asc_dvc->init_sdtr & tid_bits)) {
asc_dvc8530drivers/scsi/advansys.cAscSetRunChipSynRegAtID(asc_dvc->iop_base, tid_no,
asc_dvc8535drivers/scsi/advansys.cif (InitTestUnitReady(asc_dvc, scsiq) != 1) {
asc_dvc8540drivers/scsi/advansys.cif (PollScsiReadCapacity(asc_dvc, scsiq,
asc_dvc8550drivers/scsi/advansys.casc_dvc->start_motor &= ~tid_bits;
asc_dvc8560drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc8571drivers/scsi/advansys.cif ((status = AscExeScsiQueue(asc_dvc,
asc_dvc8574drivers/scsi/advansys.cif ((status = AscPollQDone(asc_dvc, scsiq,
asc_dvc8595drivers/scsi/advansys.cAscAbortSRB(asc_dvc, (ulong) scsiq);
asc_dvc8607drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc8613drivers/scsi/advansys.cif (AscScsiInquiry(asc_dvc, scsiq, buf, buf_len) == ERR) {
asc_dvc8616drivers/scsi/advansys.creturn (PollQueueDone(asc_dvc, (ASC_SCSI_REQ_Q dosfar *) scsiq, 4));
asc_dvc8621drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc8629drivers/scsi/advansys.cif (AscScsiReadCapacity(asc_dvc, scsiq,
asc_dvc8633drivers/scsi/advansys.cstatus = PollQueueDone(asc_dvc, (ASC_SCSI_REQ_Q dosfar *) scsiq, 8);
asc_dvc8667drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc8671drivers/scsi/advansys.cif (AscScsiTestUnitReady(asc_dvc, scsiq) == ERR) {
asc_dvc8674drivers/scsi/advansys.creturn (PollQueueDone(asc_dvc, (ASC_SCSI_REQ_Q dosfar *) scsiq, 12));
asc_dvc8679drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc8683drivers/scsi/advansys.cif (AscScsiStartStopUnit(asc_dvc, scsiq, 1) == ERR) {
asc_dvc8686drivers/scsi/advansys.creturn (PollQueueDone(asc_dvc, (ASC_SCSI_REQ_Q dosfar *) scsiq, 40));
asc_dvc8691drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc8703drivers/scsi/advansys.cPollScsiTestUnitReady(asc_dvc, scsiq);
asc_dvc8717drivers/scsi/advansys.cif (asc_dvc->start_motor & tid_bits) {
asc_dvc8718drivers/scsi/advansys.cif (PollScsiStartUnit(asc_dvc, scsiq) == 1) {
asc_dvc8722drivers/scsi/advansys.casc_dvc->start_motor &= ~tid_bits;
asc_dvc8751drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc8760drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
asc_dvc8768drivers/scsi/advansys.cloop, asc_dvc->err_code, scsiq->r3.done_stat, scsiq->r3.scsi_stat);
asc_dvc8769drivers/scsi/advansys.cif (asc_dvc->err_code != 0) {
asc_dvc8788drivers/scsi/advansys.cAscISR(asc_dvc);
asc_dvc8794drivers/scsi/advansys.cAscISR(asc_dvc);
asc_dvc9026drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc9031drivers/scsi/advansys.cif (AscScsiSetupCmdQ(asc_dvc, scsiq, buf,
asc_dvc9047drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc9052drivers/scsi/advansys.cif (AscScsiSetupCmdQ(asc_dvc, scsiq, info, 8L) == ERR) {
asc_dvc9071drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc9075drivers/scsi/advansys.cif (AscScsiSetupCmdQ(asc_dvc, scsiq, FNULLPTR,
asc_dvc9092drivers/scsi/advansys.cASC_DVC_VAR asc_ptr_type * asc_dvc,
asc_dvc9097drivers/scsi/advansys.cif (AscScsiSetupCmdQ(asc_dvc, scsiq, FNULLPTR, (ulong) 0L) == ERR) {