Lines Matching refs:ReadDataPort

51     _In_ PUCHAR ReadDataPort)  in ReadData()  argument
53 return READ_PORT_UCHAR(ReadDataPort); in ReadData()
95 _In_ PUCHAR ReadDataPort, in ReadByte() argument
101 return ReadData(ReadDataPort); in ReadByte()
108 _In_ PUCHAR ReadDataPort, in ReadWord() argument
111 return ((ReadByte(ReadDataPort, Address) << 8) | in ReadWord()
112 (ReadByte(ReadDataPort, Address + 1))); in ReadWord()
119 _In_ PUCHAR ReadDataPort, in ReadDoubleWord() argument
122 return ((ReadWord(ReadDataPort, Address) << 16) | in ReadDoubleWord()
123 (ReadWord(ReadDataPort, Address + 2))); in ReadDoubleWord()
130 _In_ PUCHAR ReadDataPort) in SetReadDataPort() argument
132 WriteByte(ISAPNP_READPORT, (UCHAR)((ULONG_PTR)ReadDataPort >> 2)); in SetReadDataPort()
164 _In_ PUCHAR ReadDataPort) in ReadResourceData() argument
166 return ReadByte(ReadDataPort, ISAPNP_RESOURCEDATA); in ReadResourceData()
173 _In_ PUCHAR ReadDataPort) in ReadStatus() argument
175 return ReadByte(ReadDataPort, ISAPNP_STATUS); in ReadStatus()
200 _In_ PUCHAR ReadDataPort, in ActivateDevice() argument
206 ReadByte(ReadDataPort, ISAPNP_IORANGECHECK) & ~2); in ActivateDevice()
225 _In_ PUCHAR ReadDataPort, in ReadIoBase() argument
228 return ReadWord(ReadDataPort, ISAPNP_IOBASE(Index)); in ReadIoBase()
235 _In_ PUCHAR ReadDataPort, in ReadIrqNo() argument
238 return ReadByte(ReadDataPort, ISAPNP_IRQNO(Index)) & 0x0F; in ReadIrqNo()
245 _In_ PUCHAR ReadDataPort, in ReadIrqType() argument
248 return ReadByte(ReadDataPort, ISAPNP_IRQTYPE(Index)); in ReadIrqType()
255 _In_ PUCHAR ReadDataPort, in ReadDmaChannel() argument
258 return ReadByte(ReadDataPort, ISAPNP_DMACHANNEL(Index)) & 0x07; in ReadDmaChannel()
265 _In_ PUCHAR ReadDataPort, in ReadMemoryBase() argument
268 return ReadWord(ReadDataPort, ISAPNP_MEMBASE(Index)); in ReadMemoryBase()
275 _In_ PUCHAR ReadDataPort, in ReadMemoryControl() argument
278 return ReadByte(ReadDataPort, ISAPNP_MEMCONTROL(Index)); in ReadMemoryControl()
285 _In_ PUCHAR ReadDataPort, in ReadMemoryLimit() argument
288 return ReadWord(ReadDataPort, ISAPNP_MEMLIMIT(Index)); in ReadMemoryLimit()
295 _In_ PUCHAR ReadDataPort, in ReadMemoryBase32() argument
298 return ReadDoubleWord(ReadDataPort, ISAPNP_MEMBASE32(Index)); in ReadMemoryBase32()
305 _In_ PUCHAR ReadDataPort, in ReadMemoryControl32() argument
308 return ReadByte(ReadDataPort, ISAPNP_MEMCONTROL32(Index)); in ReadMemoryControl32()
315 _In_ PUCHAR ReadDataPort, in ReadMemoryLimit32() argument
318 return ReadDoubleWord(ReadDataPort, ISAPNP_MEMLIMIT32(Index)); in ReadMemoryLimit32()
359 _In_ PUCHAR ReadDataPort) in PeekByte() argument
367 if (ReadStatus(ReadDataPort) & 0x01) in PeekByte()
368 return ReadResourceData(ReadDataPort); in PeekByte()
380 _In_ PUCHAR ReadDataPort, in Peek() argument
390 UCHAR Byte = PeekByte(ReadDataPort); in Peek()
440 _In_ PUCHAR ReadDataPort, in ReadTags() argument
466 Tag = PeekByte(ReadDataPort); in ReadTags()
490 Peek(ReadDataPort, &Temp, sizeof(Temp)); in ReadTags()
511 Peek(ReadDataPort, Buffer, TagLen); in ReadTags()
1054 _In_ PUCHAR ReadDataPort, in ReadCurrentResources() argument
1066 if (!(ReadByte(ReadDataPort, ISAPNP_ACTIVATE) & 1)) in ReadCurrentResources()
1074 LogDevice->Io[i].CurrentBase = ReadIoBase(ReadDataPort, i); in ReadCurrentResources()
1082 LogDevice->Irq[i].CurrentNo = ReadIrqNo(ReadDataPort, i); in ReadCurrentResources()
1087 LogDevice->Irq[i].CurrentType = ReadIrqType(ReadDataPort, i); in ReadCurrentResources()
1091 LogDevice->Dma[i].CurrentChannel = ReadDmaChannel(ReadDataPort, i); in ReadCurrentResources()
1098 LogDevice->MemRange[i].CurrentBase = ReadMemoryBase(ReadDataPort, i) << 8; in ReadCurrentResources()
1103 LogDevice->MemRange[i].CurrentLength = ReadMemoryLimit(ReadDataPort, i) << 8; in ReadCurrentResources()
1105 if (ReadMemoryControl(ReadDataPort, i) & MEMORY_UPPER_LIMIT) in ReadCurrentResources()
1117 LogDevice->MemRange32[i].CurrentBase = ReadMemoryBase32(ReadDataPort, i); in ReadCurrentResources()
1122 LogDevice->MemRange32[i].CurrentLength = ReadMemoryLimit32(ReadDataPort, i); in ReadCurrentResources()
1124 if (ReadMemoryControl32(ReadDataPort, i) & MEMORY_UPPER_LIMIT) in ReadCurrentResources()
1193 _In_ PUCHAR ReadDataPort, in IsaProgramMemoryDecoder() argument
1215 if (ReadMemoryControl(ReadDataPort, Index) & MEMORY_UPPER_LIMIT) in IsaProgramMemoryDecoder()
1239 if (ReadMemoryControl32(ReadDataPort, Index) & MEMORY_UPPER_LIMIT) in IsaProgramMemoryDecoder()
1260 _In_ PUCHAR ReadDataPort) in IsaHwTryReadDataPort() argument
1267 DPRINT("Setting read data port: 0x%p\n", ReadDataPort); in IsaHwTryReadDataPort()
1280 SetReadDataPort(ReadDataPort); in IsaHwTryReadDataPort()
1303 Data = ReadData(ReadDataPort) << 8; in IsaHwTryReadDataPort()
1305 Data |= ReadData(ReadDataPort); in IsaHwTryReadDataPort()
1352 DPRINT("Found %u cards at read port 0x%p\n", Csn, ReadDataPort); in IsaHwTryReadDataPort()
1369 ASSERT(FdoExt->ReadDataPort); in IsaHwFillDeviceList()
1371 DPRINT("%s for read port 0x%p\n", __FUNCTION__, FdoExt->ReadDataPort); in IsaHwFillDeviceList()
1399 Peek(FdoExt->ReadDataPort, &Identifier, sizeof(Identifier)); in IsaHwFillDeviceList()
1404 Status = ReadTags(FdoExt->ReadDataPort, in IsaHwFillDeviceList()
1445 ActivateDevice(FdoExt->ReadDataPort, LogDev); in IsaHwFillDeviceList()
1489 if (!ReadCurrentResources(FdoExt->ReadDataPort, LogDevice)) in IsaHwFillDeviceList()
1600 Status = IsaProgramMemoryDecoder(FdoExt->ReadDataPort, in IsaHwConfigureDevice()
1667 ActivateDevice(FdoExt->ReadDataPort, LogicalDevice->LDN); in IsaHwActivateDevice()