Lines Matching refs:ushort
22 ushort cbd_sc; /* Status and Control */
23 ushort cbd_datlen; /* Data length in buffer */
27 #define BD_SC_EMPTY ((ushort)0x8000) /* Receive is empty */
28 #define BD_SC_READY ((ushort)0x8000) /* Transmit is ready */
29 #define BD_SC_WRAP ((ushort)0x2000) /* Last buffer descriptor */
30 #define BD_SC_INTRPT ((ushort)0x1000) /* Interrupt on change */
31 #define BD_SC_LAST ((ushort)0x0800) /* Last buffer in frame */
32 #define BD_SC_TC ((ushort)0x0400) /* Transmit CRC */
33 #define BD_SC_CM ((ushort)0x0200) /* Continous mode */
34 #define BD_SC_ID ((ushort)0x0100) /* Rec'd too many idles */
35 #define BD_SC_P ((ushort)0x0100) /* xmt preamble */
36 #define BD_SC_BR ((ushort)0x0020) /* Break received */
37 #define BD_SC_FR ((ushort)0x0010) /* Framing error */
38 #define BD_SC_PR ((ushort)0x0008) /* Parity error */
39 #define BD_SC_OV ((ushort)0x0002) /* Overrun */
40 #define BD_SC_CD ((ushort)0x0001) /* Carrier Detect lost */
44 #define BD_ENET_RX_EMPTY ((ushort)0x8000)
45 #define BD_ENET_RX_RO1 ((ushort)0x4000)
46 #define BD_ENET_RX_WRAP ((ushort)0x2000)
47 #define BD_ENET_RX_INTR ((ushort)0x1000)
49 #define BD_ENET_RX_LAST ((ushort)0x0800)
50 #define BD_ENET_RX_FIRST ((ushort)0x0400)
51 #define BD_ENET_RX_MISS ((ushort)0x0100)
52 #define BD_ENET_RX_BC ((ushort)0x0080)
53 #define BD_ENET_RX_MC ((ushort)0x0040)
54 #define BD_ENET_RX_LG ((ushort)0x0020)
55 #define BD_ENET_RX_NO ((ushort)0x0010)
56 #define BD_ENET_RX_SH ((ushort)0x0008)
57 #define BD_ENET_RX_CR ((ushort)0x0004)
58 #define BD_ENET_RX_OV ((ushort)0x0002)
59 #define BD_ENET_RX_CL ((ushort)0x0001)
61 #define BD_ENET_RX_STATS ((ushort)0x013f) /* All status bits */
65 #define BD_ENET_TX_READY ((ushort)0x8000)
66 #define BD_ENET_TX_PAD ((ushort)0x4000)
68 #define BD_ENET_TX_WRAP ((ushort)0x2000)
69 #define BD_ENET_TX_INTR ((ushort)0x1000)
71 #define BD_ENET_TX_LAST ((ushort)0x0800)
72 #define BD_ENET_TX_TC ((ushort)0x0400)
73 #define BD_ENET_TX_DEF ((ushort)0x0200)
75 #define BD_ENET_TX_HB ((ushort)0x0100)
76 #define BD_ENET_TX_LC ((ushort)0x0080)
77 #define BD_ENET_TX_RL ((ushort)0x0040)
78 #define BD_ENET_TX_RCMASK ((ushort)0x003c)
79 #define BD_ENET_TX_UN ((ushort)0x0002)
80 #define BD_ENET_TX_CSL ((ushort)0x0001)
81 #define BD_ENET_TX_STATS ((ushort)0x03ff) /* All status bits */