Lines Matching refs:PortAddr
920 #define PortAddr unsigned short /* port address size */ macro
1485 #define ASC_MIN_IOP_ADDR (PortAddr)0x0100
1486 #define ASC_MAX_IOP_ADDR (PortAddr)0x3F0
1487 #define ASC_IOADR_1 (PortAddr)0x0110
1488 #define ASC_IOADR_2 (PortAddr)0x0130
1489 #define ASC_IOADR_3 (PortAddr)0x0150
1490 #define ASC_IOADR_4 (PortAddr)0x0190
1491 #define ASC_IOADR_5 (PortAddr)0x0210
1492 #define ASC_IOADR_6 (PortAddr)0x0230
1493 #define ASC_IOADR_7 (PortAddr)0x0250
1494 #define ASC_IOADR_8 (PortAddr)0x0330
1606 PortAddr iop_base;
1915 #define ASC_GET_EISA_SLOT(iop) (PortAddr)((iop) & 0xF000)
1956 #define AscGetChipLramAddr(port) (ushort)inpw((PortAddr)((port)+IOP_RAM_ADDR))
1957 #define AscSetChipLramAddr(port, addr) outpw((PortAddr)((port)+IOP_RAM_ADDR), addr)
1999 STATIC int AscWriteEEPCmdReg(PortAddr iop_base, uchar cmd_reg);
2000 STATIC int AscWriteEEPDataReg(PortAddr iop_base, ushort data_reg);
2003 STATIC ushort AscReadEEPWord(PortAddr, uchar);
2004 STATIC ushort AscWriteEEPWord(PortAddr, uchar, ushort);
2005 STATIC ushort AscGetEEPConfig(PortAddr, ASCEEP_CONFIG *, ushort);
2006 STATIC int AscSetEEPConfigOnce(PortAddr, ASCEEP_CONFIG *, ushort);
2007 STATIC int AscSetEEPConfig(PortAddr, ASCEEP_CONFIG *, ushort);
2008 STATIC int AscStartChip(PortAddr);
2009 STATIC int AscStopChip(PortAddr);
2010 STATIC void AscSetChipIH(PortAddr, ushort);
2011 STATIC int AscIsChipHalted(PortAddr);
2012 STATIC void AscAckInterrupt(PortAddr);
2013 STATIC void AscDisableInterrupt(PortAddr);
2014 STATIC void AscEnableInterrupt(PortAddr);
2015 STATIC void AscSetBank(PortAddr, uchar);
2018 STATIC ushort AscGetIsaDmaChannel(PortAddr);
2019 STATIC ushort AscSetIsaDmaChannel(PortAddr, ushort);
2020 STATIC uchar AscSetIsaDmaSpeed(PortAddr, uchar);
2021 STATIC uchar AscGetIsaDmaSpeed(PortAddr);
2023 STATIC uchar AscReadLramByte(PortAddr, ushort);
2024 STATIC ushort AscReadLramWord(PortAddr, ushort);
2026 STATIC ASC_DCNT AscReadLramDWord(PortAddr, ushort);
2028 STATIC void AscWriteLramWord(PortAddr, ushort, ushort);
2029 STATIC void AscWriteLramByte(PortAddr, ushort, uchar);
2030 STATIC ASC_DCNT AscMemSumLramWord(PortAddr, ushort, int);
2031 STATIC void AscMemWordSetLram(PortAddr, ushort, ushort, int);
2032 STATIC void AscMemWordCopyPtrToLram(PortAddr, ushort, uchar *, int);
2033 STATIC void AscMemDWordCopyPtrToLram(PortAddr, ushort, uchar *, int);
2034 STATIC void AscMemWordCopyPtrFromLram(PortAddr, ushort, uchar *, int);
2042 STATIC void AscSetChipSDTR(PortAddr, uchar, uchar);
2044 STATIC uchar AscAllocFreeQueue(PortAddr, uchar);
2045 STATIC uchar AscAllocMultipleFreeQueue(PortAddr, uchar, uchar);
2046 STATIC int AscHostReqRiscHalt(PortAddr);
2047 STATIC int AscStopQueueExe(PortAddr);
2055 STATIC int AscSetChipSynRegAtID(PortAddr, uchar, uchar);
2056 STATIC int AscSetRunChipSynRegAtID(PortAddr, uchar, uchar);
2061 STATIC uchar _AscCopyLramScsiDoneQ(PortAddr, ushort,
2066 STATIC ushort AscGetEisaChipCfg(PortAddr);
2067 STATIC ASC_DCNT AscGetEisaProductID(PortAddr);
2068 STATIC PortAddr AscSearchIOPortAddrEISA(PortAddr);
2069 STATIC PortAddr AscSearchIOPortAddr11(PortAddr);
2070 STATIC PortAddr AscSearchIOPortAddr(PortAddr, ushort);
2073 STATIC uchar AscGetChipScsiCtrl(PortAddr);
2074 STATIC uchar AscSetChipScsiID(PortAddr, uchar);
2075 STATIC uchar AscGetChipVersion(PortAddr, ushort);
2076 STATIC ushort AscGetChipBusType(PortAddr);
2077 STATIC ASC_DCNT AscLoadMicroCode(PortAddr, ushort, uchar *, ushort);
2078 STATIC int AscFindSignature(PortAddr);
2079 STATIC void AscToggleIRQAct(PortAddr);
2080 STATIC uchar AscGetChipIRQ(PortAddr, ushort);
2081 STATIC uchar AscSetChipIRQ(PortAddr, uchar, ushort);
2082 STATIC ushort AscGetChipBiosAddress(PortAddr, ushort);
2090 STATIC ushort AscGetChipBiosAddress(PortAddr, ushort);
2093 STATIC void DvcPutScsiQ(PortAddr, ushort, uchar *, int);
2094 STATIC void DvcGetQinfo(PortAddr, ushort, uchar *, int);
4228 STATIC PortAddr _asc_def_iop_base[];
4267 STATIC int AscFindSignature(PortAddr);
4268 STATIC ushort AscGetEEPConfig(PortAddr, ASCEEP_CONFIG *, ushort);
9056 DvcPutScsiQ(PortAddr iop_base, ushort s_addr, uchar *outbuf, int words) in DvcPutScsiQ()
9082 DvcGetQinfo(PortAddr iop_base, ushort s_addr, uchar *inbuf, int words) in DvcGetQinfo()
9147 PortAddr iop_base, in ASC_INITFUNC()
9901 PortAddr iop_base in ASC_INITFUNC()
9905 PortAddr eisa_cfg_iop; in ASC_INITFUNC()
9907 eisa_cfg_iop = (PortAddr) ASC_GET_EISA_SLOT(iop_base) | in ASC_INITFUNC()
9908 (PortAddr) (ASC_EISA_CFG_IOP_MASK); in ASC_INITFUNC()
9915 PortAddr iop_base, in ASC_INITFUNC()
9935 PortAddr iop_base in ASC_INITFUNC()
9950 PortAddr iop_base, in ASC_INITFUNC()
9956 PortAddr eisa_iop; in ASC_INITFUNC()
9958 eisa_iop = (PortAddr) ASC_GET_EISA_SLOT(iop_base) | in ASC_INITFUNC()
9959 (PortAddr) ASC_EISA_REV_IOP_MASK; in ASC_INITFUNC()
9969 PortAddr iop_base in ASC_INITFUNC()
10003 PortAddr iop_base, in AscLoadMicroCode()
10032 PortAddr iop_base in AscFindSignature()
10051 STATIC PortAddr _asc_def_iop_base[ASC_IOADR_TABLE_MAX_IX] ASC_INITDATA =
10061 STATIC PortAddr, in ASC_INITFUNC() argument
10063 PortAddr iop_beg, in ASC_INITFUNC()
10098 STATIC PortAddr, in ASC_INITFUNC() argument
10100 PortAddr s_addr in ASC_INITFUNC()
10105 PortAddr iop_base; in ASC_INITFUNC()
10143 PortAddr iop_base in ASC_INITFUNC()
10155 PortAddr iop_base, in ASC_INITFUNC()
10191 PortAddr iop_base, in ASC_INITFUNC()
10260 PortAddr iop_base; in AscIsrChipHalted()
10684 PortAddr iop_base, in _AscCopyLramScsiDoneQ()
10740 PortAddr iop_base; in AscIsrQDone()
10869 PortAddr iop_base; in AscISR()
11140 PortAddr iop_base; in AscExeScsiQueue()
11349 PortAddr iop_base; in AscSendScsiQueue()
11460 PortAddr iop_base; in AscPutReadyQueue()
11507 PortAddr iop_base; in AscPutReadySgListQueue()
11628 PortAddr iop_base, in AscSetRunChipSynRegAtID()
11645 PortAddr iop_base, in AscSetChipSynRegAtID()
11684 PortAddr iop_base; in AscInitLram()
11735 PortAddr iop_base; in AscInitQLinkVar()
11787 PortAddr iop_base; in AscMsgOutSDTR()
11837 PortAddr iop_base, in AscSetChipSDTR()
11875 PortAddr iop_base, in AscAllocFreeQueue()
11896 PortAddr iop_base, in AscAllocMultipleFreeQueue()
11914 PortAddr iop_base in AscHostReqRiscHalt()
11940 PortAddr iop_base in AscStopQueueExe()
11976 PortAddr iop_base in ASC_INITFUNC()
11980 PortAddr eisa_iop; in ASC_INITFUNC()
11993 STATIC PortAddr, in ASC_INITFUNC() argument
11995 PortAddr iop_base in ASC_INITFUNC()
12035 PortAddr iop_base in AscStartChip()
12047 PortAddr iop_base in AscStopChip()
12064 PortAddr iop_base in AscIsChipHalted()
12077 PortAddr iop_base, in AscSetChipIH()
12089 PortAddr iop_base in AscAckInterrupt()
12120 PortAddr iop_base in AscDisableInterrupt()
12132 PortAddr iop_base in AscEnableInterrupt()
12146 PortAddr iop_base, in AscSetBank()
12170 PortAddr iop_base; in AscResetChipAndScsiBus()
12209 PortAddr iop_base in ASC_INITFUNC()
12226 PortAddr iop_base, in ASC_INITFUNC()
12250 PortAddr iop_base, in ASC_INITFUNC()
12265 PortAddr iop_base in ASC_INITFUNC()
12301 PortAddr iop_base; in ASC_INITFUNC()
12406 PortAddr iop_base; in ASC_INITFUNC()
12470 PortAddr iop_base; in AscInitAsc1000Driver()
12512 PortAddr iop_base; in ASC_INITFUNC()
12628 PortAddr iop_base; in ASC_INITFUNC()
12795 PortAddr iop_base; in AscInitMicroCodeVar()
12847 PortAddr iop_base; in ASC_INITFUNC()
12870 PortAddr iop_base, in ASC_INITFUNC()
12895 PortAddr iop_base, in ASC_INITFUNC()
12942 PortAddr iop_base, in ASC_INITFUNC()
12963 PortAddr iop_base, in ASC_INITFUNC()
12990 PortAddr iop_base, in ASC_INITFUNC()
13042 PortAddr iop_base, in ASC_INITFUNC()
13140 PortAddr iop_base, in ASC_INITFUNC()
13282 PortAddr iop_base, in AscReadLramByte()
13302 PortAddr iop_base, in AscReadLramWord()
13316 PortAddr iop_base, in AscReadLramDWord()
13333 PortAddr iop_base, in AscWriteLramWord()
13345 PortAddr iop_base, in AscWriteLramByte()
13374 PortAddr iop_base, in AscMemWordCopyPtrToLram()
13406 PortAddr iop_base, in AscMemDWordCopyPtrToLram()
13432 PortAddr iop_base, in AscMemWordCopyPtrFromLram()
13452 PortAddr iop_base, in AscMemSumLramWord()
13469 PortAddr iop_base, in AscMemWordSetLram()