Lines Matching refs:rxOutOfs
99 #define rxOutOfs offsetof (PktRealStub,_rxOutOfs) macro
109 extern WORD rxOutOfs; /* offsets into pktRxBuf FIFO queue */
193 #pragma Alias (rxOutOfs, "_rxOutOfs")
828 WORD ofs = _farpeekw (_dos_ds, realBase+rxOutOfs); in PktReceive()
850 _farpokew (_dos_ds, realBase+rxOutOfs, FIRST_RX_BUF); in PktReceive()
851 else _farpokew (_dos_ds, realBase+rxOutOfs, ofs); in PktReceive()
867 _farpokew (_dos_ds, realBase+rxOutOfs, FIRST_RX_BUF); in PktQueueBusy()
868 else _farpokew (_dos_ds, realBase+rxOutOfs, ofs); in PktQueueBusy()
879 outOfs = _farpeekw (_dos_ds, realBase+rxOutOfs); in PktBuffersUsed()
894 WORD ofs = *(WORD*) (realBase+rxOutOfs); in PktReceive()
916 *(WORD*) (realBase+rxOutOfs) = FIRST_RX_BUF; in PktReceive()
917 else *(WORD*) (realBase+rxOutOfs) = ofs; in PktReceive()
933 *(WORD*) (realBase+rxOutOfs) = FIRST_RX_BUF; in PktQueueBusy()
934 else *(WORD*) (realBase+rxOutOfs) = ofs; in PktQueueBusy()
945 outOfs = *(WORD*) (realBase+rxOutOfs); in PktBuffersUsed()
961 if (rxOutOfs != rxInOfs) in PktReceive()
963 RX_ELEMENT far *head = (RX_ELEMENT far*) MK_FP (_DS,rxOutOfs); in PktReceive()
975 rxOutOfs += sizeof (RX_ELEMENT); in PktReceive()
976 if (rxOutOfs > LAST_RX_BUF) in PktReceive()
977 rxOutOfs = FIRST_RX_BUF; in PktReceive()
985 rxOutOfs = busy ? (rxInOfs + sizeof(RX_ELEMENT)) : rxInOfs; in PktQueueBusy()
986 if (rxOutOfs > LAST_RX_BUF) in PktQueueBusy()
987 rxOutOfs = FIRST_RX_BUF; in PktQueueBusy()
994 WORD outOfs = rxOutOfs; in PktBuffersUsed()
1114 if (RealCopy((ULONG)&rxOutOfs, (ULONG)&pktRxEnd, in PktInitDriver()
1117 rxOutOfsFp = (WORD _far *) (protBase + (WORD) &rxOutOfs); in PktInitDriver()
1144 _farpokel (_dos_ds, realBase+rxOutOfs, FIRST_RX_BUF); in PktInitDriver()
1156 *(WORD*) (realBase+rxOutOfs) = FIRST_RX_BUF; in PktInitDriver()
1185 rxOutOfs = FIRST_RX_BUF; in PktInitDriver()