H A D | advansys.c | 123 #define PortAddr unsigned int /* port address size */ macro 558 PortAddr iop_base; 851 #define ASC_GET_EISA_SLOT(iop) (PortAddr)((iop) & 0xF000) 889 #define AscGetChipLramAddr(port) (ushort)inpw((PortAddr)((port)+IOP_RAM_ADDR)) 890 #define AscSetChipLramAddr(port, addr) outpw((PortAddr)((port)+IOP_RAM_ADDR), addr) 3813 static void AscSetBank(PortAddr iop_base, uchar bank) AscSetBank() 3831 static void AscSetChipIH(PortAddr iop_base, ushort ins_code) AscSetChipIH() 3838 static int AscStartChip(PortAddr iop_base) AscStartChip() 3847 static int AscStopChip(PortAddr iop_base) AscStopChip() 3863 static int AscIsChipHalted(PortAddr iop_base) AscIsChipHalted() 3875 PortAddr iop_base; AscResetChipAndScsiBus() 3896 static int AscFindSignature(PortAddr iop_base) AscFindSignature() 3914 static void AscEnableInterrupt(PortAddr iop_base) AscEnableInterrupt() 3922 static void AscDisableInterrupt(PortAddr iop_base) AscDisableInterrupt() 3930 static uchar AscReadLramByte(PortAddr iop_base, ushort addr) AscReadLramByte() 3947 static ushort AscReadLramWord(PortAddr iop_base, ushort addr) AscReadLramWord() 3957 static ASC_DCNT AscReadLramDWord(PortAddr iop_base, ushort addr) AscReadLramDWord() 3971 AscMemWordSetLram(PortAddr iop_base, ushort s_addr, ushort set_wval, int words) AscMemWordSetLram() 3981 static void AscWriteLramWord(PortAddr iop_base, ushort addr, ushort word_val) AscWriteLramWord() 3987 static void AscWriteLramByte(PortAddr iop_base, ushort addr, uchar byte_val) AscWriteLramByte() 4011 AscMemWordCopyPtrToLram(PortAddr iop_base, ushort s_addr, AscMemWordCopyPtrToLram() 4038 AscMemDWordCopyPtrToLram(PortAddr iop_base, AscMemDWordCopyPtrToLram() 4057 AscMemWordCopyPtrFromLram(PortAddr iop_base, AscMemWordCopyPtrFromLram() 4071 static ASC_DCNT AscMemSumLramWord(PortAddr iop_base, ushort s_addr, int words) AscMemSumLramWord() 4087 PortAddr iop_base; AscInitLram() 4134 AscLoadMicroCode(PortAddr iop_base, ushort s_addr, AscLoadMicroCode() 4162 PortAddr iop_base; AscInitQLinkVar() 4193 PortAddr iop_base; AscInitMicroCodeVar() 4260 PortAddr iop_base; AscInitAsc1000Driver() 6431 static void AscAckInterrupt(PortAddr iop_base) AscAckInterrupt() 6487 PortAddr iop_base; AscMsgOutSDTR() 6524 static int AscSetChipSynRegAtID(PortAddr iop_base, uchar id, uchar sdtr_data) AscSetChipSynRegAtID() 6553 static void AscSetChipSDTR(PortAddr iop_base, uchar sdtr_data, uchar tid_no) AscSetChipSDTR() 6568 PortAddr iop_base; AscIsrChipHalted() 7017 * DvcGetQinfo(PortAddr iop_base, ushort s_addr, uchar *inbuf, int words) 7026 DvcGetQinfo(PortAddr iop_base, ushort s_addr, uchar *inbuf, int words) DvcGetQinfo() 7044 _AscCopyLramScsiDoneQ(PortAddr iop_base, _AscCopyLramScsiDoneQ() 7217 PortAddr iop_base; AscIsrQDone() 7366 PortAddr iop_base; AscISR() 7610 static int AscHostReqRiscHalt(PortAddr iop_base) AscHostReqRiscHalt() 7633 AscSetRunChipSynRegAtID(PortAddr iop_base, uchar tid_no, uchar sdtr_data) AscSetRunChipSynRegAtID() 8257 static uchar AscAllocFreeQueue(PortAddr iop_base, uchar free_q_head) AscAllocFreeQueue() 8274 AscAllocMultipleFreeQueue(PortAddr iop_base, uchar free_q_head, uchar n_free_q) AscAllocMultipleFreeQueue() 8288 * DvcPutScsiQ(PortAddr iop_base, ushort s_addr, uchar *outbuf, int words) 8297 DvcPutScsiQ(PortAddr iop_base, ushort s_addr, uchar *outbuf, int words) DvcPutScsiQ() 8319 PortAddr iop_base; AscPutReadyQueue() 8363 PortAddr iop_base; AscPutReadySgListQueue() 8491 PortAddr iop_base; AscSendScsiQueue() 8550 PortAddr iop_base; AscExeScsiQueue() 9013 static ushort AscGetEisaChipCfg(PortAddr iop_base) AscGetEisaChipCfg() 9015 PortAddr eisa_cfg_iop = (PortAddr) ASC_GET_EISA_SLOT(iop_base) | AscGetEisaChipCfg() 9016 (PortAddr) (ASC_EISA_CFG_IOP_MASK); AscGetEisaChipCfg() 9024 static unsigned short AscGetChipBiosAddress(PortAddr iop_base, AscGetChipBiosAddress() 9056 static uchar AscSetChipScsiID(PortAddr iop_base, uchar new_host_id) AscSetChipScsiID() 9070 static unsigned char AscGetChipScsiCtrl(PortAddr iop_base) AscGetChipScsiCtrl() 9080 static unsigned char AscGetChipVersion(PortAddr iop_base, AscGetChipVersion() 9084 PortAddr eisa_iop; AscGetChipVersion() 9086 eisa_iop = (PortAddr) ASC_GET_EISA_SLOT(iop_base) | AscGetChipVersion() 9087 (PortAddr) ASC_EISA_REV_IOP_MASK; AscGetChipVersion() 9107 static int AscStopQueueExe(PortAddr iop_base) AscStopQueueExe() 9135 static ushort AscGetIsaDmaChannel(PortAddr iop_base) AscGetIsaDmaChannel() 9147 static ushort AscSetIsaDmaChannel(PortAddr iop_base, ushort dma_channel) AscSetIsaDmaChannel() 9165 static uchar AscGetIsaDmaSpeed(PortAddr iop_base) AscGetIsaDmaSpeed() 9176 static uchar AscSetIsaDmaSpeed(PortAddr iop_base, uchar speed_value) AscSetIsaDmaSpeed() 9189 PortAddr iop_base; AscInitAscDvcVar() 9273 static int AscWriteEEPCmdReg(PortAddr iop_base, uchar cmd_reg) AscWriteEEPCmdReg() 9293 static ushort AscReadEEPWord(PortAddr iop_base, uchar addr) AscReadEEPWord() 9308 static ushort AscGetEEPConfig(PortAddr iop_base, ASCEEP_CONFIG *cfg_buf, AscGetEEPConfig() 9357 PortAddr iop_base; AscTestExternalLram() 9382 static int AscWriteEEPDataReg(PortAddr iop_base, ushort data_reg) AscWriteEEPDataReg() 9401 static ushort AscWriteEEPWord(PortAddr iop_base, uchar addr, ushort word_val) AscWriteEEPWord() 9421 static int AscSetEEPConfigOnce(PortAddr iop_base, ASCEEP_CONFIG *cfg_buf, AscSetEEPConfigOnce() 9517 static int AscSetEEPConfig(PortAddr iop_base, ASCEEP_CONFIG *cfg_buf, AscSetEEPConfig() 9540 PortAddr iop_base; AscInitFromEEP() 9759 PortAddr iop_base = asc_dvc->iop_base; AscInitSetConfig() 11884 static PortAddr _asc_def_iop_base[ASC_IOADR_TABLE_MAX_IX] = { 11896 static unsigned int advansys_isa_irq_no(PortAddr iop_base) advansys_isa_irq_no() 11908 PortAddr iop_base = _asc_def_iop_base[id]; advansys_isa_probe() 11973 static unsigned int advansys_vlb_irq_no(PortAddr iop_base) advansys_vlb_irq_no() 11985 PortAddr iop_base = _asc_def_iop_base[id]; advansys_vlb_probe()
|