• Home
  • Raw
  • Download

Lines Matching refs:WORD

74          WORD   r_flags;
75 WORD r_es, r_ds, r_fs, r_gs;
76 WORD r_ip, r_cs, r_sp, r_ss;
82 WORD _rxOutOfs;
83 WORD _rxInOfs;
88 WORD _dummy[2]; /* screenSeg,newInOffset */
90 WORD _fanIndex;
109 extern WORD rxOutOfs; /* offsets into pktRxBuf FIFO queue */
110 extern WORD rxInOfs;
118 #define FIRST_RX_BUF (WORD) &pktRxBuf [0]
119 #define LAST_RX_BUF (WORD) &pktRxBuf [NUM_RX_BUF-1]
136 #define FP_OFF(x) ((WORD)(x))
137 #define FP_SEG(x) ((WORD)(realBase >> 16))
138 #define DOS_ADDR(s,o) (((DWORD)(s) << 16) + (WORD)(o))
149 LOCAL WORD realSeg; /* DOS para-address of allocated area */
152 static WORD _far *rxOutOfsFp, *rxInOfsFp;
160 #define DOS_ADDR(s,o) (((WORD)(s) << 4) + (o))
172 LOCAL WORD rm_base_seg, rm_base_sel;
177 LOCAL WORD dpmi_real_malloc (int size, WORD *selector);
178 LOCAL void dpmi_real_free (WORD selector);
179 #define DOS_ADDR(s,o) (((DWORD)(s) << 4) + (WORD)(o))
183 WORD r_ax, r_bx, r_cx, r_dx, r_bp;
184 WORD r_si, r_di, r_ds, r_es, r_flags;
248 PUBLIC const char *PktGetClassName (WORD class) in PktGetClassName()
405 reg.edi = (WORD) &PktReceiver; in PktSetAccess()
435 PUBLIC BOOL PktReleaseHandle (WORD handle) in PktReleaseHandle()
483 WORD count_1, count_2; in CheckElement()
524 PUBLIC BOOL PktTerminHandle (WORD handle) in PktTerminHandle()
533 PUBLIC BOOL PktResetInterface (WORD handle) in PktResetInterface()
549 reg.r_cx = (WORD)mode; in PktSetReceiverMode()
577 PUBLIC BOOL PktGetStatistics (WORD handle) in PktGetStatistics()
603 PUBLIC BOOL PktSessStatistics (WORD handle) in PktSessStatistics()
624 PUBLIC BOOL PktResetStatistics (WORD handle) in PktResetStatistics()
657 ReadRealMem (addr, realBase + (WORD)&pktTemp, sizeof(*addr)); in PktGetAddress()
679 WriteRealMem (realBase + (WORD)&pktTemp, (void*)addr, sizeof(*addr)); in PktSetAddress()
776 WORD inOfs = *rxInOfsFp; in PktReceive()
777 WORD outOfs = *rxOutOfsFp; in PktReceive()
807 *(DWORD _far*)(protBase + (WORD)&pktDrop) = 0; in PktQueueBusy()
810 PUBLIC WORD PktBuffersUsed (void) in PktBuffersUsed()
812 WORD inOfs = *rxInOfsFp; in PktBuffersUsed()
813 WORD outOfs = *rxOutOfsFp; in PktBuffersUsed()
822 return (*(DWORD _far*)(protBase + (WORD)&pktDrop)); in PktRxDropped()
828 WORD ofs = _farpeekw (_dos_ds, realBase+rxOutOfs); in PktReceive()
859 WORD ofs; in PktQueueBusy()
873 PUBLIC WORD PktBuffersUsed (void) in PktBuffersUsed()
875 WORD inOfs, outOfs; in PktBuffersUsed()
894 WORD ofs = *(WORD*) (realBase+rxOutOfs); in PktReceive()
896 if (ofs != *(WORD*) (realBase+rxInOfs)) in PktReceive()
901 head.firstCount = *(WORD*) (realBase+ofs); in PktReceive()
902 head.secondCount = *(WORD*) (realBase+ofs+2); in PktReceive()
903 head.handle = *(WORD*) (realBase+ofs+4); in PktReceive()
916 *(WORD*) (realBase+rxOutOfs) = FIRST_RX_BUF; in PktReceive()
917 else *(WORD*) (realBase+rxOutOfs) = ofs; in PktReceive()
925 WORD ofs; in PktQueueBusy()
928 ofs = *(WORD*) (realBase+rxInOfs); in PktQueueBusy()
933 *(WORD*) (realBase+rxOutOfs) = FIRST_RX_BUF; in PktQueueBusy()
934 else *(WORD*) (realBase+rxOutOfs) = ofs; in PktQueueBusy()
939 PUBLIC WORD PktBuffersUsed (void) in PktBuffersUsed()
941 WORD inOfs, outOfs; in PktBuffersUsed()
944 inOfs = *(WORD*) (realBase+rxInOfs); in PktBuffersUsed()
945 outOfs = *(WORD*) (realBase+rxOutOfs); in PktBuffersUsed()
991 PUBLIC WORD PktBuffersUsed (void) in PktBuffersUsed()
993 WORD inOfs = rxInOfs; in PktBuffersUsed()
994 WORD outOfs = rxOutOfs; in PktBuffersUsed()
1117 rxOutOfsFp = (WORD _far *) (protBase + (WORD) &rxOutOfs); in PktInitDriver()
1118 rxInOfsFp = (WORD _far *) (protBase + (WORD) &rxInOfs); in PktInitDriver()
1156 *(WORD*) (realBase+rxOutOfs) = FIRST_RX_BUF; in PktInitDriver()
1157 *(WORD*) (realBase+rxInOfs) = FIRST_RX_BUF; in PktInitDriver()
1174 if (*(WORD*)(real_stub_array + offsetof(PktRealStub,_dummy)) != 0xB800) in PktInitDriver()
1245 DWORD rAdr = realBase + (WORD)&PktReceiver; in PktInitDriver()
1293 LOCAL WORD dpmi_real_malloc (int size, WORD *selector) in dpmi_real_malloc()
1307 LOCAL void dpmi_real_free (WORD selector) in dpmi_real_free()