H A D | advansys.c | 79 #define PortAddr unsigned int /* port address size */ macro 503 PortAddr iop_base; 794 #define ASC_GET_EISA_SLOT(iop) (PortAddr)((iop) & 0xF000) 832 #define AscGetChipLramAddr(port) (ushort)inpw((PortAddr)((port)+IOP_RAM_ADDR)) 833 #define AscSetChipLramAddr(port, addr) outpw((PortAddr)((port)+IOP_RAM_ADDR), addr) 3660 static void AscSetBank(PortAddr iop_base, uchar bank) AscSetBank() 3678 static void AscSetChipIH(PortAddr iop_base, ushort ins_code) AscSetChipIH() 3685 static int AscStartChip(PortAddr iop_base) AscStartChip() 3694 static bool AscStopChip(PortAddr iop_base) AscStopChip() 3710 static bool AscIsChipHalted(PortAddr iop_base) AscIsChipHalted() 3722 PortAddr iop_base; AscResetChipAndScsiBus() 3743 static int AscFindSignature(PortAddr iop_base) AscFindSignature() 3761 static void AscEnableInterrupt(PortAddr iop_base) AscEnableInterrupt() 3769 static void AscDisableInterrupt(PortAddr iop_base) AscDisableInterrupt() 3777 static uchar AscReadLramByte(PortAddr iop_base, ushort addr) AscReadLramByte() 3794 static ushort AscReadLramWord(PortAddr iop_base, ushort addr) AscReadLramWord() 3804 AscMemWordSetLram(PortAddr iop_base, ushort s_addr, ushort set_wval, int words) AscMemWordSetLram() 3814 static void AscWriteLramWord(PortAddr iop_base, ushort addr, ushort word_val) AscWriteLramWord() 3820 static void AscWriteLramByte(PortAddr iop_base, ushort addr, uchar byte_val) AscWriteLramByte() 3844 AscMemWordCopyPtrToLram(PortAddr iop_base, ushort s_addr, AscMemWordCopyPtrToLram() 3871 AscMemDWordCopyPtrToLram(PortAddr iop_base, AscMemDWordCopyPtrToLram() 3890 AscMemWordCopyPtrFromLram(PortAddr iop_base, AscMemWordCopyPtrFromLram() 3904 static u32 AscMemSumLramWord(PortAddr iop_base, ushort s_addr, int words) AscMemSumLramWord() 3919 PortAddr iop_base; AscInitLram() 3963 AscLoadMicroCode(PortAddr iop_base, ushort s_addr, AscLoadMicroCode() 3991 PortAddr iop_base; AscInitQLinkVar() 4022 PortAddr iop_base; AscInitMicroCodeVar() 4089 PortAddr iop_base; AscInitAsc1000Driver() 6240 static void AscAckInterrupt(PortAddr iop_base) AscAckInterrupt() 6296 PortAddr iop_base; AscMsgOutSDTR() 6333 static bool AscSetChipSynRegAtID(PortAddr iop_base, uchar id, uchar sdtr_data) AscSetChipSynRegAtID() 6362 static void AscSetChipSDTR(PortAddr iop_base, uchar sdtr_data, uchar tid_no) AscSetChipSDTR() 6377 PortAddr iop_base; AscIsrChipHalted() 6669 * DvcGetQinfo(PortAddr iop_base, ushort s_addr, uchar *inbuf, int words) 6678 DvcGetQinfo(PortAddr iop_base, ushort s_addr, uchar *inbuf, int words) DvcGetQinfo() 6696 _AscCopyLramScsiDoneQ(PortAddr iop_base, _AscCopyLramScsiDoneQ() 6868 PortAddr iop_base; AscIsrQDone() 7020 PortAddr iop_base; AscISR() 7257 static bool AscHostReqRiscHalt(PortAddr iop_base) AscHostReqRiscHalt() 7280 AscSetRunChipSynRegAtID(PortAddr iop_base, uchar tid_no, uchar sdtr_data) AscSetRunChipSynRegAtID() 7909 static uchar AscAllocFreeQueue(PortAddr iop_base, uchar free_q_head) AscAllocFreeQueue() 7926 AscAllocMultipleFreeQueue(PortAddr iop_base, uchar free_q_head, uchar n_free_q) AscAllocMultipleFreeQueue() 7940 * DvcPutScsiQ(PortAddr iop_base, ushort s_addr, uchar *outbuf, int words) 7949 DvcPutScsiQ(PortAddr iop_base, ushort s_addr, uchar *outbuf, int words) DvcPutScsiQ() 7971 PortAddr iop_base; AscPutReadyQueue() 8015 PortAddr iop_base; AscPutReadySgListQueue() 8102 PortAddr iop_base; AscSendScsiQueue() 8161 PortAddr iop_base; AscExeScsiQueue() 8586 static ushort AscGetEisaChipCfg(PortAddr iop_base) AscGetEisaChipCfg() 8588 PortAddr eisa_cfg_iop = (PortAddr) ASC_GET_EISA_SLOT(iop_base) | AscGetEisaChipCfg() 8589 (PortAddr) (ASC_EISA_CFG_IOP_MASK); AscGetEisaChipCfg() 8597 static unsigned short AscGetChipBiosAddress(PortAddr iop_base, AscGetChipBiosAddress() 8629 static uchar AscSetChipScsiID(PortAddr iop_base, uchar new_host_id) AscSetChipScsiID() 8643 static unsigned char AscGetChipScsiCtrl(PortAddr iop_base) AscGetChipScsiCtrl() 8653 static unsigned char AscGetChipVersion(PortAddr iop_base, AscGetChipVersion() 8657 PortAddr eisa_iop; AscGetChipVersion() 8659 eisa_iop = (PortAddr) ASC_GET_EISA_SLOT(iop_base) | AscGetChipVersion() 8660 (PortAddr) ASC_EISA_REV_IOP_MASK; AscGetChipVersion() 8680 static int AscStopQueueExe(PortAddr iop_base) AscStopQueueExe() 8708 static ushort AscGetIsaDmaChannel(PortAddr iop_base) AscGetIsaDmaChannel() 8720 static ushort AscSetIsaDmaChannel(PortAddr iop_base, ushort dma_channel) AscSetIsaDmaChannel() 8738 static uchar AscGetIsaDmaSpeed(PortAddr iop_base) AscGetIsaDmaSpeed() 8749 static uchar AscSetIsaDmaSpeed(PortAddr iop_base, uchar speed_value) AscSetIsaDmaSpeed() 8762 PortAddr iop_base; AscInitAscDvcVar() 8843 static int AscWriteEEPCmdReg(PortAddr iop_base, uchar cmd_reg) AscWriteEEPCmdReg() 8863 static ushort AscReadEEPWord(PortAddr iop_base, uchar addr) AscReadEEPWord() 8878 static ushort AscGetEEPConfig(PortAddr iop_base, ASCEEP_CONFIG *cfg_buf, AscGetEEPConfig() 8927 PortAddr iop_base; AscTestExternalLram() 8952 static int AscWriteEEPDataReg(PortAddr iop_base, ushort data_reg) AscWriteEEPDataReg() 8971 static ushort AscWriteEEPWord(PortAddr iop_base, uchar addr, ushort word_val) AscWriteEEPWord() 8991 static int AscSetEEPConfigOnce(PortAddr iop_base, ASCEEP_CONFIG *cfg_buf, AscSetEEPConfigOnce() 9087 static int AscSetEEPConfig(PortAddr iop_base, ASCEEP_CONFIG *cfg_buf, AscSetEEPConfig() 9110 PortAddr iop_base; AscInitFromEEP() 9329 PortAddr iop_base = asc_dvc->iop_base; AscInitSetConfig() 11422 static PortAddr _asc_def_iop_base[ASC_IOADR_TABLE_MAX_IX] = { 11434 static unsigned int advansys_isa_irq_no(PortAddr iop_base) advansys_isa_irq_no() 11446 PortAddr iop_base = _asc_def_iop_base[id]; advansys_isa_probe() 11512 static unsigned int advansys_vlb_irq_no(PortAddr iop_base) advansys_vlb_irq_no() 11524 PortAddr iop_base = _asc_def_iop_base[id]; advansys_vlb_probe()
|