tag | line | file | source code |
iop_base | 717 | drivers/scsi/advansys.c | #define DvcGetQinfo( iop_base, s_addr, outbuf, words) \ |
iop_base | 718 | drivers/scsi/advansys.c | AscMemWordCopyFromLram( iop_base, s_addr, outbuf, words) |
iop_base | 720 | drivers/scsi/advansys.c | #define DvcPutScsiQ( iop_base, s_addr, outbuf, words) \ |
iop_base | 721 | drivers/scsi/advansys.c | AscMemWordCopyToLram( iop_base, s_addr, outbuf, words) |
iop_base | 1396 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 1862 | drivers/scsi/advansys.c | int AscWriteEEPCmdReg(PortAddr iop_base, uchar cmd_reg); |
iop_base | 1863 | drivers/scsi/advansys.c | int AscWriteEEPDataReg(PortAddr iop_base, ushort data_reg); |
iop_base | 2927 | drivers/scsi/advansys.c | boardp->iop_base = iop; |
iop_base | 3033 | drivers/scsi/advansys.c | shp->io_port = boardp->iop_base; |
iop_base | 3080 | drivers/scsi/advansys.c | boardp->iop_base, |
iop_base | 4549 | drivers/scsi/advansys.c | DvcPutScsiQ(PortAddr iop_base, ushort s_addr, ushort *outbuf, int words) |
iop_base | 4554 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, s_addr); |
iop_base | 4559 | drivers/scsi/advansys.c | AscPutChipLramData(iop_base, *outbuf); |
iop_base | 4574 | drivers/scsi/advansys.c | DvcGetQinfo(PortAddr iop_base, ushort s_addr, ushort *inbuf, int words) |
iop_base | 4578 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, s_addr); |
iop_base | 4583 | drivers/scsi/advansys.c | *inbuf = AscGetChipLramData(iop_base); |
iop_base | 4598 | drivers/scsi/advansys.c | DvcOutPortWords(ushort iop_base, ushort *outbuf, int words) |
iop_base | 4603 | drivers/scsi/advansys.c | outpw(iop_base, *outbuf); |
iop_base | 4616 | drivers/scsi/advansys.c | DvcInPortWords(ushort iop_base, ushort *inbuf, int words) |
iop_base | 4621 | drivers/scsi/advansys.c | *inbuf = inpw(iop_base); |
iop_base | 4804 | drivers/scsi/advansys.c | h->iop_base, h->err_code, h->dvc_cntl, h->bug_fix_cntl); |
iop_base | 5001 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 5006 | drivers/scsi/advansys.c | eisa_cfg_iop = (PortAddr) ASC_GET_EISA_SLOT(iop_base) | |
iop_base | 5013 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 5019 | drivers/scsi/advansys.c | if (AscGetChipScsiID(iop_base) == new_host_id) { |
iop_base | 5022 | drivers/scsi/advansys.c | cfg_lsw = AscGetChipCfgLsw(iop_base); |
iop_base | 5025 | drivers/scsi/advansys.c | AscSetChipCfgLsw(iop_base, cfg_lsw); |
iop_base | 5026 | drivers/scsi/advansys.c | return (AscGetChipScsiID(iop_base)); |
iop_base | 5031 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 5039 | drivers/scsi/advansys.c | cfg_lsw = AscGetEisaChipCfg(iop_base); |
iop_base | 5045 | drivers/scsi/advansys.c | cfg_lsw = AscGetChipCfgLsw(iop_base); |
iop_base | 5052 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 5061 | drivers/scsi/advansys.c | eisa_iop = (PortAddr) ASC_GET_EISA_SLOT(iop_base) | |
iop_base | 5066 | drivers/scsi/advansys.c | return (AscGetChipVerNo(iop_base)); |
iop_base | 5071 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 5076 | drivers/scsi/advansys.c | chip_ver = AscGetChipVerNo(iop_base); |
iop_base | 5079 | drivers/scsi/advansys.c | if (((iop_base & 0x0C30) == 0x0C30) || |
iop_base | 5080 | drivers/scsi/advansys.c | ((iop_base & 0x0C50) == 0x0C50)) { |
iop_base | 5116 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 5127 | drivers/scsi/advansys.c | AscMemWordSetLram(iop_base, s_addr, 0, mcode_word_size); |
iop_base | 5128 | drivers/scsi/advansys.c | AscMemWordCopyToLram(iop_base, s_addr, mcode_buf, mcode_word_size); |
iop_base | 5130 | drivers/scsi/advansys.c | chksum = AscMemSumLramWord(iop_base, s_addr, mcode_word_size); |
iop_base | 5131 | drivers/scsi/advansys.c | mcode_chksum = (ushort) AscMemSumLramWord(iop_base, |
iop_base | 5134 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, ASCV_MCODE_CHKSUM_W, mcode_chksum); |
iop_base | 5135 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, ASCV_MCODE_SIZE_W, mcode_size); |
iop_base | 5193 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 5201 | drivers/scsi/advansys.c | iop_base = _asc_def_iop_base[i]; |
iop_base | 5202 | drivers/scsi/advansys.c | if (AscFindSignature(iop_base)) { |
iop_base | 5203 | drivers/scsi/advansys.c | return (iop_base); |
iop_base | 5211 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 5216 | drivers/scsi/advansys.c | if ((inp((PortAddr) (iop_base + 1)) & 0xFF) == (uchar) ASC_1000_ID1B) { |
iop_base | 5217 | drivers/scsi/advansys.c | sig_word = inpw(iop_base); |
iop_base | 5228 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 5231 | drivers/scsi/advansys.c | AscSetChipStatus(iop_base, CIW_IRQ_ACT); |
iop_base | 5232 | drivers/scsi/advansys.c | AscSetChipStatus(iop_base, 0); |
iop_base | 5252 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 5261 | drivers/scsi/advansys.c | cfg_lsw = AscGetEisaChipCfg(iop_base); |
iop_base | 5270 | drivers/scsi/advansys.c | cfg_lsw = AscGetChipCfgLsw(iop_base); |
iop_base | 5291 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 5307 | drivers/scsi/advansys.c | cfg_lsw = (ushort) (AscGetChipCfgLsw(iop_base) & 0xFFE3); |
iop_base | 5309 | drivers/scsi/advansys.c | AscSetChipCfgLsw(iop_base, cfg_lsw); |
iop_base | 5310 | drivers/scsi/advansys.c | AscToggleIRQAct(iop_base); |
iop_base | 5312 | drivers/scsi/advansys.c | cfg_lsw = (ushort) (AscGetChipCfgLsw(iop_base) & 0xFFE0); |
iop_base | 5314 | drivers/scsi/advansys.c | AscSetChipCfgLsw(iop_base, cfg_lsw); |
iop_base | 5315 | drivers/scsi/advansys.c | AscToggleIRQAct(iop_base); |
iop_base | 5317 | drivers/scsi/advansys.c | return (AscGetChipIRQ(iop_base, bus_type)); |
iop_base | 5324 | drivers/scsi/advansys.c | cfg_lsw = (ushort) (AscGetChipCfgLsw(iop_base) & 0xFFF3); |
iop_base | 5326 | drivers/scsi/advansys.c | AscSetChipCfgLsw(iop_base, cfg_lsw); |
iop_base | 5327 | drivers/scsi/advansys.c | return (AscGetChipIRQ(iop_base, bus_type)); |
iop_base | 5336 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 5341 | drivers/scsi/advansys.c | AscSetBank(iop_base, 1); |
iop_base | 5342 | drivers/scsi/advansys.c | sc = inp(iop_base + IOP_REG_SC); |
iop_base | 5343 | drivers/scsi/advansys.c | AscSetBank(iop_base, 0); |
iop_base | 5361 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 5372 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 5373 | drivers/scsi/advansys.c | int_halt_code = AscReadLramWord(iop_base, ASCV_HALTCODE_W); |
iop_base | 5375 | drivers/scsi/advansys.c | halt_qp = AscReadLramByte(iop_base, ASCV_CURCDB_B); |
iop_base | 5377 | drivers/scsi/advansys.c | target_ix = AscReadLramByte(iop_base, |
iop_base | 5379 | drivers/scsi/advansys.c | q_cntl = AscReadLramByte(iop_base, |
iop_base | 5391 | drivers/scsi/advansys.c | AscMemWordCopyFromLram(iop_base, |
iop_base | 5411 | drivers/scsi/advansys.c | AscSetChipSDTR(iop_base, asyn_sdtr, tid_no); |
iop_base | 5417 | drivers/scsi/advansys.c | AscSetChipSDTR(iop_base, asyn_sdtr, tid_no); |
iop_base | 5425 | drivers/scsi/advansys.c | AscSetChipSDTR(iop_base, sdtr_data, tid_no); |
iop_base | 5430 | drivers/scsi/advansys.c | AscMsgOutSDTR(iop_base, |
iop_base | 5434 | drivers/scsi/advansys.c | AscSetChipSDTR(iop_base, sdtr_data, tid_no); |
iop_base | 5440 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 5443 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, ASCV_HALTCODE_W, 0); |
iop_base | 5453 | drivers/scsi/advansys.c | sdtr_data = AscReadLramByte(iop_base, |
iop_base | 5455 | drivers/scsi/advansys.c | AscMsgOutSDTR(iop_base, |
iop_base | 5460 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 5464 | drivers/scsi/advansys.c | tag_code = AscReadLramByte(iop_base, |
iop_base | 5467 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 5471 | drivers/scsi/advansys.c | q_status = AscReadLramByte(iop_base, |
iop_base | 5474 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 5478 | drivers/scsi/advansys.c | scsi_busy = AscReadLramByte(iop_base, |
iop_base | 5481 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, (ushort) ASCV_SCSIBUSY_B, scsi_busy); |
iop_base | 5483 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, ASCV_HALTCODE_W, 0); |
iop_base | 5487 | drivers/scsi/advansys.c | AscMemWordCopyFromLram(iop_base, |
iop_base | 5498 | drivers/scsi/advansys.c | AscSetChipSDTR(iop_base, asyn_sdtr, tid_no); |
iop_base | 5505 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 5508 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, ASCV_HALTCODE_W, 0); |
iop_base | 5512 | drivers/scsi/advansys.c | scsi_status = AscReadLramByte(iop_base, |
iop_base | 5514 | drivers/scsi/advansys.c | cur_dvc_qng = AscReadLramByte(iop_base, |
iop_base | 5519 | drivers/scsi/advansys.c | scsi_busy = AscReadLramByte(iop_base, |
iop_base | 5522 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 5531 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 5537 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, ASCV_HALTCODE_W, 0); |
iop_base | 5545 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 5554 | drivers/scsi/advansys.c | DvcGetQinfo(iop_base, |
iop_base | 5563 | drivers/scsi/advansys.c | _val = AscReadLramWord(iop_base, |
iop_base | 5568 | drivers/scsi/advansys.c | _val = AscReadLramWord(iop_base, |
iop_base | 5573 | drivers/scsi/advansys.c | _val = AscReadLramWord(iop_base, |
iop_base | 5578 | drivers/scsi/advansys.c | scsiq->remain_bytes = AscReadLramDWord(iop_base, |
iop_base | 5600 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 5616 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 5621 | drivers/scsi/advansys.c | done_q_tail = (uchar) AscGetVarDoneQTail(iop_base); |
iop_base | 5623 | drivers/scsi/advansys.c | next_qp = AscReadLramByte(iop_base, |
iop_base | 5627 | drivers/scsi/advansys.c | AscPutVarDoneQTail(iop_base, next_qp); |
iop_base | 5630 | drivers/scsi/advansys.c | sg_queue_cnt = _AscCopyLramScsiDoneQ(iop_base, q_addr, scsiq, asc_dvc->max_dma_count); |
iop_base | 5632 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 5641 | drivers/scsi/advansys.c | sg_list_qp = AscReadLramByte(iop_base, |
iop_base | 5650 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 5656 | drivers/scsi/advansys.c | AscPutVarDoneQTail(iop_base, sg_list_qp); |
iop_base | 5660 | drivers/scsi/advansys.c | cur_target_qng = AscReadLramByte(iop_base, |
iop_base | 5663 | drivers/scsi/advansys.c | scsi_busy = AscReadLramByte(iop_base, |
iop_base | 5666 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 5692 | drivers/scsi/advansys.c | tag_code = AscReadLramByte(iop_base, |
iop_base | 5715 | drivers/scsi/advansys.c | AscWriteLramDWord(iop_base, |
iop_base | 5723 | drivers/scsi/advansys.c | if ((AscReadLramByte(iop_base, |
iop_base | 5775 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 5783 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 5803 | drivers/scsi/advansys.c | ctrl_reg = AscGetChipControl(iop_base); |
iop_base | 5807 | drivers/scsi/advansys.c | if ((chipstat = AscGetChipStatus(iop_base)) & CSW_INT_PENDING) { |
iop_base | 5809 | drivers/scsi/advansys.c | AscAckInterrupt(iop_base); |
iop_base | 5811 | drivers/scsi/advansys.c | host_flag = AscReadLramByte(iop_base, ASCV_HOST_FLAG_B); |
iop_base | 5812 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_HOST_FLAG_B, |
iop_base | 5814 | drivers/scsi/advansys.c | saved_ram_addr = AscGetChipLramAddr(iop_base); |
iop_base | 5842 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, saved_ram_addr); |
iop_base | 5843 | drivers/scsi/advansys.c | if (AscGetChipLramAddr(iop_base) != saved_ram_addr) { |
iop_base | 5846 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_HOST_FLAG_B, host_flag); |
iop_base | 5848 | drivers/scsi/advansys.c | AscSetChipControl(iop_base, saved_ctrl_reg); |
iop_base | 6047 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 6070 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 6089 | drivers/scsi/advansys.c | sdtr_data = AscReadLramByte(iop_base, |
iop_base | 6091 | drivers/scsi/advansys.c | AscMsgOutSDTR(iop_base, |
iop_base | 6293 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 6300 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 6304 | drivers/scsi/advansys.c | free_q_head = (uchar) AscGetVarFreeQHead(iop_base); |
iop_base | 6306 | drivers/scsi/advansys.c | if ((next_qp = AscAllocMultipleFreeQueue(iop_base, |
iop_base | 6320 | drivers/scsi/advansys.c | AscPutVarFreeQHead(iop_base, next_qp); |
iop_base | 6328 | drivers/scsi/advansys.c | if ((next_qp = AscAllocFreeQueue(iop_base, |
iop_base | 6339 | drivers/scsi/advansys.c | AscPutVarFreeQHead(iop_base, next_qp); |
iop_base | 6416 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 6418 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 6425 | drivers/scsi/advansys.c | sdtr_data = AscReadLramByte(iop_base, |
iop_base | 6429 | drivers/scsi/advansys.c | AscMsgOutSDTR(iop_base, |
iop_base | 6442 | drivers/scsi/advansys.c | AscMemWordCopyToLram(iop_base, |
iop_base | 6451 | drivers/scsi/advansys.c | DvcPutScsiQ(iop_base, |
iop_base | 6457 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, |
iop_base | 6466 | drivers/scsi/advansys.c | if (AscMemWordCmpToLram(iop_base, |
iop_base | 6473 | drivers/scsi/advansys.c | if (AscMemWordCmpToLram(iop_base, |
iop_base | 6486 | drivers/scsi/advansys.c | AscWriteLramDWord(iop_base, |
iop_base | 6488 | drivers/scsi/advansys.c | AscWriteLramDWord(iop_base, |
iop_base | 6493 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, |
iop_base | 6516 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 6518 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 6559 | drivers/scsi/advansys.c | next_qp = AscReadLramByte(iop_base, |
iop_base | 6564 | drivers/scsi/advansys.c | AscMemWordCopyToLram(iop_base, |
iop_base | 6569 | drivers/scsi/advansys.c | AscMemDWordCopyToLram(iop_base, |
iop_base | 6595 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 6597 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 6602 | drivers/scsi/advansys.c | if (AscStopQueueExe(iop_base) == 1) { |
iop_base | 6605 | drivers/scsi/advansys.c | AscCleanUpBusyQueue(iop_base); |
iop_base | 6606 | drivers/scsi/advansys.c | AscStartQueueExe(iop_base); |
iop_base | 6610 | drivers/scsi/advansys.c | AscStartQueueExe(iop_base); |
iop_base | 6623 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 6633 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 6640 | drivers/scsi/advansys.c | if (AscStopQueueExe(iop_base) == 1) { |
iop_base | 6643 | drivers/scsi/advansys.c | AscCleanUpBusyQueue(iop_base); |
iop_base | 6644 | drivers/scsi/advansys.c | AscStartQueueExe(iop_base); |
iop_base | 6664 | drivers/scsi/advansys.c | AscWriteLramByte(asc_dvc->iop_base, ASCV_MSGOUT_BEG, |
iop_base | 6675 | drivers/scsi/advansys.c | _AscWaitQDone(iop_base, (ASC_SCSI_Q dosfar *) scsiq); |
iop_base | 6676 | drivers/scsi/advansys.c | if (AscStopQueueExe(iop_base) == 1) { |
iop_base | 6678 | drivers/scsi/advansys.c | AscCleanUpDiscQueue(iop_base); |
iop_base | 6679 | drivers/scsi/advansys.c | AscStartQueueExe(iop_base); |
iop_base | 6682 | drivers/scsi/advansys.c | AscSetRunChipSynRegAtID(iop_base, tid_no, |
iop_base | 6695 | drivers/scsi/advansys.c | AscStartQueueExe(iop_base); |
iop_base | 6709 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 6711 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 6715 | drivers/scsi/advansys.c | AscStopQueueExe(iop_base); |
iop_base | 6718 | drivers/scsi/advansys.c | AscResetChipAndScsiBus(iop_base); |
iop_base | 6733 | drivers/scsi/advansys.c | AscSetChipSynRegAtID(iop_base, i, ASYN_SDTR_DATA_FIX_PCI_REV_AB); |
iop_base | 6739 | drivers/scsi/advansys.c | AscSetPCAddr(iop_base, ASC_MCODE_START_ADDR); |
iop_base | 6740 | drivers/scsi/advansys.c | if (AscGetPCAddr(iop_base) != ASC_MCODE_START_ADDR) { |
iop_base | 6743 | drivers/scsi/advansys.c | if (AscStartChip(iop_base) == 0) { |
iop_base | 6746 | drivers/scsi/advansys.c | AscStartQueueExe(iop_base); |
iop_base | 6754 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 6761 | drivers/scsi/advansys.c | if (AscHostReqRiscHalt(iop_base)) { |
iop_base | 6762 | drivers/scsi/advansys.c | sta = AscSetChipSynRegAtID(iop_base, tid_no, sdtr_data); |
iop_base | 6764 | drivers/scsi/advansys.c | AscStartChip(iop_base); |
iop_base | 6772 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 6777 | drivers/scsi/advansys.c | AscSetBank(iop_base, 1); |
iop_base | 6778 | drivers/scsi/advansys.c | AscWriteChipScsiID(iop_base, id); |
iop_base | 6779 | drivers/scsi/advansys.c | if (AscReadChipScsiID(iop_base) != (0x01 << id)) { |
iop_base | 6782 | drivers/scsi/advansys.c | AscSetBank(iop_base, 0); |
iop_base | 6783 | drivers/scsi/advansys.c | AscWriteChipSyn(iop_base, sdtr_data); |
iop_base | 6784 | drivers/scsi/advansys.c | if (AscReadChipSyn(iop_base) != sdtr_data) { |
iop_base | 6806 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 6809 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 6812 | drivers/scsi/advansys.c | AscMemWordSetLram(iop_base, ASC_QADR_BEG, 0, |
iop_base | 6819 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_FWD), |
iop_base | 6821 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_BWD), |
iop_base | 6823 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_QNO), |
iop_base | 6828 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_FWD), |
iop_base | 6830 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_BWD), |
iop_base | 6832 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_QNO), |
iop_base | 6836 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_FWD), |
iop_base | 6838 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_BWD), |
iop_base | 6840 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, (ushort) (s_addr + ASC_SCSIQ_B_QNO), |
iop_base | 6848 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 6850 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 6852 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 6864 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 6868 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 6869 | drivers/scsi/advansys.c | AscPutRiscVarFreeQHead(iop_base, 1); |
iop_base | 6870 | drivers/scsi/advansys.c | AscPutRiscVarDoneQTail(iop_base, asc_dvc->max_total_qng); |
iop_base | 6872 | drivers/scsi/advansys.c | AscPutVarFreeQHead(iop_base, 1); |
iop_base | 6873 | drivers/scsi/advansys.c | AscPutVarDoneQTail(iop_base, asc_dvc->max_total_qng); |
iop_base | 6875 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_BUSY_QHEAD_B, |
iop_base | 6877 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_DISC1_QHEAD_B, |
iop_base | 6880 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, (ushort) ASCV_TOTAL_READY_Q_B, |
iop_base | 6883 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, ASCV_ASCDVC_ERR_CODE_W, 0); |
iop_base | 6884 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, ASCV_HALTCODE_W, 0); |
iop_base | 6885 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_STOP_CODE_B, 0); |
iop_base | 6886 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_SCSIBUSY_B, 0); |
iop_base | 6887 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_WTM_FLAG_B, 0); |
iop_base | 6889 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, (ushort) ASCV_CDBCNT_B, 0); |
iop_base | 6893 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, lram_addr, 0); |
iop_base | 6908 | drivers/scsi/advansys.c | AscWriteLramWord(asc_dvc->iop_base, ASCV_ASCDVC_ERR_CODE_W, |
iop_base | 6916 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 6928 | drivers/scsi/advansys.c | q_status = AscReadLramByte(iop_base, q_addr + ASC_SCSIQ_B_STATUS); |
iop_base | 6950 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 6964 | drivers/scsi/advansys.c | AscMemWordCopyToLram(iop_base, ASCV_MSGOUT_BEG, |
iop_base | 6995 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 7001 | drivers/scsi/advansys.c | AscWriteChipSyn(iop_base, sdtr_data); |
iop_base | 7002 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 7050 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 7059 | drivers/scsi/advansys.c | q_status = (uchar) AscReadLramByte(iop_base, |
iop_base | 7061 | drivers/scsi/advansys.c | next_qp = AscReadLramByte(iop_base, |
iop_base | 7072 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 7080 | drivers/scsi/advansys.c | if ((free_q_head = AscAllocFreeQueue(iop_base, free_q_head)) |
iop_base | 7094 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 7102 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 7114 | drivers/scsi/advansys.c | scsiq->d2.srb_ptr = AscReadLramDWord(iop_base, |
iop_base | 7117 | drivers/scsi/advansys.c | _AscCopyLramScsiDoneQ(iop_base, q_addr, scsiq, asc_dvc->max_dma_count); |
iop_base | 7124 | drivers/scsi/advansys.c | AscWriteLramDWord(iop_base, |
iop_base | 7127 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 7145 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 7158 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 7173 | drivers/scsi/advansys.c | _AscCopyLramScsiDoneQ(iop_base, q_addr, scsiq, asc_dvc->max_dma_count); |
iop_base | 7181 | drivers/scsi/advansys.c | AscWriteLramDWord(iop_base, |
iop_base | 7185 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 7202 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7209 | drivers/scsi/advansys.c | if (AscIsChipHalted(iop_base)) |
iop_base | 7211 | drivers/scsi/advansys.c | saved_stop_code = AscReadLramByte(iop_base, ASCV_STOP_CODE_B); |
iop_base | 7213 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_STOP_CODE_B, |
iop_base | 7217 | drivers/scsi/advansys.c | if (AscIsChipHalted(iop_base)) { |
iop_base | 7224 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_STOP_CODE_B, saved_stop_code); |
iop_base | 7230 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7236 | drivers/scsi/advansys.c | if (AscReadLramByte(iop_base, ASCV_STOP_CODE_B) == 0) { |
iop_base | 7237 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_STOP_CODE_B, |
iop_base | 7240 | drivers/scsi/advansys.c | if (AscReadLramByte(iop_base, ASCV_STOP_CODE_B) & |
iop_base | 7252 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7255 | drivers/scsi/advansys.c | if (AscReadLramByte(iop_base, ASCV_STOP_CODE_B) != 0) { |
iop_base | 7256 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_STOP_CODE_B, 0); |
iop_base | 7263 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7270 | drivers/scsi/advansys.c | if (AscReadLramByte(iop_base, ASCV_STOP_CODE_B) != 0) { |
iop_base | 7271 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_STOP_CODE_B, |
iop_base | 7274 | drivers/scsi/advansys.c | stop_code = AscReadLramByte(iop_base, ASCV_STOP_CODE_B); |
iop_base | 7285 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7292 | drivers/scsi/advansys.c | if (AscReadLramByte(iop_base, ASCV_STOP_CODE_B) != 0) { |
iop_base | 7293 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_STOP_CODE_B, |
iop_base | 7296 | drivers/scsi/advansys.c | stop_code = AscReadLramByte(iop_base, ASCV_STOP_CODE_B); |
iop_base | 7362 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7369 | drivers/scsi/advansys.c | eisa_iop = ASC_GET_EISA_SLOT(iop_base) | ASC_EISA_PID_IOP_MASK; |
iop_base | 7378 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7383 | drivers/scsi/advansys.c | if (iop_base == 0) { |
iop_base | 7384 | drivers/scsi/advansys.c | iop_base = ASC_EISA_MIN_IOP_ADDR; |
iop_base | 7386 | drivers/scsi/advansys.c | if (iop_base == ASC_EISA_MAX_IOP_ADDR) |
iop_base | 7388 | drivers/scsi/advansys.c | if ((iop_base & 0x0050) == 0x0050) { |
iop_base | 7389 | drivers/scsi/advansys.c | iop_base += ASC_EISA_BIG_IOP_GAP; |
iop_base | 7391 | drivers/scsi/advansys.c | iop_base += ASC_EISA_SMALL_IOP_GAP; |
iop_base | 7394 | drivers/scsi/advansys.c | while (iop_base <= ASC_EISA_MAX_IOP_ADDR) { |
iop_base | 7396 | drivers/scsi/advansys.c | eisa_product_id = AscGetEisaProductID(iop_base); |
iop_base | 7399 | drivers/scsi/advansys.c | if (AscFindSignature(iop_base)) { |
iop_base | 7401 | drivers/scsi/advansys.c | inpw(iop_base + 4); |
iop_base | 7402 | drivers/scsi/advansys.c | return (iop_base); |
iop_base | 7405 | drivers/scsi/advansys.c | if (iop_base == ASC_EISA_MAX_IOP_ADDR) |
iop_base | 7407 | drivers/scsi/advansys.c | if ((iop_base & 0x0050) == 0x0050) { |
iop_base | 7408 | drivers/scsi/advansys.c | iop_base += ASC_EISA_BIG_IOP_GAP; |
iop_base | 7410 | drivers/scsi/advansys.c | iop_base += ASC_EISA_SMALL_IOP_GAP; |
iop_base | 7418 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7421 | drivers/scsi/advansys.c | AscSetChipControl(iop_base, 0); |
iop_base | 7422 | drivers/scsi/advansys.c | if ((AscGetChipStatus(iop_base) & CSW_HALTED) != 0) { |
iop_base | 7430 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7435 | drivers/scsi/advansys.c | cc_val = AscGetChipControl(iop_base) & (~(CC_SINGLE_STEP | CC_TEST | CC_DIAG)); |
iop_base | 7436 | drivers/scsi/advansys.c | AscSetChipControl(iop_base, (uchar) (cc_val | CC_HALT)); |
iop_base | 7437 | drivers/scsi/advansys.c | AscSetChipIH(iop_base, INS_HALT); |
iop_base | 7438 | drivers/scsi/advansys.c | AscSetChipIH(iop_base, INS_RFLAG_WTM); |
iop_base | 7439 | drivers/scsi/advansys.c | if ((AscGetChipStatus(iop_base) & CSW_HALTED) == 0) { |
iop_base | 7447 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7451 | drivers/scsi/advansys.c | if ((AscGetChipStatus(iop_base) & CSW_HALTED) != 0) { |
iop_base | 7452 | drivers/scsi/advansys.c | if ((AscGetChipControl(iop_base) & CC_HALT) != 0) { |
iop_base | 7461 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 7465 | drivers/scsi/advansys.c | AscSetBank(iop_base, 1); |
iop_base | 7466 | drivers/scsi/advansys.c | AscWriteChipIH(iop_base, ins_code); |
iop_base | 7467 | drivers/scsi/advansys.c | AscSetBank(iop_base, 0); |
iop_base | 7473 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7483 | drivers/scsi/advansys.c | risc_flag = AscReadLramByte(iop_base, ASCV_RISC_FLAG_B); |
iop_base | 7489 | drivers/scsi/advansys.c | host_flag = AscReadLramByte(iop_base, ASCV_HOST_FLAG_B); |
iop_base | 7490 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_HOST_FLAG_B, |
iop_base | 7493 | drivers/scsi/advansys.c | AscSetChipStatus(iop_base, CIW_INT_ACK); |
iop_base | 7495 | drivers/scsi/advansys.c | while (AscGetChipStatus(iop_base) & CSW_INT_PENDING) { |
iop_base | 7497 | drivers/scsi/advansys.c | AscSetChipStatus(iop_base, CIW_INT_ACK); |
iop_base | 7503 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_HOST_FLAG_B, host_flag); |
iop_base | 7509 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7514 | drivers/scsi/advansys.c | cfg = AscGetChipCfgLsw(iop_base); |
iop_base | 7515 | drivers/scsi/advansys.c | AscSetChipCfgLsw(iop_base, cfg & (~ASC_CFG0_HOST_INT_ON)); |
iop_base | 7521 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7526 | drivers/scsi/advansys.c | cfg = AscGetChipCfgLsw(iop_base); |
iop_base | 7527 | drivers/scsi/advansys.c | AscSetChipCfgLsw(iop_base, cfg | ASC_CFG0_HOST_INT_ON); |
iop_base | 7533 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 7539 | drivers/scsi/advansys.c | val = AscGetChipControl(iop_base) & |
iop_base | 7548 | drivers/scsi/advansys.c | AscSetChipControl(iop_base, val); |
iop_base | 7554 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7557 | drivers/scsi/advansys.c | AscStopChip(iop_base); |
iop_base | 7558 | drivers/scsi/advansys.c | AscSetChipControl(iop_base, CC_CHIP_RESET | CC_SCSI_RESET | CC_HALT); |
iop_base | 7561 | drivers/scsi/advansys.c | AscSetChipIH(iop_base, INS_RFLAG_WTM); |
iop_base | 7562 | drivers/scsi/advansys.c | AscSetChipIH(iop_base, INS_HALT); |
iop_base | 7564 | drivers/scsi/advansys.c | AscSetChipControl(iop_base, CC_CHIP_RESET | CC_HALT); |
iop_base | 7565 | drivers/scsi/advansys.c | AscSetChipControl(iop_base, CC_HALT); |
iop_base | 7567 | drivers/scsi/advansys.c | return (AscIsChipHalted(iop_base)); |
iop_base | 7572 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7577 | drivers/scsi/advansys.c | channel = AscGetChipCfgLsw(iop_base) & 0x0003; |
iop_base | 7587 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 7600 | drivers/scsi/advansys.c | cfg_lsw = AscGetChipCfgLsw(iop_base) & 0xFFFC; |
iop_base | 7602 | drivers/scsi/advansys.c | AscSetChipCfgLsw(iop_base, cfg_lsw); |
iop_base | 7603 | drivers/scsi/advansys.c | return (AscGetIsaDmaChannel(iop_base)); |
iop_base | 7610 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 7615 | drivers/scsi/advansys.c | AscSetBank(iop_base, 1); |
iop_base | 7616 | drivers/scsi/advansys.c | AscSetChipDmaSpeed(iop_base, speed_value); |
iop_base | 7617 | drivers/scsi/advansys.c | AscSetBank(iop_base, 0); |
iop_base | 7618 | drivers/scsi/advansys.c | return (AscGetIsaDmaSpeed(iop_base)); |
iop_base | 7623 | drivers/scsi/advansys.c | PortAddr iop_base |
iop_base | 7628 | drivers/scsi/advansys.c | AscSetBank(iop_base, 1); |
iop_base | 7629 | drivers/scsi/advansys.c | speed_value = AscGetChipDmaSpeed(iop_base); |
iop_base | 7631 | drivers/scsi/advansys.c | AscSetBank(iop_base, 0); |
iop_base | 7658 | drivers/scsi/advansys.c | if (AscFindSignature(asc_dvc->iop_base)) { |
iop_base | 7683 | drivers/scsi/advansys.c | if (AscFindSignature(asc_dvc->iop_base)) { |
iop_base | 7698 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 7705 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 7712 | drivers/scsi/advansys.c | AscResetChipAndScsiBus(iop_base); |
iop_base | 7719 | drivers/scsi/advansys.c | if (!AscFindSignature(asc_dvc->iop_base)) { |
iop_base | 7724 | drivers/scsi/advansys.c | AscDisableInterrupt(iop_base); |
iop_base | 7731 | drivers/scsi/advansys.c | if (AscLoadMicroCode(iop_base, 0, (ushort dosfar *) _mcode_buf, |
iop_base | 7740 | drivers/scsi/advansys.c | AscEnableInterrupt(iop_base); |
iop_base | 7750 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 7753 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 7788 | drivers/scsi/advansys.c | asc_dvc->cfg->chip_version = AscGetChipVersion(iop_base, |
iop_base | 7790 | drivers/scsi/advansys.c | if (AscGetChipBusType(iop_base) == ASC_IS_ISAPNP) { |
iop_base | 7792 | drivers/scsi/advansys.c | AscPutChipIFC(iop_base, IFC_INIT_DEFAULT); |
iop_base | 7799 | drivers/scsi/advansys.c | asc_dvc->cfg->isa_dma_channel = (uchar) AscGetIsaDmaChannel(iop_base); |
iop_base | 7826 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 7830 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 7833 | drivers/scsi/advansys.c | cfg_msw = AscGetChipCfgMsw(iop_base); |
iop_base | 7838 | drivers/scsi/advansys.c | AscSetChipCfgMsw(iop_base, cfg_msw); |
iop_base | 7840 | drivers/scsi/advansys.c | if (AscGetChipStatus(iop_base) & CSW_AUTO_CONFIG) { |
iop_base | 7851 | drivers/scsi/advansys.c | if (AscSetChipIRQ(iop_base, asc_dvc->irq_no, asc_dvc->bus_type) |
iop_base | 7856 | drivers/scsi/advansys.c | if (AscSetChipScsiID(iop_base, asc_dvc->cfg->chip_scsi_id) != |
iop_base | 7861 | drivers/scsi/advansys.c | AscSetIsaDmaChannel(iop_base, asc_dvc->cfg->isa_dma_channel); |
iop_base | 7862 | drivers/scsi/advansys.c | AscSetIsaDmaSpeed(iop_base, asc_dvc->cfg->isa_dma_speed); |
iop_base | 7874 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 7880 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 7883 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, ASCV_HALTCODE_W, 0x00FE); |
iop_base | 7885 | drivers/scsi/advansys.c | AscStopQueueExe(iop_base); |
iop_base | 7886 | drivers/scsi/advansys.c | if ((AscStopChip(iop_base) == FALSE) || |
iop_base | 7887 | drivers/scsi/advansys.c | (AscGetChipScsiCtrl(iop_base) != 0)) { |
iop_base | 7889 | drivers/scsi/advansys.c | AscResetChipAndScsiBus(iop_base); |
iop_base | 7892 | drivers/scsi/advansys.c | if (AscIsChipHalted(iop_base) == FALSE) { |
iop_base | 7896 | drivers/scsi/advansys.c | AscSetPCAddr(iop_base, ASC_MCODE_START_ADDR); |
iop_base | 7897 | drivers/scsi/advansys.c | if (AscGetPCAddr(iop_base) != ASC_MCODE_START_ADDR) { |
iop_base | 7903 | drivers/scsi/advansys.c | cfg_msw = AscGetChipCfgMsw(iop_base); |
iop_base | 7904 | drivers/scsi/advansys.c | cfg_lsw = AscGetChipCfgLsw(iop_base); |
iop_base | 7909 | drivers/scsi/advansys.c | AscSetChipCfgMsw(iop_base, cfg_msw); |
iop_base | 7918 | drivers/scsi/advansys.c | AscSetChipCfgMsw(iop_base, cfg_msw); |
iop_base | 7920 | drivers/scsi/advansys.c | chksum = AscGetEEPConfig(iop_base, eep_config, asc_dvc->bus_type); |
iop_base | 7924 | drivers/scsi/advansys.c | if (AscGetChipStatus(iop_base) & CSW_AUTO_CONFIG) { |
iop_base | 7931 | drivers/scsi/advansys.c | eep_config->cfg_lsw = AscGetChipCfgLsw(iop_base); |
iop_base | 7935 | drivers/scsi/advansys.c | eep_config->cfg_msw = AscGetChipCfgMsw(iop_base); |
iop_base | 7960 | drivers/scsi/advansys.c | if (AscGetChipVersion(iop_base, asc_dvc->bus_type) |
iop_base | 7969 | drivers/scsi/advansys.c | AscSetChipCfgMsw(iop_base, cfg_msw); |
iop_base | 7975 | drivers/scsi/advansys.c | asc_dvc->err_code |= AscTestLramEndian(iop_base); |
iop_base | 7997 | drivers/scsi/advansys.c | asc_dvc->irq_no = AscGetChipIRQ(iop_base, asc_dvc->bus_type); |
iop_base | 8006 | drivers/scsi/advansys.c | eep_config->cfg_msw = AscGetChipCfgMsw(iop_base); |
iop_base | 8007 | drivers/scsi/advansys.c | if (AscSetEEPConfig(iop_base, eep_config, asc_dvc->bus_type) != 0) { |
iop_base | 8020 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 8023 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 8026 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, (ushort) (ASCV_SDTR_DATA_BEG + i), |
iop_base | 8032 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_DISC_ENABLE_B, |
iop_base | 8034 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_HOSTSCSI_ID_B, |
iop_base | 8043 | drivers/scsi/advansys.c | AscWriteLramDWord(iop_base, ASCV_OVERRUN_PADDR_D, phy_addr); |
iop_base | 8044 | drivers/scsi/advansys.c | AscWriteLramDWord(iop_base, ASCV_OVERRUN_BSIZE_D, |
iop_base | 8048 | drivers/scsi/advansys.c | asc_dvc->cfg->mcode_date = AscReadLramWord(iop_base, |
iop_base | 8050 | drivers/scsi/advansys.c | asc_dvc->cfg->mcode_version = AscReadLramWord(iop_base, |
iop_base | 8052 | drivers/scsi/advansys.c | AscSetPCAddr(iop_base, ASC_MCODE_START_ADDR); |
iop_base | 8053 | drivers/scsi/advansys.c | if (AscGetPCAddr(iop_base) != ASC_MCODE_START_ADDR) { |
iop_base | 8057 | drivers/scsi/advansys.c | if (AscStartChip(iop_base) != 1) { |
iop_base | 8109 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 8114 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 8118 | drivers/scsi/advansys.c | saved_word = AscReadLramWord(iop_base, q_addr); |
iop_base | 8119 | drivers/scsi/advansys.c | if (AscVerWriteLramWord(iop_base, q_addr, 0x55AA) == 0) { |
iop_base | 8121 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, q_addr, saved_word); |
iop_base | 8132 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8141 | drivers/scsi/advansys.c | AscSetChipEEPCmd(iop_base, cmd_reg); |
iop_base | 8143 | drivers/scsi/advansys.c | read_back = AscGetChipEEPCmd(iop_base); |
iop_base | 8155 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8164 | drivers/scsi/advansys.c | AscSetChipEEPData(iop_base, data_reg); |
iop_base | 8166 | drivers/scsi/advansys.c | read_back = AscGetChipEEPData(iop_base); |
iop_base | 8196 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8203 | drivers/scsi/advansys.c | AscWriteEEPCmdReg(iop_base, ASC_EEP_CMD_WRITE_DISABLE); |
iop_base | 8206 | drivers/scsi/advansys.c | AscWriteEEPCmdReg(iop_base, cmd_reg); |
iop_base | 8208 | drivers/scsi/advansys.c | read_wval = AscGetChipEEPData(iop_base); |
iop_base | 8215 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8222 | drivers/scsi/advansys.c | read_wval = AscReadEEPWord(iop_base, addr); |
iop_base | 8224 | drivers/scsi/advansys.c | AscWriteEEPCmdReg(iop_base, ASC_EEP_CMD_WRITE_ABLE); |
iop_base | 8227 | drivers/scsi/advansys.c | AscWriteEEPDataReg(iop_base, word_val); |
iop_base | 8230 | drivers/scsi/advansys.c | AscWriteEEPCmdReg(iop_base, |
iop_base | 8234 | drivers/scsi/advansys.c | AscWriteEEPCmdReg(iop_base, ASC_EEP_CMD_WRITE_DISABLE); |
iop_base | 8236 | drivers/scsi/advansys.c | return (AscReadEEPWord(iop_base, addr)); |
iop_base | 8243 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8260 | drivers/scsi/advansys.c | wval = AscReadEEPWord(iop_base, (uchar) s_addr); |
iop_base | 8275 | drivers/scsi/advansys.c | wval = AscReadEEPWord(iop_base, (uchar) s_addr); |
iop_base | 8279 | drivers/scsi/advansys.c | *wbuf = AscReadEEPWord(iop_base, (uchar) s_addr); |
iop_base | 8285 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8301 | drivers/scsi/advansys.c | if (*wbuf != AscWriteEEPWord(iop_base, (uchar) s_addr, *wbuf)) { |
iop_base | 8315 | drivers/scsi/advansys.c | if (*wbuf != AscWriteEEPWord(iop_base, (uchar) s_addr, *wbuf)) { |
iop_base | 8320 | drivers/scsi/advansys.c | if (sum != AscWriteEEPWord(iop_base, (uchar) s_addr, sum)) { |
iop_base | 8325 | drivers/scsi/advansys.c | if (*wbuf != AscReadEEPWord(iop_base, (uchar) s_addr)) { |
iop_base | 8331 | drivers/scsi/advansys.c | if (*wbuf != AscReadEEPWord(iop_base, (uchar) s_addr)) { |
iop_base | 8340 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8349 | drivers/scsi/advansys.c | if ((n_error = AscSetEEPConfigOnce(iop_base, cfg_buf, |
iop_base | 8365 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 8367 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 8373 | drivers/scsi/advansys.c | AscDisableInterrupt(iop_base); |
iop_base | 8377 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_DISC_ENABLE_B, 0x00); |
iop_base | 8390 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 8393 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 8395 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_DISC_ENABLE_B, |
iop_base | 8397 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_USE_TAGGED_QNG_B, |
iop_base | 8399 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, ASCV_CAN_TAGGED_QNG_B, |
iop_base | 8403 | drivers/scsi/advansys.c | AscWriteLramByte(iop_base, |
iop_base | 8408 | drivers/scsi/advansys.c | AscEnableInterrupt(iop_base); |
iop_base | 8530 | drivers/scsi/advansys.c | AscSetRunChipSynRegAtID(asc_dvc->iop_base, tid_no, |
iop_base | 8758 | drivers/scsi/advansys.c | PortAddr iop_base; |
iop_base | 8760 | drivers/scsi/advansys.c | iop_base = asc_dvc->iop_base; |
iop_base | 8787 | drivers/scsi/advansys.c | if (AscIsChipHalted(iop_base)) { |
iop_base | 8792 | drivers/scsi/advansys.c | if (AscIsIntPending(iop_base)) { |
iop_base | 8804 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8812 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr - 1); |
iop_base | 8813 | drivers/scsi/advansys.c | word_data = AscGetChipLramData(iop_base); |
iop_base | 8822 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
iop_base | 8823 | drivers/scsi/advansys.c | word_data = AscGetChipLramData(iop_base); |
iop_base | 8837 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8843 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
iop_base | 8844 | drivers/scsi/advansys.c | word_data = AscGetChipLramData(iop_base); |
iop_base | 8850 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8857 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
iop_base | 8860 | drivers/scsi/advansys.c | val_low = AscGetChipLramData(iop_base); |
iop_base | 8862 | drivers/scsi/advansys.c | val_high = AscGetChipLramData(iop_base); |
iop_base | 8864 | drivers/scsi/advansys.c | val_high = AscGetChipLramData(iop_base); |
iop_base | 8865 | drivers/scsi/advansys.c | val_low = AscGetChipLramData(iop_base); |
iop_base | 8874 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8879 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
iop_base | 8880 | drivers/scsi/advansys.c | AscPutChipLramData(iop_base, word_val); |
iop_base | 8886 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8893 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
iop_base | 8897 | drivers/scsi/advansys.c | AscPutChipLramData(iop_base, word_val); |
iop_base | 8899 | drivers/scsi/advansys.c | AscPutChipLramData(iop_base, word_val); |
iop_base | 8902 | drivers/scsi/advansys.c | AscPutChipLramData(iop_base, word_val); |
iop_base | 8904 | drivers/scsi/advansys.c | AscPutChipLramData(iop_base, word_val); |
iop_base | 8911 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8920 | drivers/scsi/advansys.c | word_data = AscReadLramWord(iop_base, addr); |
iop_base | 8924 | drivers/scsi/advansys.c | word_data = AscReadLramWord(iop_base, addr); |
iop_base | 8928 | drivers/scsi/advansys.c | AscWriteLramWord(iop_base, addr, word_data); |
iop_base | 8934 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8942 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
iop_base | 8943 | drivers/scsi/advansys.c | AscPutChipLramData(iop_base, word_val); |
iop_base | 8944 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, addr); |
iop_base | 8945 | drivers/scsi/advansys.c | if (word_val != AscGetChipLramData(iop_base)) { |
iop_base | 8953 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8959 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, s_addr); |
iop_base | 8960 | drivers/scsi/advansys.c | DvcOutPortWords(iop_base + IOP_RAM_DATA, s_buffer, words); |
iop_base | 8966 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8972 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, s_addr); |
iop_base | 8973 | drivers/scsi/advansys.c | DvcOutPortDWords(iop_base + IOP_RAM_DATA, s_buffer, dwords); |
iop_base | 8979 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 8985 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, s_addr); |
iop_base | 8986 | drivers/scsi/advansys.c | DvcInPortWords(iop_base + IOP_RAM_DATA, d_buffer, words); |
iop_base | 8992 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 9002 | drivers/scsi/advansys.c | sum += AscReadLramWord(iop_base, s_addr); |
iop_base | 9009 | drivers/scsi/advansys.c | PortAddr iop_base, |
iop_base | 9017 | drivers/scsi/advansys.c | AscSetChipLramAddr(iop_base, s_addr); |
iop_base | 9019 | drivers/scsi/advansys.c | AscPutChipLramData(iop_base, set_wval); |