Lines Matching +full:0 +full:xfc

62 	HIL_WIRE_START		= 0,
83 HIL_PKT_CMD = 0x00000800,
84 HIL_PKT_ADDR2 = 0x00000400,
85 HIL_PKT_ADDR1 = 0x00000200,
86 HIL_PKT_ADDR0 = 0x00000100,
87 HIL_PKT_ADDR_MASK = 0x00000700,
89 HIL_PKT_DATA7 = 0x00000080,
90 HIL_PKT_DATA6 = 0x00000040,
91 HIL_PKT_DATA5 = 0x00000020,
92 HIL_PKT_DATA4 = 0x00000010,
93 HIL_PKT_DATA3 = 0x00000008,
94 HIL_PKT_DATA2 = 0x00000004,
95 HIL_PKT_DATA1 = 0x00000002,
96 HIL_PKT_DATA0 = 0x00000001,
97 HIL_PKT_DATA_MASK = 0x000000FF,
98 HIL_PKT_DATA_SHIFT = 0
109 HIL_ERR_OB = 0x00000800, /* MLC is busy sending an auto-poll,
112 HIL_ERR_INT = 0x00010000, /* A normal interrupt has occurred. */
113 HIL_ERR_NMI = 0x00020000, /* An NMI has occurred. */
114 HIL_ERR_LERR = 0x00040000, /* A poll didn't come back. */
115 HIL_ERR_PERR = 0x01000000, /* There was a Parity Error. */
116 HIL_ERR_FERR = 0x02000000, /* There was a Framing Error. */
117 HIL_ERR_FOF = 0x04000000 /* Input FIFO Overflowed. */
121 HIL_CTRL_TEST = 0x00010000,
122 HIL_CTRL_IPF = 0x00040000,
123 HIL_CTRL_APE = 0x02000000
127 #define HIL_DO_ALTER_CTRL 0x40000000 /* Write MSW of packet to control
129 #define HIL_CTRL_ONLY 0xc0000000 /* *Only* alter the control registers */
139 HIL_CMD_IFC = 0x00, /* Interface Clear */
140 HIL_CMD_EPT = 0x01, /* Enter Pass-Thru Mode */
141 HIL_CMD_ELB = 0x02, /* Enter Loop-Back Mode */
142 HIL_CMD_IDD = 0x03, /* Identify and Describe */
143 HIL_CMD_DSR = 0x04, /* Device Soft Reset */
144 HIL_CMD_PST = 0x05, /* Perform Self Test */
145 HIL_CMD_RRG = 0x06, /* Read Register */
146 HIL_CMD_WRG = 0x07, /* Write Register */
147 HIL_CMD_ACF = 0x08, /* Auto Configure */
148 HIL_CMDID_ACF = 0x07, /* Auto Configure bits with incremented ID */
149 HIL_CMD_POL = 0x10, /* Poll */
150 HIL_CMDCT_POL = 0x0f, /* Poll command bits with item count */
151 HIL_CMD_RPL = 0x20, /* RePoll */
152 HIL_CMDCT_RPL = 0x0f, /* RePoll command bits with item count */
153 HIL_CMD_RNM = 0x30, /* Report Name */
154 HIL_CMD_RST = 0x31, /* Report Status */
155 HIL_CMD_EXD = 0x32, /* Extended Describe */
156 HIL_CMD_RSC = 0x33, /* Report Security Code */
158 /* 0x34 to 0x3c reserved for future use */
160 HIL_CMD_DKA = 0x3d, /* Disable Keyswitch Autorepeat */
161 HIL_CMD_EK1 = 0x3e, /* Enable Keyswitch Autorepeat 1 */
162 HIL_CMD_EK2 = 0x3f, /* Enable Keyswitch Autorepeat 2 */
163 HIL_CMD_PR1 = 0x40, /* Prompt1 */
164 HIL_CMD_PR2 = 0x41, /* Prompt2 */
165 HIL_CMD_PR3 = 0x42, /* Prompt3 */
166 HIL_CMD_PR4 = 0x43, /* Prompt4 */
167 HIL_CMD_PR5 = 0x44, /* Prompt5 */
168 HIL_CMD_PR6 = 0x45, /* Prompt6 */
169 HIL_CMD_PR7 = 0x46, /* Prompt7 */
170 HIL_CMD_PRM = 0x47, /* Prompt (General Purpose) */
171 HIL_CMD_AK1 = 0x48, /* Acknowledge1 */
172 HIL_CMD_AK2 = 0x49, /* Acknowledge2 */
173 HIL_CMD_AK3 = 0x4a, /* Acknowledge3 */
174 HIL_CMD_AK4 = 0x4b, /* Acknowledge4 */
175 HIL_CMD_AK5 = 0x4c, /* Acknowledge5 */
176 HIL_CMD_AK6 = 0x4d, /* Acknowledge6 */
177 HIL_CMD_AK7 = 0x4e, /* Acknowledge7 */
178 HIL_CMD_ACK = 0x4f, /* Acknowledge (General Purpose) */
180 /* 0x50 to 0x78 reserved for future use */
181 /* 0x80 to 0xEF device-specific commands */
182 /* 0xf0 to 0xf9 reserved for future use */
184 HIL_CMD_RIO = 0xfa, /* Register I/O Error */
185 HIL_CMD_SHR = 0xfb, /* System Hard Reset */
186 HIL_CMD_TER = 0xfc, /* Transmission Error */
187 HIL_CMD_CAE = 0xfd, /* Configuration Address Error */
188 HIL_CMD_DHR = 0xfe, /* Device Hard Reset */
190 /* 0xff is prohibited from use. */
200 #define HIL_IDD_DID_TYPE_MASK 0xe0 /* Primary type bits */
201 #define HIL_IDD_DID_TYPE_KB_INTEGRAL 0xa0 /* Integral keyboard */
202 #define HIL_IDD_DID_TYPE_KB_ITF 0xc0 /* ITD keyboard */
203 #define HIL_IDD_DID_TYPE_KB_RSVD 0xe0 /* Reserved keyboard type */
204 #define HIL_IDD_DID_TYPE_KB_LANG_MASK 0x1f /* Keyboard locale bits */
205 #define HIL_IDD_DID_KBLANG_USE_ESD 0x00 /* Use ESD Locale instead */
206 #define HIL_IDD_DID_TYPE_ABS 0x80 /* Absolute Positioners */
207 #define HIL_IDD_DID_ABS_RSVD1_MASK 0xf8 /* Reserved */
208 #define HIL_IDD_DID_ABS_RSVD1 0x98
209 #define HIL_IDD_DID_ABS_TABLET_MASK 0xf8 /* Tablets and digitizers */
210 #define HIL_IDD_DID_ABS_TABLET 0x90
211 #define HIL_IDD_DID_ABS_TSCREEN_MASK 0xfc /* Touch screens */
212 #define HIL_IDD_DID_ABS_TSCREEN 0x8c
213 #define HIL_IDD_DID_ABS_RSVD2_MASK 0xfc /* Reserved */
214 #define HIL_IDD_DID_ABS_RSVD2 0x88
215 #define HIL_IDD_DID_ABS_RSVD3_MASK 0xfc /* Reserved */
216 #define HIL_IDD_DID_ABS_RSVD3 0x80
217 #define HIL_IDD_DID_TYPE_REL 0x60 /* Relative Positioners */
218 #define HIL_IDD_DID_REL_RSVD1_MASK 0xf0 /* Reserved */
219 #define HIL_IDD_DID_REL_RSVD1 0x70
220 #define HIL_IDD_DID_REL_RSVD2_MASK 0xfc /* Reserved */
221 #define HIL_IDD_DID_REL_RSVD2 0x6c
222 #define HIL_IDD_DID_REL_MOUSE_MASK 0xfc /* Mouse */
223 #define HIL_IDD_DID_REL_MOUSE 0x68
224 #define HIL_IDD_DID_REL_QUAD_MASK 0xf8 /* Other Quadrature Devices */
225 #define HIL_IDD_DID_REL_QUAD 0x60
226 #define HIL_IDD_DID_TYPE_CHAR 0x40 /* Character Entry */
227 #define HIL_IDD_DID_CHAR_BARCODE_MASK 0xfc /* Barcode Reader */
228 #define HIL_IDD_DID_CHAR_BARCODE 0x5c
229 #define HIL_IDD_DID_CHAR_RSVD1_MASK 0xfc /* Reserved */
230 #define HIL_IDD_DID_CHAR_RSVD1 0x58
231 #define HIL_IDD_DID_CHAR_RSVD2_MASK 0xf8 /* Reserved */
232 #define HIL_IDD_DID_CHAR_RSVD2 0x50
233 #define HIL_IDD_DID_CHAR_RSVD3_MASK 0xf0 /* Reserved */
234 #define HIL_IDD_DID_CHAR_RSVD3 0x40
235 #define HIL_IDD_DID_TYPE_OTHER 0x20 /* Miscellaneous */
236 #define HIL_IDD_DID_OTHER_RSVD1_MASK 0xf0 /* Reserved */
237 #define HIL_IDD_DID_OTHER_RSVD1 0x30
238 #define HIL_IDD_DID_OTHER_BARCODE_MASK 0xfc /* Tone Generator */
239 #define HIL_IDD_DID_OTHER_BARCODE 0x2c
240 #define HIL_IDD_DID_OTHER_RSVD2_MASK 0xfc /* Reserved */
241 #define HIL_IDD_DID_OTHER_RSVD2 0x28
242 #define HIL_IDD_DID_OTHER_RSVD3_MASK 0xf8 /* Reserved */
243 #define HIL_IDD_DID_OTHER_RSVD3 0x20
244 #define HIL_IDD_DID_TYPE_KEYPAD 0x00 /* Vectra Keyboard */
248 #define HIL_IDD_HEADER_AXSET_MASK 0x03 /* Number of axis in a set */
249 #define HIL_IDD_HEADER_RSC 0x04 /* Supports RSC command */
250 #define HIL_IDD_HEADER_EXD 0x08 /* Supports EXD command */
251 #define HIL_IDD_HEADER_IOD 0x10 /* IOD byte to follow */
252 #define HIL_IDD_HEADER_16BIT 0x20 /* 16 (vs. 8) bit resolution */
253 #define HIL_IDD_HEADER_ABS 0x40 /* Reports Absolute Position */
254 #define HIL_IDD_HEADER_2X_AXIS 0x80 /* Two sets of 1-3 axis */
258 #define HIL_IDD_IOD_NBUTTON_MASK 0x07 /* Number of buttons */
259 #define HIL_IDD_IOD_PROXIMITY 0x08 /* Proximity in/out events */
260 #define HIL_IDD_IOD_PROMPT_MASK 0x70 /* Number of prompts/acks */
262 #define HIL_IDD_IOD_PROMPT 0x80 /* Generic prompt/ack */
289 (HIL_IDD_NUM_AXES_PER_SET(*(header_ptr)) <= __axnum)) ? 0 : \
306 (HIL_IDD_IOD(header_ptr) & HIL_IDD_IOD_NBUTTON_MASK) : 0)
311 >> HIL_IDD_IOD_PROMPT_SHIFT) : 0)
314 #define HIL_EXD_HEADER_WRG 0x03 /* Supports type2 WRG */
315 #define HIL_EXD_HEADER_WRG_TYPE1 0x01 /* Supports type1 WRG */
316 #define HIL_EXD_HEADER_WRG_TYPE2 0x02 /* Supports type2 WRG */
317 #define HIL_EXD_HEADER_RRG 0x04 /* Supports RRG command */
318 #define HIL_EXD_HEADER_RNM 0x10 /* Supports RNM command */
319 #define HIL_EXD_HEADER_RST 0x20 /* Supports RST command */
320 #define HIL_EXD_HEADER_LOCALE 0x40 /* Contains locale code */
324 (*(header_ptr + 1) & HIL_PKT_DATA_MASK) : 0)
329 HIL_PKT_DATA_MASK) : 0)
353 #define HIL_LOCALE_MAX 0x1f
359 "", /* 0x00 Reserved */ \
360 "", /* 0x01 Reserved */ \
361 "", /* 0x02 Reserved */ \
362 "swiss.french", /* 0x03 Swiss/French */ \
363 "portuguese", /* 0x04 Portuguese */ \
364 "arabic", /* 0x05 Arabic */ \
365 "hebrew", /* 0x06 Hebrew */ \
366 "english.canadian", /* 0x07 Canadian English */ \
367 "turkish", /* 0x08 Turkish */ \
368 "greek", /* 0x09 Greek */ \
369 "thai", /* 0x0a Thai (Thailand) */ \
370 "italian", /* 0x0b Italian */ \
371 "korean", /* 0x0c Hangul (Korea) */ \
372 "dutch", /* 0x0d Dutch */ \
373 "swedish", /* 0x0e Swedish */ \
374 "german", /* 0x0f German */ \
375 "chinese", /* 0x10 Chinese-PRC */ \
376 "chinese", /* 0x11 Chinese-ROC */ \
377 "swiss.french", /* 0x12 Swiss/French II */ \
378 "spanish", /* 0x13 Spanish */ \
379 "swiss.german", /* 0x14 Swiss/German II */ \
380 "flemish", /* 0x15 Belgian (Flemish) */ \
381 "finnish", /* 0x16 Finnish */ \
382 "english.uk", /* 0x17 United Kingdom */ \
383 "french.canadian", /* 0x18 French/Canadian */ \
384 "swiss.german", /* 0x19 Swiss/German */ \
385 "norwegian", /* 0x1a Norwegian */ \
386 "french", /* 0x1b French */ \
387 "danish", /* 0x1c Danish */ \
388 "japanese", /* 0x1d Katakana */ \
389 "spanish", /* 0x1e Latin American/Spanish*/\
390 "english.us" /* 0x1f United States */ \
468 #define HIL_POL_NUM_AXES_MASK 0x03 /* Number of axis reported */
469 #define HIL_POL_CTS 0x04 /* Device ready to receive data */
470 #define HIL_POL_STATUS_PENDING 0x08 /* Device has status to report */
471 #define HIL_POL_CHARTYPE_MASK 0x70 /* Type of character data to follow */
472 #define HIL_POL_CHARTYPE_NONE 0x00 /* No character data to follow */
473 #define HIL_POL_CHARTYPE_RSVD1 0x10 /* Reserved Set 1 */
474 #define HIL_POL_CHARTYPE_ASCII 0x20 /* U.S. ASCII */
475 #define HIL_POL_CHARTYPE_BINARY 0x30 /* Binary data */
476 #define HIL_POL_CHARTYPE_SET1 0x40 /* Keycode Set 1 */
477 #define HIL_POL_CHARTYPE_RSVD2 0x50 /* Reserved Set 2 */
478 #define HIL_POL_CHARTYPE_SET2 0x60 /* Keycode Set 2 */
479 #define HIL_POL_CHARTYPE_SET3 0x70 /* Keycode Set 3 */
480 #define HIL_POL_AXIS_ALT 0x80 /* Data is from axis set 2 */