taglinefilesource code
iop_base717drivers/scsi/advansys.c#define DvcGetQinfo( iop_base, s_addr, outbuf, words)  \
iop_base718drivers/scsi/advansys.cAscMemWordCopyFromLram( iop_base, s_addr, outbuf, words)
iop_base720drivers/scsi/advansys.c#define DvcPutScsiQ( iop_base, s_addr, outbuf, words) \
iop_base721drivers/scsi/advansys.cAscMemWordCopyToLram( iop_base, s_addr, outbuf, words)
iop_base1396drivers/scsi/advansys.cPortAddr            iop_base;
iop_base1862drivers/scsi/advansys.cint                 AscWriteEEPCmdReg(PortAddr iop_base, uchar cmd_reg);
iop_base1863drivers/scsi/advansys.cint                 AscWriteEEPDataReg(PortAddr iop_base, ushort data_reg);
iop_base2927drivers/scsi/advansys.cboardp->iop_base = iop;
iop_base3033drivers/scsi/advansys.cshp->io_port = boardp->iop_base;
iop_base3080drivers/scsi/advansys.cboardp->iop_base,
iop_base4549drivers/scsi/advansys.cDvcPutScsiQ(PortAddr iop_base, ushort s_addr, ushort *outbuf, int words)
iop_base4554drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, s_addr);
iop_base4559drivers/scsi/advansys.cAscPutChipLramData(iop_base, *outbuf);
iop_base4574drivers/scsi/advansys.cDvcGetQinfo(PortAddr iop_base, ushort s_addr, ushort *inbuf, int words)
iop_base4578drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, s_addr);
iop_base4583drivers/scsi/advansys.c*inbuf = AscGetChipLramData(iop_base);
iop_base4598drivers/scsi/advansys.cDvcOutPortWords(ushort iop_base, ushort *outbuf, int words)
iop_base4603drivers/scsi/advansys.coutpw(iop_base, *outbuf);
iop_base4616drivers/scsi/advansys.cDvcInPortWords(ushort iop_base, ushort *inbuf, int words)
iop_base4621drivers/scsi/advansys.c*inbuf = inpw(iop_base);
iop_base4804drivers/scsi/advansys.ch->iop_base, h->err_code, h->dvc_cntl, h->bug_fix_cntl);
iop_base5001drivers/scsi/advansys.cPortAddr iop_base
iop_base5006drivers/scsi/advansys.ceisa_cfg_iop = (PortAddr) ASC_GET_EISA_SLOT(iop_base) |
iop_base5013drivers/scsi/advansys.cPortAddr iop_base,
iop_base5019drivers/scsi/advansys.cif (AscGetChipScsiID(iop_base) == new_host_id) {
iop_base5022drivers/scsi/advansys.ccfg_lsw = AscGetChipCfgLsw(iop_base);
iop_base5025drivers/scsi/advansys.cAscSetChipCfgLsw(iop_base, cfg_lsw);
iop_base5026drivers/scsi/advansys.creturn (AscGetChipScsiID(iop_base));
iop_base5031drivers/scsi/advansys.cPortAddr iop_base,
iop_base5039drivers/scsi/advansys.ccfg_lsw = AscGetEisaChipCfg(iop_base);
iop_base5045drivers/scsi/advansys.ccfg_lsw = AscGetChipCfgLsw(iop_base);
iop_base5052drivers/scsi/advansys.cPortAddr iop_base,
iop_base5061drivers/scsi/advansys.ceisa_iop = (PortAddr) ASC_GET_EISA_SLOT(iop_base) |
iop_base5066drivers/scsi/advansys.creturn (AscGetChipVerNo(iop_base));
iop_base5071drivers/scsi/advansys.cPortAddr iop_base
iop_base5076drivers/scsi/advansys.cchip_ver = AscGetChipVerNo(iop_base);
iop_base5079drivers/scsi/advansys.cif (((iop_base & 0x0C30) == 0x0C30) ||
iop_base5080drivers/scsi/advansys.c((iop_base & 0x0C50) == 0x0C50)) {
iop_base5116drivers/scsi/advansys.cPortAddr iop_base,
iop_base5127drivers/scsi/advansys.cAscMemWordSetLram(iop_base, s_addr, 0, mcode_word_size);
iop_base5128drivers/scsi/advansys.cAscMemWordCopyToLram(iop_base, s_addr, mcode_buf, mcode_word_size);
iop_base5130drivers/scsi/advansys.cchksum = AscMemSumLramWord(iop_base, s_addr, mcode_word_size);
iop_base5131drivers/scsi/advansys.cmcode_chksum = (ushort) AscMemSumLramWord(iop_base,
iop_base5134drivers/scsi/advansys.cAscWriteLramWord(iop_base, ASCV_MCODE_CHKSUM_W, mcode_chksum);
iop_base5135drivers/scsi/advansys.cAscWriteLramWord(iop_base, ASCV_MCODE_SIZE_W, mcode_size);
iop_base5193drivers/scsi/advansys.cPortAddr            iop_base;
iop_base5201drivers/scsi/advansys.ciop_base = _asc_def_iop_base[i];
iop_base5202drivers/scsi/advansys.cif (AscFindSignature(iop_base)) {
iop_base5203drivers/scsi/advansys.creturn (iop_base);
iop_base5211drivers/scsi/advansys.cPortAddr iop_base
iop_base5216drivers/scsi/advansys.cif ((inp((PortAddr) (iop_base + 1)) & 0xFF) == (uchar) ASC_1000_ID1B) {
iop_base5217drivers/scsi/advansys.csig_word = inpw(iop_base);
iop_base5228drivers/scsi/advansys.cPortAddr iop_base
iop_base5231drivers/scsi/advansys.cAscSetChipStatus(iop_base, CIW_IRQ_ACT);
iop_base5232drivers/scsi/advansys.cAscSetChipStatus(iop_base, 0);
iop_base5252drivers/scsi/advansys.cPortAddr iop_base,
iop_base5261drivers/scsi/advansys.ccfg_lsw = AscGetEisaChipCfg(iop_base);
iop_base5270drivers/scsi/advansys.ccfg_lsw = AscGetChipCfgLsw(iop_base);
iop_base5291drivers/scsi/advansys.cPortAddr iop_base,
iop_base5307drivers/scsi/advansys.ccfg_lsw = (ushort) (AscGetChipCfgLsw(iop_base) & 0xFFE3);
iop_base5309drivers/scsi/advansys.cAscSetChipCfgLsw(iop_base, cfg_lsw);
iop_base5310drivers/scsi/advansys.cAscToggleIRQAct(iop_base);
iop_base5312drivers/scsi/advansys.ccfg_lsw = (ushort) (AscGetChipCfgLsw(iop_base) & 0xFFE0);
iop_base5314drivers/scsi/advansys.cAscSetChipCfgLsw(iop_base, cfg_lsw);
iop_base5315drivers/scsi/advansys.cAscToggleIRQAct(iop_base);
iop_base5317drivers/scsi/advansys.creturn (AscGetChipIRQ(iop_base, bus_type));
iop_base5324drivers/scsi/advansys.ccfg_lsw = (ushort) (AscGetChipCfgLsw(iop_base) & 0xFFF3);
iop_base5326drivers/scsi/advansys.cAscSetChipCfgLsw(iop_base, cfg_lsw);
iop_base5327drivers/scsi/advansys.creturn (AscGetChipIRQ(iop_base, bus_type));
iop_base5336drivers/scsi/advansys.cPortAddr iop_base
iop_base5341drivers/scsi/advansys.cAscSetBank(iop_base, 1);
iop_base5342drivers/scsi/advansys.csc = inp(iop_base + IOP_REG_SC);
iop_base5343drivers/scsi/advansys.cAscSetBank(iop_base, 0);
iop_base5361drivers/scsi/advansys.cPortAddr            iop_base;
iop_base5372drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base5373drivers/scsi/advansys.cint_halt_code = AscReadLramWord(iop_base, ASCV_HALTCODE_W);
iop_base5375drivers/scsi/advansys.chalt_qp = AscReadLramByte(iop_base, ASCV_CURCDB_B);
iop_base5377drivers/scsi/advansys.ctarget_ix = AscReadLramByte(iop_base,
iop_base5379drivers/scsi/advansys.cq_cntl = AscReadLramByte(iop_base,
iop_base5391drivers/scsi/advansys.cAscMemWordCopyFromLram(iop_base,
iop_base5411drivers/scsi/advansys.cAscSetChipSDTR(iop_base, asyn_sdtr, tid_no);
iop_base5417drivers/scsi/advansys.cAscSetChipSDTR(iop_base, asyn_sdtr, tid_no);
iop_base5425drivers/scsi/advansys.cAscSetChipSDTR(iop_base, sdtr_data, tid_no);
iop_base5430drivers/scsi/advansys.cAscMsgOutSDTR(iop_base,
iop_base5434drivers/scsi/advansys.cAscSetChipSDTR(iop_base, sdtr_data, tid_no);
iop_base5440drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base5443drivers/scsi/advansys.cAscWriteLramWord(iop_base, ASCV_HALTCODE_W, 0);
iop_base5453drivers/scsi/advansys.csdtr_data = AscReadLramByte(iop_base,
iop_base5455drivers/scsi/advansys.cAscMsgOutSDTR(iop_base,
iop_base5460drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base5464drivers/scsi/advansys.ctag_code = AscReadLramByte(iop_base,
iop_base5467drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base5471drivers/scsi/advansys.cq_status = AscReadLramByte(iop_base,
iop_base5474drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base5478drivers/scsi/advansys.cscsi_busy = AscReadLramByte(iop_base,
iop_base5481drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) ASCV_SCSIBUSY_B, scsi_busy);
iop_base5483drivers/scsi/advansys.cAscWriteLramWord(iop_base, ASCV_HALTCODE_W, 0);
iop_base5487drivers/scsi/advansys.cAscMemWordCopyFromLram(iop_base,
iop_base5498drivers/scsi/advansys.cAscSetChipSDTR(iop_base, asyn_sdtr, tid_no);
iop_base5505drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base5508drivers/scsi/advansys.cAscWriteLramWord(iop_base, ASCV_HALTCODE_W, 0);
iop_base5512drivers/scsi/advansys.cscsi_status = AscReadLramByte(iop_base,
iop_base5514drivers/scsi/advansys.ccur_dvc_qng = AscReadLramByte(iop_base,
iop_base5519drivers/scsi/advansys.cscsi_busy = AscReadLramByte(iop_base,
iop_base5522drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base5531drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base5537drivers/scsi/advansys.cAscWriteLramWord(iop_base, ASCV_HALTCODE_W, 0);
iop_base5545drivers/scsi/advansys.cPortAddr iop_base,
iop_base5554drivers/scsi/advansys.cDvcGetQinfo(iop_base,
iop_base5563drivers/scsi/advansys.c_val = AscReadLramWord(iop_base,
iop_base5568drivers/scsi/advansys.c_val = AscReadLramWord(iop_base,
iop_base5573drivers/scsi/advansys.c_val = AscReadLramWord(iop_base,
iop_base5578drivers/scsi/advansys.cscsiq->remain_bytes = AscReadLramDWord(iop_base,
iop_base5600drivers/scsi/advansys.cPortAddr            iop_base;
iop_base5616drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base5621drivers/scsi/advansys.cdone_q_tail = (uchar) AscGetVarDoneQTail(iop_base);
iop_base5623drivers/scsi/advansys.cnext_qp = AscReadLramByte(iop_base,
iop_base5627drivers/scsi/advansys.cAscPutVarDoneQTail(iop_base, next_qp);
iop_base5630drivers/scsi/advansys.csg_queue_cnt = _AscCopyLramScsiDoneQ(iop_base, q_addr, scsiq, asc_dvc->max_dma_count);
iop_base5632drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base5641drivers/scsi/advansys.csg_list_qp = AscReadLramByte(iop_base,
iop_base5650drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base5656drivers/scsi/advansys.cAscPutVarDoneQTail(iop_base, sg_list_qp);
iop_base5660drivers/scsi/advansys.ccur_target_qng = AscReadLramByte(iop_base,
iop_base5663drivers/scsi/advansys.cscsi_busy = AscReadLramByte(iop_base,
iop_base5666drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base5692drivers/scsi/advansys.ctag_code = AscReadLramByte(iop_base,
iop_base5715drivers/scsi/advansys.cAscWriteLramDWord(iop_base,
iop_base5723drivers/scsi/advansys.cif ((AscReadLramByte(iop_base,
iop_base5775drivers/scsi/advansys.cPortAddr            iop_base;
iop_base5783drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base5803drivers/scsi/advansys.cctrl_reg = AscGetChipControl(iop_base);
iop_base5807drivers/scsi/advansys.cif ((chipstat = AscGetChipStatus(iop_base)) & CSW_INT_PENDING) {
iop_base5809drivers/scsi/advansys.cAscAckInterrupt(iop_base);
iop_base5811drivers/scsi/advansys.chost_flag = AscReadLramByte(iop_base, ASCV_HOST_FLAG_B);
iop_base5812drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_HOST_FLAG_B,
iop_base5814drivers/scsi/advansys.csaved_ram_addr = AscGetChipLramAddr(iop_base);
iop_base5842drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, saved_ram_addr);
iop_base5843drivers/scsi/advansys.cif (AscGetChipLramAddr(iop_base) != saved_ram_addr) {
iop_base5846drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_HOST_FLAG_B, host_flag);
iop_base5848drivers/scsi/advansys.cAscSetChipControl(iop_base, saved_ctrl_reg);
iop_base6047drivers/scsi/advansys.cPortAddr            iop_base;
iop_base6070drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base6089drivers/scsi/advansys.csdtr_data = AscReadLramByte(iop_base,
iop_base6091drivers/scsi/advansys.cAscMsgOutSDTR(iop_base,
iop_base6293drivers/scsi/advansys.cPortAddr            iop_base;
iop_base6300drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base6304drivers/scsi/advansys.cfree_q_head = (uchar) AscGetVarFreeQHead(iop_base);
iop_base6306drivers/scsi/advansys.cif ((next_qp = AscAllocMultipleFreeQueue(iop_base,
iop_base6320drivers/scsi/advansys.cAscPutVarFreeQHead(iop_base, next_qp);
iop_base6328drivers/scsi/advansys.cif ((next_qp = AscAllocFreeQueue(iop_base,
iop_base6339drivers/scsi/advansys.cAscPutVarFreeQHead(iop_base, next_qp);
iop_base6416drivers/scsi/advansys.cPortAddr            iop_base;
iop_base6418drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base6425drivers/scsi/advansys.csdtr_data = AscReadLramByte(iop_base,
iop_base6429drivers/scsi/advansys.cAscMsgOutSDTR(iop_base,
iop_base6442drivers/scsi/advansys.cAscMemWordCopyToLram(iop_base,
iop_base6451drivers/scsi/advansys.cDvcPutScsiQ(iop_base,
iop_base6457drivers/scsi/advansys.cAscWriteLramWord(iop_base,
iop_base6466drivers/scsi/advansys.cif (AscMemWordCmpToLram(iop_base,
iop_base6473drivers/scsi/advansys.cif (AscMemWordCmpToLram(iop_base,
iop_base6486drivers/scsi/advansys.cAscWriteLramDWord(iop_base,
iop_base6488drivers/scsi/advansys.cAscWriteLramDWord(iop_base,
iop_base6493drivers/scsi/advansys.cAscWriteLramWord(iop_base,
iop_base6516drivers/scsi/advansys.cPortAddr            iop_base;
iop_base6518drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base6559drivers/scsi/advansys.cnext_qp = AscReadLramByte(iop_base,
iop_base6564drivers/scsi/advansys.cAscMemWordCopyToLram(iop_base,
iop_base6569drivers/scsi/advansys.cAscMemDWordCopyToLram(iop_base,
iop_base6595drivers/scsi/advansys.cPortAddr            iop_base;
iop_base6597drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base6602drivers/scsi/advansys.cif (AscStopQueueExe(iop_base) == 1) {
iop_base6605drivers/scsi/advansys.cAscCleanUpBusyQueue(iop_base);
iop_base6606drivers/scsi/advansys.cAscStartQueueExe(iop_base);
iop_base6610drivers/scsi/advansys.cAscStartQueueExe(iop_base);
iop_base6623drivers/scsi/advansys.cPortAddr            iop_base;
iop_base6633drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base6640drivers/scsi/advansys.cif (AscStopQueueExe(iop_base) == 1) {
iop_base6643drivers/scsi/advansys.cAscCleanUpBusyQueue(iop_base);
iop_base6644drivers/scsi/advansys.cAscStartQueueExe(iop_base);
iop_base6664drivers/scsi/advansys.cAscWriteLramByte(asc_dvc->iop_base, ASCV_MSGOUT_BEG,
iop_base6675drivers/scsi/advansys.c_AscWaitQDone(iop_base, (ASC_SCSI_Q dosfar *) scsiq);
iop_base6676drivers/scsi/advansys.cif (AscStopQueueExe(iop_base) == 1) {
iop_base6678drivers/scsi/advansys.cAscCleanUpDiscQueue(iop_base);
iop_base6679drivers/scsi/advansys.cAscStartQueueExe(iop_base);
iop_base6682drivers/scsi/advansys.cAscSetRunChipSynRegAtID(iop_base, tid_no,
iop_base6695drivers/scsi/advansys.cAscStartQueueExe(iop_base);
iop_base6709drivers/scsi/advansys.cPortAddr            iop_base;
iop_base6711drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base6715drivers/scsi/advansys.cAscStopQueueExe(iop_base);
iop_base6718drivers/scsi/advansys.cAscResetChipAndScsiBus(iop_base);
iop_base6733drivers/scsi/advansys.cAscSetChipSynRegAtID(iop_base, i, ASYN_SDTR_DATA_FIX_PCI_REV_AB);
iop_base6739drivers/scsi/advansys.cAscSetPCAddr(iop_base, ASC_MCODE_START_ADDR);
iop_base6740drivers/scsi/advansys.cif (AscGetPCAddr(iop_base) != ASC_MCODE_START_ADDR) {
iop_base6743drivers/scsi/advansys.cif (AscStartChip(iop_base) == 0) {
iop_base6746drivers/scsi/advansys.cAscStartQueueExe(iop_base);
iop_base6754drivers/scsi/advansys.cPortAddr iop_base,
iop_base6761drivers/scsi/advansys.cif (AscHostReqRiscHalt(iop_base)) {
iop_base6762drivers/scsi/advansys.csta = AscSetChipSynRegAtID(iop_base, tid_no, sdtr_data);
iop_base6764drivers/scsi/advansys.cAscStartChip(iop_base);
iop_base6772drivers/scsi/advansys.cPortAddr iop_base,
iop_base6777drivers/scsi/advansys.cAscSetBank(iop_base, 1);
iop_base6778drivers/scsi/advansys.cAscWriteChipScsiID(iop_base, id);
iop_base6779drivers/scsi/advansys.cif (AscReadChipScsiID(iop_base) != (0x01 << id)) {
iop_base6782drivers/scsi/advansys.cAscSetBank(iop_base, 0);
iop_base6783drivers/scsi/advansys.cAscWriteChipSyn(iop_base, sdtr_data);
iop_base6784drivers/scsi/advansys.cif (AscReadChipSyn(iop_base) != sdtr_data) {
iop_base6806drivers/scsi/advansys.cPortAddr            iop_base;
iop_base6809drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base6812drivers/scsi/advansys.cAscMemWordSetLram(iop_base, ASC_QADR_BEG, 0,
iop_base6819drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_FWD),
iop_base6821drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_BWD),
iop_base6823drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_QNO),
iop_base6828drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_FWD),
iop_base6830drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_BWD),
iop_base6832drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_QNO),
iop_base6836drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_FWD),
iop_base6838drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_BWD),
iop_base6840drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_QNO),
iop_base6848drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base6850drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base6852drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base6864drivers/scsi/advansys.cPortAddr            iop_base;
iop_base6868drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base6869drivers/scsi/advansys.cAscPutRiscVarFreeQHead(iop_base, 1);
iop_base6870drivers/scsi/advansys.cAscPutRiscVarDoneQTail(iop_base, asc_dvc->max_total_qng);
iop_base6872drivers/scsi/advansys.cAscPutVarFreeQHead(iop_base, 1);
iop_base6873drivers/scsi/advansys.cAscPutVarDoneQTail(iop_base, asc_dvc->max_total_qng);
iop_base6875drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_BUSY_QHEAD_B,
iop_base6877drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_DISC1_QHEAD_B,
iop_base6880drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) ASCV_TOTAL_READY_Q_B,
iop_base6883drivers/scsi/advansys.cAscWriteLramWord(iop_base, ASCV_ASCDVC_ERR_CODE_W, 0);
iop_base6884drivers/scsi/advansys.cAscWriteLramWord(iop_base, ASCV_HALTCODE_W, 0);
iop_base6885drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_STOP_CODE_B, 0);
iop_base6886drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_SCSIBUSY_B, 0);
iop_base6887drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_WTM_FLAG_B, 0);
iop_base6889drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) ASCV_CDBCNT_B, 0);
iop_base6893drivers/scsi/advansys.cAscWriteLramWord(iop_base, lram_addr, 0);
iop_base6908drivers/scsi/advansys.cAscWriteLramWord(asc_dvc->iop_base, ASCV_ASCDVC_ERR_CODE_W,
iop_base6916drivers/scsi/advansys.cPortAddr iop_base,
iop_base6928drivers/scsi/advansys.cq_status = AscReadLramByte(iop_base, q_addr + ASC_SCSIQ_B_STATUS);
iop_base6950drivers/scsi/advansys.cPortAddr iop_base,
iop_base6964drivers/scsi/advansys.cAscMemWordCopyToLram(iop_base, ASCV_MSGOUT_BEG,
iop_base6995drivers/scsi/advansys.cPortAddr iop_base,
iop_base7001drivers/scsi/advansys.cAscWriteChipSyn(iop_base, sdtr_data);
iop_base7002drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base7050drivers/scsi/advansys.cPortAddr iop_base,
iop_base7059drivers/scsi/advansys.cq_status = (uchar) AscReadLramByte(iop_base,
iop_base7061drivers/scsi/advansys.cnext_qp = AscReadLramByte(iop_base,
iop_base7072drivers/scsi/advansys.cPortAddr iop_base,
iop_base7080drivers/scsi/advansys.cif ((free_q_head = AscAllocFreeQueue(iop_base, free_q_head))
iop_base7094drivers/scsi/advansys.cPortAddr            iop_base;
iop_base7102drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base7114drivers/scsi/advansys.cscsiq->d2.srb_ptr = AscReadLramDWord(iop_base,
iop_base7117drivers/scsi/advansys.c_AscCopyLramScsiDoneQ(iop_base, q_addr, scsiq, asc_dvc->max_dma_count);
iop_base7124drivers/scsi/advansys.cAscWriteLramDWord(iop_base,
iop_base7127drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base7145drivers/scsi/advansys.cPortAddr            iop_base;
iop_base7158drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base7173drivers/scsi/advansys.c_AscCopyLramScsiDoneQ(iop_base, q_addr, scsiq, asc_dvc->max_dma_count);
iop_base7181drivers/scsi/advansys.cAscWriteLramDWord(iop_base,
iop_base7185drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base7202drivers/scsi/advansys.cPortAddr iop_base
iop_base7209drivers/scsi/advansys.cif (AscIsChipHalted(iop_base))
iop_base7211drivers/scsi/advansys.csaved_stop_code = AscReadLramByte(iop_base, ASCV_STOP_CODE_B);
iop_base7213drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_STOP_CODE_B,
iop_base7217drivers/scsi/advansys.cif (AscIsChipHalted(iop_base)) {
iop_base7224drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_STOP_CODE_B, saved_stop_code);
iop_base7230drivers/scsi/advansys.cPortAddr iop_base
iop_base7236drivers/scsi/advansys.cif (AscReadLramByte(iop_base, ASCV_STOP_CODE_B) == 0) {
iop_base7237drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_STOP_CODE_B,
iop_base7240drivers/scsi/advansys.cif (AscReadLramByte(iop_base, ASCV_STOP_CODE_B) &
iop_base7252drivers/scsi/advansys.cPortAddr iop_base
iop_base7255drivers/scsi/advansys.cif (AscReadLramByte(iop_base, ASCV_STOP_CODE_B) != 0) {
iop_base7256drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_STOP_CODE_B, 0);
iop_base7263drivers/scsi/advansys.cPortAddr iop_base
iop_base7270drivers/scsi/advansys.cif (AscReadLramByte(iop_base, ASCV_STOP_CODE_B) != 0) {
iop_base7271drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_STOP_CODE_B,
iop_base7274drivers/scsi/advansys.cstop_code = AscReadLramByte(iop_base, ASCV_STOP_CODE_B);
iop_base7285drivers/scsi/advansys.cPortAddr iop_base
iop_base7292drivers/scsi/advansys.cif (AscReadLramByte(iop_base, ASCV_STOP_CODE_B) != 0) {
iop_base7293drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_STOP_CODE_B,
iop_base7296drivers/scsi/advansys.cstop_code = AscReadLramByte(iop_base, ASCV_STOP_CODE_B);
iop_base7362drivers/scsi/advansys.cPortAddr iop_base
iop_base7369drivers/scsi/advansys.ceisa_iop = ASC_GET_EISA_SLOT(iop_base) | ASC_EISA_PID_IOP_MASK;
iop_base7378drivers/scsi/advansys.cPortAddr iop_base
iop_base7383drivers/scsi/advansys.cif (iop_base == 0) {
iop_base7384drivers/scsi/advansys.ciop_base = ASC_EISA_MIN_IOP_ADDR;
iop_base7386drivers/scsi/advansys.cif (iop_base == ASC_EISA_MAX_IOP_ADDR)
iop_base7388drivers/scsi/advansys.cif ((iop_base & 0x0050) == 0x0050) {
iop_base7389drivers/scsi/advansys.ciop_base += ASC_EISA_BIG_IOP_GAP;
iop_base7391drivers/scsi/advansys.ciop_base += ASC_EISA_SMALL_IOP_GAP;
iop_base7394drivers/scsi/advansys.cwhile (iop_base <= ASC_EISA_MAX_IOP_ADDR) {
iop_base7396drivers/scsi/advansys.ceisa_product_id = AscGetEisaProductID(iop_base);
iop_base7399drivers/scsi/advansys.cif (AscFindSignature(iop_base)) {
iop_base7401drivers/scsi/advansys.cinpw(iop_base + 4);
iop_base7402drivers/scsi/advansys.creturn (iop_base);
iop_base7405drivers/scsi/advansys.cif (iop_base == ASC_EISA_MAX_IOP_ADDR)
iop_base7407drivers/scsi/advansys.cif ((iop_base & 0x0050) == 0x0050) {
iop_base7408drivers/scsi/advansys.ciop_base += ASC_EISA_BIG_IOP_GAP;
iop_base7410drivers/scsi/advansys.ciop_base += ASC_EISA_SMALL_IOP_GAP;
iop_base7418drivers/scsi/advansys.cPortAddr iop_base
iop_base7421drivers/scsi/advansys.cAscSetChipControl(iop_base, 0);
iop_base7422drivers/scsi/advansys.cif ((AscGetChipStatus(iop_base) & CSW_HALTED) != 0) {
iop_base7430drivers/scsi/advansys.cPortAddr iop_base
iop_base7435drivers/scsi/advansys.ccc_val = AscGetChipControl(iop_base) & (~(CC_SINGLE_STEP | CC_TEST | CC_DIAG));
iop_base7436drivers/scsi/advansys.cAscSetChipControl(iop_base, (uchar) (cc_val | CC_HALT));
iop_base7437drivers/scsi/advansys.cAscSetChipIH(iop_base, INS_HALT);
iop_base7438drivers/scsi/advansys.cAscSetChipIH(iop_base, INS_RFLAG_WTM);
iop_base7439drivers/scsi/advansys.cif ((AscGetChipStatus(iop_base) & CSW_HALTED) == 0) {
iop_base7447drivers/scsi/advansys.cPortAddr iop_base
iop_base7451drivers/scsi/advansys.cif ((AscGetChipStatus(iop_base) & CSW_HALTED) != 0) {
iop_base7452drivers/scsi/advansys.cif ((AscGetChipControl(iop_base) & CC_HALT) != 0) {
iop_base7461drivers/scsi/advansys.cPortAddr iop_base,
iop_base7465drivers/scsi/advansys.cAscSetBank(iop_base, 1);
iop_base7466drivers/scsi/advansys.cAscWriteChipIH(iop_base, ins_code);
iop_base7467drivers/scsi/advansys.cAscSetBank(iop_base, 0);
iop_base7473drivers/scsi/advansys.cPortAddr iop_base
iop_base7483drivers/scsi/advansys.crisc_flag = AscReadLramByte(iop_base, ASCV_RISC_FLAG_B);
iop_base7489drivers/scsi/advansys.chost_flag = AscReadLramByte(iop_base, ASCV_HOST_FLAG_B);
iop_base7490drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_HOST_FLAG_B,
iop_base7493drivers/scsi/advansys.cAscSetChipStatus(iop_base, CIW_INT_ACK);
iop_base7495drivers/scsi/advansys.cwhile (AscGetChipStatus(iop_base) & CSW_INT_PENDING) {
iop_base7497drivers/scsi/advansys.cAscSetChipStatus(iop_base, CIW_INT_ACK);
iop_base7503drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_HOST_FLAG_B, host_flag);
iop_base7509drivers/scsi/advansys.cPortAddr iop_base
iop_base7514drivers/scsi/advansys.ccfg = AscGetChipCfgLsw(iop_base);
iop_base7515drivers/scsi/advansys.cAscSetChipCfgLsw(iop_base, cfg & (~ASC_CFG0_HOST_INT_ON));
iop_base7521drivers/scsi/advansys.cPortAddr iop_base
iop_base7526drivers/scsi/advansys.ccfg = AscGetChipCfgLsw(iop_base);
iop_base7527drivers/scsi/advansys.cAscSetChipCfgLsw(iop_base, cfg | ASC_CFG0_HOST_INT_ON);
iop_base7533drivers/scsi/advansys.cPortAddr iop_base,
iop_base7539drivers/scsi/advansys.cval = AscGetChipControl(iop_base) &
iop_base7548drivers/scsi/advansys.cAscSetChipControl(iop_base, val);
iop_base7554drivers/scsi/advansys.cPortAddr iop_base
iop_base7557drivers/scsi/advansys.cAscStopChip(iop_base);
iop_base7558drivers/scsi/advansys.cAscSetChipControl(iop_base, CC_CHIP_RESET | CC_SCSI_RESET | CC_HALT);
iop_base7561drivers/scsi/advansys.cAscSetChipIH(iop_base, INS_RFLAG_WTM);
iop_base7562drivers/scsi/advansys.cAscSetChipIH(iop_base, INS_HALT);
iop_base7564drivers/scsi/advansys.cAscSetChipControl(iop_base, CC_CHIP_RESET | CC_HALT);
iop_base7565drivers/scsi/advansys.cAscSetChipControl(iop_base, CC_HALT);
iop_base7567drivers/scsi/advansys.creturn (AscIsChipHalted(iop_base));
iop_base7572drivers/scsi/advansys.cPortAddr iop_base
iop_base7577drivers/scsi/advansys.cchannel = AscGetChipCfgLsw(iop_base) & 0x0003;
iop_base7587drivers/scsi/advansys.cPortAddr iop_base,
iop_base7600drivers/scsi/advansys.ccfg_lsw = AscGetChipCfgLsw(iop_base) & 0xFFFC;
iop_base7602drivers/scsi/advansys.cAscSetChipCfgLsw(iop_base, cfg_lsw);
iop_base7603drivers/scsi/advansys.creturn (AscGetIsaDmaChannel(iop_base));
iop_base7610drivers/scsi/advansys.cPortAddr iop_base,
iop_base7615drivers/scsi/advansys.cAscSetBank(iop_base, 1);
iop_base7616drivers/scsi/advansys.cAscSetChipDmaSpeed(iop_base, speed_value);
iop_base7617drivers/scsi/advansys.cAscSetBank(iop_base, 0);
iop_base7618drivers/scsi/advansys.creturn (AscGetIsaDmaSpeed(iop_base));
iop_base7623drivers/scsi/advansys.cPortAddr iop_base
iop_base7628drivers/scsi/advansys.cAscSetBank(iop_base, 1);
iop_base7629drivers/scsi/advansys.cspeed_value = AscGetChipDmaSpeed(iop_base);
iop_base7631drivers/scsi/advansys.cAscSetBank(iop_base, 0);
iop_base7658drivers/scsi/advansys.cif (AscFindSignature(asc_dvc->iop_base)) {
iop_base7683drivers/scsi/advansys.cif (AscFindSignature(asc_dvc->iop_base)) {
iop_base7698drivers/scsi/advansys.cPortAddr            iop_base;
iop_base7705drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base7712drivers/scsi/advansys.cAscResetChipAndScsiBus(iop_base);
iop_base7719drivers/scsi/advansys.cif (!AscFindSignature(asc_dvc->iop_base)) {
iop_base7724drivers/scsi/advansys.cAscDisableInterrupt(iop_base);
iop_base7731drivers/scsi/advansys.cif (AscLoadMicroCode(iop_base, 0, (ushort dosfar *) _mcode_buf,
iop_base7740drivers/scsi/advansys.cAscEnableInterrupt(iop_base);
iop_base7750drivers/scsi/advansys.cPortAddr            iop_base;
iop_base7753drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base7788drivers/scsi/advansys.casc_dvc->cfg->chip_version = AscGetChipVersion(iop_base,
iop_base7790drivers/scsi/advansys.cif (AscGetChipBusType(iop_base) == ASC_IS_ISAPNP) {
iop_base7792drivers/scsi/advansys.cAscPutChipIFC(iop_base, IFC_INIT_DEFAULT);
iop_base7799drivers/scsi/advansys.casc_dvc->cfg->isa_dma_channel = (uchar) AscGetIsaDmaChannel(iop_base);
iop_base7826drivers/scsi/advansys.cPortAddr            iop_base;
iop_base7830drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base7833drivers/scsi/advansys.ccfg_msw = AscGetChipCfgMsw(iop_base);
iop_base7838drivers/scsi/advansys.cAscSetChipCfgMsw(iop_base, cfg_msw);
iop_base7840drivers/scsi/advansys.cif (AscGetChipStatus(iop_base) & CSW_AUTO_CONFIG) {
iop_base7851drivers/scsi/advansys.cif (AscSetChipIRQ(iop_base, asc_dvc->irq_no, asc_dvc->bus_type)
iop_base7856drivers/scsi/advansys.cif (AscSetChipScsiID(iop_base, asc_dvc->cfg->chip_scsi_id) !=
iop_base7861drivers/scsi/advansys.cAscSetIsaDmaChannel(iop_base, asc_dvc->cfg->isa_dma_channel);
iop_base7862drivers/scsi/advansys.cAscSetIsaDmaSpeed(iop_base, asc_dvc->cfg->isa_dma_speed);
iop_base7874drivers/scsi/advansys.cPortAddr            iop_base;
iop_base7880drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base7883drivers/scsi/advansys.cAscWriteLramWord(iop_base, ASCV_HALTCODE_W, 0x00FE);
iop_base7885drivers/scsi/advansys.cAscStopQueueExe(iop_base);
iop_base7886drivers/scsi/advansys.cif ((AscStopChip(iop_base) == FALSE) ||
iop_base7887drivers/scsi/advansys.c(AscGetChipScsiCtrl(iop_base) != 0)) {
iop_base7889drivers/scsi/advansys.cAscResetChipAndScsiBus(iop_base);
iop_base7892drivers/scsi/advansys.cif (AscIsChipHalted(iop_base) == FALSE) {
iop_base7896drivers/scsi/advansys.cAscSetPCAddr(iop_base, ASC_MCODE_START_ADDR);
iop_base7897drivers/scsi/advansys.cif (AscGetPCAddr(iop_base) != ASC_MCODE_START_ADDR) {
iop_base7903drivers/scsi/advansys.ccfg_msw = AscGetChipCfgMsw(iop_base);
iop_base7904drivers/scsi/advansys.ccfg_lsw = AscGetChipCfgLsw(iop_base);
iop_base7909drivers/scsi/advansys.cAscSetChipCfgMsw(iop_base, cfg_msw);
iop_base7918drivers/scsi/advansys.cAscSetChipCfgMsw(iop_base, cfg_msw);
iop_base7920drivers/scsi/advansys.cchksum = AscGetEEPConfig(iop_base, eep_config, asc_dvc->bus_type);
iop_base7924drivers/scsi/advansys.cif (AscGetChipStatus(iop_base) & CSW_AUTO_CONFIG) {
iop_base7931drivers/scsi/advansys.ceep_config->cfg_lsw = AscGetChipCfgLsw(iop_base);
iop_base7935drivers/scsi/advansys.ceep_config->cfg_msw = AscGetChipCfgMsw(iop_base);
iop_base7960drivers/scsi/advansys.cif (AscGetChipVersion(iop_base, asc_dvc->bus_type)
iop_base7969drivers/scsi/advansys.cAscSetChipCfgMsw(iop_base, cfg_msw);
iop_base7975drivers/scsi/advansys.casc_dvc->err_code |= AscTestLramEndian(iop_base);
iop_base7997drivers/scsi/advansys.casc_dvc->irq_no = AscGetChipIRQ(iop_base, asc_dvc->bus_type);
iop_base8006drivers/scsi/advansys.ceep_config->cfg_msw = AscGetChipCfgMsw(iop_base);
iop_base8007drivers/scsi/advansys.cif (AscSetEEPConfig(iop_base, eep_config, asc_dvc->bus_type) != 0) {
iop_base8020drivers/scsi/advansys.cPortAddr            iop_base;
iop_base8023drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base8026drivers/scsi/advansys.cAscWriteLramByte(iop_base, (ushort) (ASCV_SDTR_DATA_BEG + i),
iop_base8032drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_DISC_ENABLE_B,
iop_base8034drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_HOSTSCSI_ID_B,
iop_base8043drivers/scsi/advansys.cAscWriteLramDWord(iop_base, ASCV_OVERRUN_PADDR_D, phy_addr);
iop_base8044drivers/scsi/advansys.cAscWriteLramDWord(iop_base, ASCV_OVERRUN_BSIZE_D,
iop_base8048drivers/scsi/advansys.casc_dvc->cfg->mcode_date = AscReadLramWord(iop_base,
iop_base8050drivers/scsi/advansys.casc_dvc->cfg->mcode_version = AscReadLramWord(iop_base,
iop_base8052drivers/scsi/advansys.cAscSetPCAddr(iop_base, ASC_MCODE_START_ADDR);
iop_base8053drivers/scsi/advansys.cif (AscGetPCAddr(iop_base) != ASC_MCODE_START_ADDR) {
iop_base8057drivers/scsi/advansys.cif (AscStartChip(iop_base) != 1) {
iop_base8109drivers/scsi/advansys.cPortAddr            iop_base;
iop_base8114drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base8118drivers/scsi/advansys.csaved_word = AscReadLramWord(iop_base, q_addr);
iop_base8119drivers/scsi/advansys.cif (AscVerWriteLramWord(iop_base, q_addr, 0x55AA) == 0) {
iop_base8121drivers/scsi/advansys.cAscWriteLramWord(iop_base, q_addr, saved_word);
iop_base8132drivers/scsi/advansys.cPortAddr iop_base,
iop_base8141drivers/scsi/advansys.cAscSetChipEEPCmd(iop_base, cmd_reg);
iop_base8143drivers/scsi/advansys.cread_back = AscGetChipEEPCmd(iop_base);
iop_base8155drivers/scsi/advansys.cPortAddr iop_base,
iop_base8164drivers/scsi/advansys.cAscSetChipEEPData(iop_base, data_reg);
iop_base8166drivers/scsi/advansys.cread_back = AscGetChipEEPData(iop_base);
iop_base8196drivers/scsi/advansys.cPortAddr iop_base,
iop_base8203drivers/scsi/advansys.cAscWriteEEPCmdReg(iop_base, ASC_EEP_CMD_WRITE_DISABLE);
iop_base8206drivers/scsi/advansys.cAscWriteEEPCmdReg(iop_base, cmd_reg);
iop_base8208drivers/scsi/advansys.cread_wval = AscGetChipEEPData(iop_base);
iop_base8215drivers/scsi/advansys.cPortAddr iop_base,
iop_base8222drivers/scsi/advansys.cread_wval = AscReadEEPWord(iop_base, addr);
iop_base8224drivers/scsi/advansys.cAscWriteEEPCmdReg(iop_base, ASC_EEP_CMD_WRITE_ABLE);
iop_base8227drivers/scsi/advansys.cAscWriteEEPDataReg(iop_base, word_val);
iop_base8230drivers/scsi/advansys.cAscWriteEEPCmdReg(iop_base,
iop_base8234drivers/scsi/advansys.cAscWriteEEPCmdReg(iop_base, ASC_EEP_CMD_WRITE_DISABLE);
iop_base8236drivers/scsi/advansys.creturn (AscReadEEPWord(iop_base, addr));
iop_base8243drivers/scsi/advansys.cPortAddr iop_base,
iop_base8260drivers/scsi/advansys.cwval = AscReadEEPWord(iop_base, (uchar) s_addr);
iop_base8275drivers/scsi/advansys.cwval = AscReadEEPWord(iop_base, (uchar) s_addr);
iop_base8279drivers/scsi/advansys.c*wbuf = AscReadEEPWord(iop_base, (uchar) s_addr);
iop_base8285drivers/scsi/advansys.cPortAddr iop_base,
iop_base8301drivers/scsi/advansys.cif (*wbuf != AscWriteEEPWord(iop_base, (uchar) s_addr, *wbuf)) {
iop_base8315drivers/scsi/advansys.cif (*wbuf != AscWriteEEPWord(iop_base, (uchar) s_addr, *wbuf)) {
iop_base8320drivers/scsi/advansys.cif (sum != AscWriteEEPWord(iop_base, (uchar) s_addr, sum)) {
iop_base8325drivers/scsi/advansys.cif (*wbuf != AscReadEEPWord(iop_base, (uchar) s_addr)) {
iop_base8331drivers/scsi/advansys.cif (*wbuf != AscReadEEPWord(iop_base, (uchar) s_addr)) {
iop_base8340drivers/scsi/advansys.cPortAddr iop_base,
iop_base8349drivers/scsi/advansys.cif ((n_error = AscSetEEPConfigOnce(iop_base, cfg_buf,
iop_base8365drivers/scsi/advansys.cPortAddr            iop_base;
iop_base8367drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base8373drivers/scsi/advansys.cAscDisableInterrupt(iop_base);
iop_base8377drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_DISC_ENABLE_B, 0x00);
iop_base8390drivers/scsi/advansys.cPortAddr            iop_base;
iop_base8393drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base8395drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_DISC_ENABLE_B,
iop_base8397drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_USE_TAGGED_QNG_B,
iop_base8399drivers/scsi/advansys.cAscWriteLramByte(iop_base, ASCV_CAN_TAGGED_QNG_B,
iop_base8403drivers/scsi/advansys.cAscWriteLramByte(iop_base,
iop_base8408drivers/scsi/advansys.cAscEnableInterrupt(iop_base);
iop_base8530drivers/scsi/advansys.cAscSetRunChipSynRegAtID(asc_dvc->iop_base, tid_no,
iop_base8758drivers/scsi/advansys.cPortAddr            iop_base;
iop_base8760drivers/scsi/advansys.ciop_base = asc_dvc->iop_base;
iop_base8787drivers/scsi/advansys.cif (AscIsChipHalted(iop_base)) {
iop_base8792drivers/scsi/advansys.cif (AscIsIntPending(iop_base)) {
iop_base8804drivers/scsi/advansys.cPortAddr iop_base,
iop_base8812drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, addr - 1);
iop_base8813drivers/scsi/advansys.cword_data = AscGetChipLramData(iop_base);
iop_base8822drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, addr);
iop_base8823drivers/scsi/advansys.cword_data = AscGetChipLramData(iop_base);
iop_base8837drivers/scsi/advansys.cPortAddr iop_base,
iop_base8843drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, addr);
iop_base8844drivers/scsi/advansys.cword_data = AscGetChipLramData(iop_base);
iop_base8850drivers/scsi/advansys.cPortAddr iop_base,
iop_base8857drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, addr);
iop_base8860drivers/scsi/advansys.cval_low = AscGetChipLramData(iop_base);
iop_base8862drivers/scsi/advansys.cval_high = AscGetChipLramData(iop_base);
iop_base8864drivers/scsi/advansys.cval_high = AscGetChipLramData(iop_base);
iop_base8865drivers/scsi/advansys.cval_low = AscGetChipLramData(iop_base);
iop_base8874drivers/scsi/advansys.cPortAddr iop_base,
iop_base8879drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, addr);
iop_base8880drivers/scsi/advansys.cAscPutChipLramData(iop_base, word_val);
iop_base8886drivers/scsi/advansys.cPortAddr iop_base,
iop_base8893drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, addr);
iop_base8897drivers/scsi/advansys.cAscPutChipLramData(iop_base, word_val);
iop_base8899drivers/scsi/advansys.cAscPutChipLramData(iop_base, word_val);
iop_base8902drivers/scsi/advansys.cAscPutChipLramData(iop_base, word_val);
iop_base8904drivers/scsi/advansys.cAscPutChipLramData(iop_base, word_val);
iop_base8911drivers/scsi/advansys.cPortAddr iop_base,
iop_base8920drivers/scsi/advansys.cword_data = AscReadLramWord(iop_base, addr);
iop_base8924drivers/scsi/advansys.cword_data = AscReadLramWord(iop_base, addr);
iop_base8928drivers/scsi/advansys.cAscWriteLramWord(iop_base, addr, word_data);
iop_base8934drivers/scsi/advansys.cPortAddr iop_base,
iop_base8942drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, addr);
iop_base8943drivers/scsi/advansys.cAscPutChipLramData(iop_base, word_val);
iop_base8944drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, addr);
iop_base8945drivers/scsi/advansys.cif (word_val != AscGetChipLramData(iop_base)) {
iop_base8953drivers/scsi/advansys.cPortAddr iop_base,
iop_base8959drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, s_addr);
iop_base8960drivers/scsi/advansys.cDvcOutPortWords(iop_base + IOP_RAM_DATA, s_buffer, words);
iop_base8966drivers/scsi/advansys.cPortAddr iop_base,
iop_base8972drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, s_addr);
iop_base8973drivers/scsi/advansys.cDvcOutPortDWords(iop_base + IOP_RAM_DATA, s_buffer, dwords);
iop_base8979drivers/scsi/advansys.cPortAddr iop_base,
iop_base8985drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, s_addr);
iop_base8986drivers/scsi/advansys.cDvcInPortWords(iop_base + IOP_RAM_DATA, d_buffer, words);
iop_base8992drivers/scsi/advansys.cPortAddr iop_base,
iop_base9002drivers/scsi/advansys.csum += AscReadLramWord(iop_base, s_addr);
iop_base9009drivers/scsi/advansys.cPortAddr iop_base,
iop_base9017drivers/scsi/advansys.cAscSetChipLramAddr(iop_base, s_addr);
iop_base9019drivers/scsi/advansys.cAscPutChipLramData(iop_base, set_wval);