Lines Matching +full:0 +full:x2184

54 	{ USB_DEVICE(0x0404, 0x034C) },	/* NCR Retail IO Box */
55 { USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */
56 { USB_DEVICE(0x0471, 0x066A) }, /* AKTAKOM ACE-1001 cable */
57 { USB_DEVICE(0x0489, 0xE000) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */
58 { USB_DEVICE(0x0489, 0xE003) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */
59 { USB_DEVICE(0x04BF, 0x1301) }, /* TDK Corporation NC0110013M - Network Controller */
60 { USB_DEVICE(0x04BF, 0x1303) }, /* TDK Corporation MM0110113M - i3 Micro Module */
61 { USB_DEVICE(0x0745, 0x1000) }, /* CipherLab USB CCD Barcode Scanner 1000 */
62 …{ USB_DEVICE(0x0846, 0x1100) }, /* NetGear Managed Switch M4100 series, M5300 series, M7100 series…
63 { USB_DEVICE(0x08e6, 0x5501) }, /* Gemalto Prox-PU/CU contactless smartcard reader */
64 { USB_DEVICE(0x08FD, 0x000A) }, /* Digianswer A/S , ZigBee/802.15.4 MAC Device */
65 { USB_DEVICE(0x0908, 0x0070) }, /* Siemens SCALANCE LPE-9000 USB Serial Console */
66 { USB_DEVICE(0x0908, 0x01FF) }, /* Siemens RUGGEDCOM USB Serial Console */
67 { USB_DEVICE(0x0988, 0x0578) }, /* Teraoka AD2000 */
68 { USB_DEVICE(0x0B00, 0x3070) }, /* Ingenico 3070 */
69 { USB_DEVICE(0x0BED, 0x1100) }, /* MEI (TM) Cashflow-SC Bill/Voucher Acceptor */
70 { USB_DEVICE(0x0BED, 0x1101) }, /* MEI series 2000 Combo Acceptor */
71 { USB_DEVICE(0x0FCF, 0x1003) }, /* Dynastream ANT development board */
72 { USB_DEVICE(0x0FCF, 0x1004) }, /* Dynastream ANT2USB */
73 { USB_DEVICE(0x0FCF, 0x1006) }, /* Dynastream ANT development board */
74 { USB_DEVICE(0x0FDE, 0xCA05) }, /* OWL Wireless Electricity Monitor CM-160 */
75 { USB_DEVICE(0x106F, 0x0003) }, /* CPI / Money Controls Bulk Coin Recycler */
76 { USB_DEVICE(0x10A6, 0xAA26) }, /* Knock-off DCU-11 cable */
77 { USB_DEVICE(0x10AB, 0x10C5) }, /* Siemens MC60 Cable */
78 { USB_DEVICE(0x10B5, 0xAC70) }, /* Nokia CA-42 USB */
79 { USB_DEVICE(0x10C4, 0x0F91) }, /* Vstabi */
80 { USB_DEVICE(0x10C4, 0x1101) }, /* Arkham Technology DS101 Bus Monitor */
81 { USB_DEVICE(0x10C4, 0x1601) }, /* Arkham Technology DS101 Adapter */
82 { USB_DEVICE(0x10C4, 0x800A) }, /* SPORTident BSM7-D-USB main station */
83 { USB_DEVICE(0x10C4, 0x803B) }, /* Pololu USB-serial converter */
84 { USB_DEVICE(0x10C4, 0x8044) }, /* Cygnal Debug Adapter */
85 { USB_DEVICE(0x10C4, 0x804E) }, /* Software Bisque Paramount ME build-in converter */
86 { USB_DEVICE(0x10C4, 0x8053) }, /* Enfora EDG1228 */
87 { USB_DEVICE(0x10C4, 0x8054) }, /* Enfora GSM2228 */
88 { USB_DEVICE(0x10C4, 0x8056) }, /* Lorenz Messtechnik devices */
89 { USB_DEVICE(0x10C4, 0x8066) }, /* Argussoft In-System Programmer */
90 { USB_DEVICE(0x10C4, 0x806F) }, /* IMS USB to RS422 Converter Cable */
91 { USB_DEVICE(0x10C4, 0x807A) }, /* Crumb128 board */
92 { USB_DEVICE(0x10C4, 0x80C4) }, /* Cygnal Integrated Products, Inc., Optris infrared thermometer */
93 { USB_DEVICE(0x10C4, 0x80CA) }, /* Degree Controls Inc */
94 { USB_DEVICE(0x10C4, 0x80DD) }, /* Tracient RFID */
95 { USB_DEVICE(0x10C4, 0x80F6) }, /* Suunto sports instrument */
96 { USB_DEVICE(0x10C4, 0x8115) }, /* Arygon NFC/Mifare Reader */
97 { USB_DEVICE(0x10C4, 0x813D) }, /* Burnside Telecom Deskmobile */
98 { USB_DEVICE(0x10C4, 0x813F) }, /* Tams Master Easy Control */
99 { USB_DEVICE(0x10C4, 0x814A) }, /* West Mountain Radio RIGblaster P&P */
100 { USB_DEVICE(0x10C4, 0x814B) }, /* West Mountain Radio RIGtalk */
101 { USB_DEVICE(0x2405, 0x0003) }, /* West Mountain Radio RIGblaster Advantage */
102 { USB_DEVICE(0x10C4, 0x8156) }, /* B&G H3000 link cable */
103 { USB_DEVICE(0x10C4, 0x815E) }, /* Helicomm IP-Link 1220-DVM */
104 { USB_DEVICE(0x10C4, 0x815F) }, /* Timewave HamLinkUSB */
105 { USB_DEVICE(0x10C4, 0x817C) }, /* CESINEL MEDCAL N Power Quality Monitor */
106 { USB_DEVICE(0x10C4, 0x817D) }, /* CESINEL MEDCAL NT Power Quality Monitor */
107 { USB_DEVICE(0x10C4, 0x817E) }, /* CESINEL MEDCAL S Power Quality Monitor */
108 { USB_DEVICE(0x10C4, 0x818B) }, /* AVIT Research USB to TTL */
109 { USB_DEVICE(0x10C4, 0x819F) }, /* MJS USB Toslink Switcher */
110 { USB_DEVICE(0x10C4, 0x81A6) }, /* ThinkOptics WavIt */
111 { USB_DEVICE(0x10C4, 0x81A9) }, /* Multiplex RC Interface */
112 { USB_DEVICE(0x10C4, 0x81AC) }, /* MSD Dash Hawk */
113 { USB_DEVICE(0x10C4, 0x81AD) }, /* INSYS USB Modem */
114 { USB_DEVICE(0x10C4, 0x81C8) }, /* Lipowsky Industrie Elektronik GmbH, Baby-JTAG */
115 { USB_DEVICE(0x10C4, 0x81D7) }, /* IAI Corp. RCB-CV-USB USB to RS485 Adaptor */
116 { USB_DEVICE(0x10C4, 0x81E2) }, /* Lipowsky Industrie Elektronik GmbH, Baby-LIN */
117 { USB_DEVICE(0x10C4, 0x81E7) }, /* Aerocomm Radio */
118 { USB_DEVICE(0x10C4, 0x81E8) }, /* Zephyr Bioharness */
119 { USB_DEVICE(0x10C4, 0x81F2) }, /* C1007 HF band RFID controller */
120 { USB_DEVICE(0x10C4, 0x8218) }, /* Lipowsky Industrie Elektronik GmbH, HARP-1 */
121 { USB_DEVICE(0x10C4, 0x822B) }, /* Modem EDGE(GSM) Comander 2 */
122 …{ USB_DEVICE(0x10C4, 0x826B) }, /* Cygnal Integrated Products, Inc., Fasttrax GPS demonstration mo…
123 { USB_DEVICE(0x10C4, 0x8281) }, /* Nanotec Plug & Drive */
124 { USB_DEVICE(0x10C4, 0x8293) }, /* Telegesis ETRX2USB */
125 { USB_DEVICE(0x10C4, 0x82AA) }, /* Silicon Labs IFS-USB-DATACABLE used with Quint UPS */
126 { USB_DEVICE(0x10C4, 0x82EF) }, /* CESINEL FALCO 6105 AC Power Supply */
127 { USB_DEVICE(0x10C4, 0x82F1) }, /* CESINEL MEDCAL EFD Earth Fault Detector */
128 { USB_DEVICE(0x10C4, 0x82F2) }, /* CESINEL MEDCAL ST Network Analyzer */
129 { USB_DEVICE(0x10C4, 0x82F4) }, /* Starizona MicroTouch */
130 { USB_DEVICE(0x10C4, 0x82F9) }, /* Procyon AVS */
131 { USB_DEVICE(0x10C4, 0x8341) }, /* Siemens MC35PU GPRS Modem */
132 { USB_DEVICE(0x10C4, 0x8382) }, /* Cygnal Integrated Products, Inc. */
133 { USB_DEVICE(0x10C4, 0x83A8) }, /* Amber Wireless AMB2560 */
134 { USB_DEVICE(0x10C4, 0x83AA) }, /* Mark-10 Digital Force Gauge */
135 { USB_DEVICE(0x10C4, 0x83D8) }, /* DekTec DTA Plus VHF/UHF Booster/Attenuator */
136 { USB_DEVICE(0x10C4, 0x8411) }, /* Kyocera GPS Module */
137 { USB_DEVICE(0x10C4, 0x8414) }, /* Decagon USB Cable Adapter */
138 { USB_DEVICE(0x10C4, 0x8418) }, /* IRZ Automation Teleport SG-10 GSM/GPRS Modem */
139 { USB_DEVICE(0x10C4, 0x846E) }, /* BEI USB Sensor Interface (VCP) */
140 { USB_DEVICE(0x10C4, 0x8470) }, /* Juniper Networks BX Series System Console */
141 { USB_DEVICE(0x10C4, 0x8477) }, /* Balluff RFID */
142 { USB_DEVICE(0x10C4, 0x84B6) }, /* Starizona Hyperion */
143 { USB_DEVICE(0x10C4, 0x851E) }, /* CESINEL MEDCAL PT Network Analyzer */
144 { USB_DEVICE(0x10C4, 0x85A7) }, /* LifeScan OneTouch Verio IQ */
145 { USB_DEVICE(0x10C4, 0x85B8) }, /* CESINEL ReCon T Energy Logger */
146 { USB_DEVICE(0x10C4, 0x85EA) }, /* AC-Services IBUS-IF */
147 { USB_DEVICE(0x10C4, 0x85EB) }, /* AC-Services CIS-IBUS */
148 { USB_DEVICE(0x10C4, 0x85F8) }, /* Virtenio Preon32 */
149 { USB_DEVICE(0x10C4, 0x863C) }, /* MGP Instruments PDS100 */
150 { USB_DEVICE(0x10C4, 0x8664) }, /* AC-Services CAN-IF */
151 { USB_DEVICE(0x10C4, 0x8665) }, /* AC-Services OBD-IF */
152 { USB_DEVICE(0x10C4, 0x87ED) }, /* IMST USB-Stick for Smart Meter */
153 { USB_DEVICE(0x10C4, 0x8856) }, /* CEL EM357 ZigBee USB Stick - LR */
154 { USB_DEVICE(0x10C4, 0x8857) }, /* CEL EM357 ZigBee USB Stick */
155 { USB_DEVICE(0x10C4, 0x88A4) }, /* MMB Networks ZigBee USB Device */
156 { USB_DEVICE(0x10C4, 0x88A5) }, /* Planet Innovation Ingeni ZigBee USB Device */
157 { USB_DEVICE(0x10C4, 0x88D8) }, /* Acuity Brands nLight Air Adapter */
158 { USB_DEVICE(0x10C4, 0x88FB) }, /* CESINEL MEDCAL STII Network Analyzer */
159 { USB_DEVICE(0x10C4, 0x8938) }, /* CESINEL MEDCAL S II Network Analyzer */
160 { USB_DEVICE(0x10C4, 0x8946) }, /* Ketra N1 Wireless Interface */
161 { USB_DEVICE(0x10C4, 0x8962) }, /* Brim Brothers charging dock */
162 { USB_DEVICE(0x10C4, 0x8977) }, /* CEL MeshWorks DevKit Device */
163 { USB_DEVICE(0x10C4, 0x8998) }, /* KCF Technologies PRN */
164 { USB_DEVICE(0x10C4, 0x89A4) }, /* CESINEL FTBC Flexible Thyristor Bridge Controller */
165 { USB_DEVICE(0x10C4, 0x89FB) }, /* Qivicon ZigBee USB Radio Stick */
166 { USB_DEVICE(0x10C4, 0x8A2A) }, /* HubZ dual ZigBee and Z-Wave dongle */
167 { USB_DEVICE(0x10C4, 0x8A5B) }, /* CEL EM3588 ZigBee USB Stick */
168 { USB_DEVICE(0x10C4, 0x8A5E) }, /* CEL EM3588 ZigBee USB Stick Long Range */
169 { USB_DEVICE(0x10C4, 0x8B34) }, /* Qivicon ZigBee USB Radio Stick */
170 { USB_DEVICE(0x10C4, 0xEA60) }, /* Silicon Labs factory default */
171 { USB_DEVICE(0x10C4, 0xEA61) }, /* Silicon Labs factory default */
172 { USB_DEVICE(0x10C4, 0xEA63) }, /* Silicon Labs Windows Update (CP2101-4/CP2102N) */
173 { USB_DEVICE(0x10C4, 0xEA70) }, /* Silicon Labs factory default */
174 { USB_DEVICE(0x10C4, 0xEA71) }, /* Infinity GPS-MIC-1 Radio Monophone */
175 { USB_DEVICE(0x10C4, 0xEA7A) }, /* Silicon Labs Windows Update (CP2105) */
176 { USB_DEVICE(0x10C4, 0xEA7B) }, /* Silicon Labs Windows Update (CP2108) */
177 { USB_DEVICE(0x10C4, 0xF001) }, /* Elan Digital Systems USBscope50 */
178 { USB_DEVICE(0x10C4, 0xF002) }, /* Elan Digital Systems USBwave12 */
179 { USB_DEVICE(0x10C4, 0xF003) }, /* Elan Digital Systems USBpulse100 */
180 { USB_DEVICE(0x10C4, 0xF004) }, /* Elan Digital Systems USBcount50 */
181 { USB_DEVICE(0x10C5, 0xEA61) }, /* Silicon Labs MobiData GPRS USB Modem */
182 { USB_DEVICE(0x10CE, 0xEA6A) }, /* Silicon Labs MobiData GPRS USB Modem 100EU */
183 { USB_DEVICE(0x11CA, 0x0212) }, /* Verifone USB to Printer (UART, CP2102) */
184 { USB_DEVICE(0x12B8, 0xEC60) }, /* Link G4 ECU */
185 { USB_DEVICE(0x12B8, 0xEC62) }, /* Link G4+ ECU */
186 { USB_DEVICE(0x13AD, 0x9999) }, /* Baltech card reader */
187 { USB_DEVICE(0x1555, 0x0004) }, /* Owen AC4 USB-RS485 Converter */
188 { USB_DEVICE(0x155A, 0x1006) }, /* ELDAT Easywave RX09 */
189 { USB_DEVICE(0x166A, 0x0201) }, /* Clipsal 5500PACA C-Bus Pascal Automation Controller */
190 { USB_DEVICE(0x166A, 0x0301) }, /* Clipsal 5800PC C-Bus Wireless PC Interface */
191 { USB_DEVICE(0x166A, 0x0303) }, /* Clipsal 5500PCU C-Bus USB interface */
192 { USB_DEVICE(0x166A, 0x0304) }, /* Clipsal 5000CT2 C-Bus Black and White Touchscreen */
193 { USB_DEVICE(0x166A, 0x0305) }, /* Clipsal C-5000CT2 C-Bus Spectrum Colour Touchscreen */
194 { USB_DEVICE(0x166A, 0x0401) }, /* Clipsal L51xx C-Bus Architectural Dimmer */
195 { USB_DEVICE(0x166A, 0x0101) }, /* Clipsal 5560884 C-Bus Multi-room Audio Matrix Switcher */
196 { USB_DEVICE(0x16C0, 0x09B0) }, /* Lunatico Seletek */
197 { USB_DEVICE(0x16C0, 0x09B1) }, /* Lunatico Seletek */
198 { USB_DEVICE(0x16D6, 0x0001) }, /* Jablotron serial interface */
199 { USB_DEVICE(0x16DC, 0x0010) }, /* W-IE-NE-R Plein & Baus GmbH PL512 Power Supply */
200 …{ USB_DEVICE(0x16DC, 0x0011) }, /* W-IE-NE-R Plein & Baus GmbH RCM Remote Control for MARATON Powe…
201 { USB_DEVICE(0x16DC, 0x0012) }, /* W-IE-NE-R Plein & Baus GmbH MPOD Multi Channel Power Supply */
202 …{ USB_DEVICE(0x16DC, 0x0015) }, /* W-IE-NE-R Plein & Baus GmbH CML Control, Monitoring and Data Lo…
203 { USB_DEVICE(0x17A8, 0x0001) }, /* Kamstrup Optical Eye/3-wire */
204 { USB_DEVICE(0x17A8, 0x0005) }, /* Kamstrup M-Bus Master MultiPort 250D */
205 { USB_DEVICE(0x17A8, 0x0011) }, /* Kamstrup 444 MHz RF sniffer */
206 { USB_DEVICE(0x17A8, 0x0013) }, /* Kamstrup 870 MHz RF sniffer */
207 { USB_DEVICE(0x17A8, 0x0101) }, /* Kamstrup 868 MHz wM-Bus C-Mode Meter Reader (Int Ant) */
208 { USB_DEVICE(0x17A8, 0x0102) }, /* Kamstrup 868 MHz wM-Bus C-Mode Meter Reader (Ext Ant) */
209 { USB_DEVICE(0x17F4, 0xAAAA) }, /* Wavesense Jazz blood glucose meter */
210 { USB_DEVICE(0x1843, 0x0200) }, /* Vaisala USB Instrument Cable */
211 { USB_DEVICE(0x18EF, 0xE00F) }, /* ELV USB-I2C-Interface */
212 { USB_DEVICE(0x18EF, 0xE025) }, /* ELV Marble Sound Board 1 */
213 { USB_DEVICE(0x18EF, 0xE030) }, /* ELV ALC 8xxx Battery Charger */
214 { USB_DEVICE(0x18EF, 0xE032) }, /* ELV TFD500 Data Logger */
215 { USB_DEVICE(0x1901, 0x0190) }, /* GE B850 CP2105 Recorder interface */
216 { USB_DEVICE(0x1901, 0x0193) }, /* GE B650 CP2104 PMC interface */
217 { USB_DEVICE(0x1901, 0x0194) }, /* GE Healthcare Remote Alarm Box */
218 { USB_DEVICE(0x1901, 0x0195) }, /* GE B850/B650/B450 CP2104 DP UART interface */
219 { USB_DEVICE(0x1901, 0x0196) }, /* GE B850 CP2105 DP UART interface */
220 { USB_DEVICE(0x1901, 0x0197) }, /* GE CS1000 M.2 Key E serial interface */
221 { USB_DEVICE(0x1901, 0x0198) }, /* GE CS1000 Display serial interface */
222 { USB_DEVICE(0x199B, 0xBA30) }, /* LORD WSDA-200-USB */
223 { USB_DEVICE(0x19CF, 0x3000) }, /* Parrot NMEA GPS Flight Recorder */
224 { USB_DEVICE(0x1ADB, 0x0001) }, /* Schweitzer Engineering C662 Cable */
225 { USB_DEVICE(0x1B1C, 0x1C00) }, /* Corsair USB Dongle */
226 { USB_DEVICE(0x1BA4, 0x0002) }, /* Silicon Labs 358x factory default */
227 { USB_DEVICE(0x1BE3, 0x07A6) }, /* WAGO 750-923 USB Service Cable */
228 { USB_DEVICE(0x1D6F, 0x0010) }, /* Seluxit ApS RF Dongle */
229 { USB_DEVICE(0x1E29, 0x0102) }, /* Festo CPX-USB */
230 { USB_DEVICE(0x1E29, 0x0501) }, /* Festo CMSP */
231 { USB_DEVICE(0x1FB9, 0x0100) }, /* Lake Shore Model 121 Current Source */
232 { USB_DEVICE(0x1FB9, 0x0200) }, /* Lake Shore Model 218A Temperature Monitor */
233 { USB_DEVICE(0x1FB9, 0x0201) }, /* Lake Shore Model 219 Temperature Monitor */
234 { USB_DEVICE(0x1FB9, 0x0202) }, /* Lake Shore Model 233 Temperature Transmitter */
235 { USB_DEVICE(0x1FB9, 0x0203) }, /* Lake Shore Model 235 Temperature Transmitter */
236 { USB_DEVICE(0x1FB9, 0x0300) }, /* Lake Shore Model 335 Temperature Controller */
237 { USB_DEVICE(0x1FB9, 0x0301) }, /* Lake Shore Model 336 Temperature Controller */
238 { USB_DEVICE(0x1FB9, 0x0302) }, /* Lake Shore Model 350 Temperature Controller */
239 { USB_DEVICE(0x1FB9, 0x0303) }, /* Lake Shore Model 371 AC Bridge */
240 { USB_DEVICE(0x1FB9, 0x0400) }, /* Lake Shore Model 411 Handheld Gaussmeter */
241 { USB_DEVICE(0x1FB9, 0x0401) }, /* Lake Shore Model 425 Gaussmeter */
242 { USB_DEVICE(0x1FB9, 0x0402) }, /* Lake Shore Model 455A Gaussmeter */
243 { USB_DEVICE(0x1FB9, 0x0403) }, /* Lake Shore Model 475A Gaussmeter */
244 { USB_DEVICE(0x1FB9, 0x0404) }, /* Lake Shore Model 465 Three Axis Gaussmeter */
245 { USB_DEVICE(0x1FB9, 0x0600) }, /* Lake Shore Model 625A Superconducting MPS */
246 { USB_DEVICE(0x1FB9, 0x0601) }, /* Lake Shore Model 642A Magnet Power Supply */
247 { USB_DEVICE(0x1FB9, 0x0602) }, /* Lake Shore Model 648 Magnet Power Supply */
248 { USB_DEVICE(0x1FB9, 0x0700) }, /* Lake Shore Model 737 VSM Controller */
249 { USB_DEVICE(0x1FB9, 0x0701) }, /* Lake Shore Model 776 Hall Matrix */
250 { USB_DEVICE(0x2184, 0x0030) }, /* GW Instek GDM-834x Digital Multimeter */
251 { USB_DEVICE(0x2626, 0xEA60) }, /* Aruba Networks 7xxx USB Serial Console */
252 { USB_DEVICE(0x3195, 0xF190) }, /* Link Instruments MSO-19 */
253 { USB_DEVICE(0x3195, 0xF280) }, /* Link Instruments MSO-28 */
254 { USB_DEVICE(0x3195, 0xF281) }, /* Link Instruments MSO-28 */
255 { USB_DEVICE(0x3923, 0x7A0B) }, /* National Instruments USB Serial Console */
256 { USB_DEVICE(0x413C, 0x9500) }, /* DW700 GPS USB interface */
332 #define REQTYPE_HOST_TO_INTERFACE 0x41
333 #define REQTYPE_INTERFACE_TO_HOST 0xc1
334 #define REQTYPE_HOST_TO_DEVICE 0x40
335 #define REQTYPE_DEVICE_TO_HOST 0xc0
338 #define CP210X_IFC_ENABLE 0x00
339 #define CP210X_SET_BAUDDIV 0x01
340 #define CP210X_GET_BAUDDIV 0x02
341 #define CP210X_SET_LINE_CTL 0x03
342 #define CP210X_GET_LINE_CTL 0x04
343 #define CP210X_SET_BREAK 0x05
344 #define CP210X_IMM_CHAR 0x06
345 #define CP210X_SET_MHS 0x07
346 #define CP210X_GET_MDMSTS 0x08
347 #define CP210X_SET_XON 0x09
348 #define CP210X_SET_XOFF 0x0A
349 #define CP210X_SET_EVENTMASK 0x0B
350 #define CP210X_GET_EVENTMASK 0x0C
351 #define CP210X_SET_CHAR 0x0D
352 #define CP210X_GET_CHARS 0x0E
353 #define CP210X_GET_PROPS 0x0F
354 #define CP210X_GET_COMM_STATUS 0x10
355 #define CP210X_RESET 0x11
356 #define CP210X_PURGE 0x12
357 #define CP210X_SET_FLOW 0x13
358 #define CP210X_GET_FLOW 0x14
359 #define CP210X_EMBED_EVENTS 0x15
360 #define CP210X_GET_EVENTSTATE 0x16
361 #define CP210X_SET_CHARS 0x19
362 #define CP210X_GET_BAUDRATE 0x1D
363 #define CP210X_SET_BAUDRATE 0x1E
364 #define CP210X_VENDOR_SPECIFIC 0xFF
367 #define UART_ENABLE 0x0001
368 #define UART_DISABLE 0x0000
371 #define BAUD_RATE_GEN_FREQ 0x384000
374 #define BITS_DATA_MASK 0X0f00
375 #define BITS_DATA_5 0X0500
376 #define BITS_DATA_6 0X0600
377 #define BITS_DATA_7 0X0700
378 #define BITS_DATA_8 0X0800
379 #define BITS_DATA_9 0X0900
381 #define BITS_PARITY_MASK 0x00f0
382 #define BITS_PARITY_NONE 0x0000
383 #define BITS_PARITY_ODD 0x0010
384 #define BITS_PARITY_EVEN 0x0020
385 #define BITS_PARITY_MARK 0x0030
386 #define BITS_PARITY_SPACE 0x0040
388 #define BITS_STOP_MASK 0x000f
389 #define BITS_STOP_1 0x0000
390 #define BITS_STOP_1_5 0x0001
391 #define BITS_STOP_2 0x0002
394 #define BREAK_ON 0x0001
395 #define BREAK_OFF 0x0000
398 #define CONTROL_DTR 0x0001
399 #define CONTROL_RTS 0x0002
400 #define CONTROL_CTS 0x0010
401 #define CONTROL_DSR 0x0020
402 #define CONTROL_RING 0x0040
403 #define CONTROL_DCD 0x0080
404 #define CONTROL_WRITE_DTR 0x0100
405 #define CONTROL_WRITE_RTS 0x0200
418 #define CP210X_GET_FW_VER 0x000E
419 #define CP210X_READ_2NCONFIG 0x000E
420 #define CP210X_GET_FW_VER_2N 0x0010
421 #define CP210X_READ_LATCH 0x00C2
422 #define CP210X_GET_PARTNUM 0x370B
423 #define CP210X_GET_PORTCONFIG 0x370C
424 #define CP210X_GET_DEVICEMODE 0x3711
425 #define CP210X_WRITE_LATCH 0x37E1
428 #define CP210X_PARTNUM_CP2101 0x01
429 #define CP210X_PARTNUM_CP2102 0x02
430 #define CP210X_PARTNUM_CP2103 0x03
431 #define CP210X_PARTNUM_CP2104 0x04
432 #define CP210X_PARTNUM_CP2105 0x05
433 #define CP210X_PARTNUM_CP2108 0x08
434 #define CP210X_PARTNUM_CP2102N_QFN28 0x20
435 #define CP210X_PARTNUM_CP2102N_QFN24 0x21
436 #define CP210X_PARTNUM_CP2102N_QFN20 0x22
437 #define CP210X_PARTNUM_UNKNOWN 0xFF
439 /* CP210X_GET_COMM_STATUS returns these 0x13 bytes */
453 * bit 0 or bit 2 clears the transmit queue and 1 or 3 receive.
456 #define PURGE_ALL 0x000f
459 #define CP210X_ESCCHAR 0xec
467 /* CP210X_GET_FLOW/CP210X_SET_FLOW read/write these 0x10 bytes */
476 #define CP210X_SERIAL_DTR_MASK GENMASK(1, 0)
477 #define CP210X_SERIAL_DTR_INACTIVE (0 << 0)
478 #define CP210X_SERIAL_DTR_ACTIVE (1 << 0)
479 #define CP210X_SERIAL_DTR_FLOW_CTL (2 << 0)
486 #define CP210X_SERIAL_AUTO_TRANSMIT BIT(0)
492 #define CP210X_SERIAL_RTS_INACTIVE (0 << 6)
497 /* CP210X_VENDOR_SPECIFIC, CP210X_GET_DEVICEMODE call reads these 0x2 bytes. */
503 #define CP210X_PIN_MODE_MODEM 0
504 #define CP210X_PIN_MODE_GPIO BIT(0)
507 * CP210X_VENDOR_SPECIFIC, CP210X_GET_PORTCONFIG call reads these 0xf bytes
522 * CP210X_VENDOR_SPECIFIC, CP210X_GET_PORTCONFIG call reads these 0xd bytes
545 #define CP2105_GPIO0_TXLED_MODE BIT(0)
550 #define CP2104_GPIO0_TXLED_MODE BIT(0)
575 * CP210X_VENDOR_SPECIFIC, CP210X_GET_PORTCONFIG call reads these 0x49 bytes
589 #define CP2108_EF_IFC_GPIO_TXLED 0x01
590 #define CP2108_EF_IFC_GPIO_RXLED 0x02
591 #define CP2108_EF_IFC_GPIO_RS485 0x04
592 #define CP2108_EF_IFC_GPIO_RS485_LOGIC 0x08
593 #define CP2108_EF_IFC_GPIO_CLOCK 0x10
594 #define CP2108_EF_IFC_DYNAMIC_SUSPEND 0x40
609 * CP210X_VENDOR_SPECIFIC, CP210X_WRITE_LATCH call writes these 0x02 bytes
618 * CP210X_VENDOR_SPECIFIC, CP210X_WRITE_LATCH call writes these 0x04 bytes
650 result = usb_control_msg_recv(serial->dev, 0, req, in cp210x_read_reg_block()
651 REQTYPE_INTERFACE_TO_HOST, 0, in cp210x_read_reg_block()
655 dev_err(&port->dev, "failed get req 0x%x size %d status: %d\n", in cp210x_read_reg_block()
660 return 0; in cp210x_read_reg_block()
680 result = usb_control_msg_recv(serial->dev, 0, CP210X_VENDOR_SPECIFIC, in cp210x_read_vendor_block()
685 "failed to get vendor val 0x%04x size %d: %d\n", val, in cp210x_read_vendor_block()
690 return 0; in cp210x_read_vendor_block()
703 result = usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), in cp210x_write_u16_reg()
705 port_priv->bInterfaceNumber, NULL, 0, in cp210x_write_u16_reg()
707 if (result < 0) { in cp210x_write_u16_reg()
708 dev_err(&port->dev, "failed set request 0x%x status: %d\n", in cp210x_write_u16_reg()
726 result = usb_control_msg_send(serial->dev, 0, req, in cp210x_write_reg_block()
727 REQTYPE_HOST_TO_INTERFACE, 0, in cp210x_write_reg_block()
731 dev_err(&port->dev, "failed set req 0x%x size %d status: %d\n", in cp210x_write_reg_block()
736 return 0; in cp210x_write_reg_block()
761 result = usb_control_msg_send(serial->dev, 0, CP210X_VENDOR_SPECIFIC, in cp210x_write_vendor_block()
766 "failed to set vendor val 0x%04x size %d: %d\n", val, in cp210x_write_vendor_block()
771 return 0; in cp210x_write_vendor_block()
793 return 0; in cp210x_open()
832 tty_insert_flip_char(&port->port, 0, TTY_OVERRUN); in cp210x_process_lsr()
849 case 0: in cp210x_process_char()
864 dev_err(&port->dev, "malformed event 0x%02x\n", *ch); in cp210x_process_char()
874 dev_dbg(&port->dev, "%s - lsr = 0x%02x, data = 0x%02x\n", in cp210x_process_char()
880 dev_dbg(&port->dev, "%s - lsr = 0x%02x\n", __func__, *ch); in cp210x_process_char()
886 dev_dbg(&port->dev, "%s - msr = 0x%02x\n", __func__, *ch); in cp210x_process_char()
907 for (i = 0; i < urb->actual_length; i++, ch++) { in cp210x_process_read_urb()
932 result = usb_control_msg_recv(serial->dev, 0, CP210X_GET_COMM_STATUS, in cp210x_get_tx_queue_byte_count()
933 REQTYPE_INTERFACE_TO_HOST, 0, in cp210x_get_tx_queue_byte_count()
943 return 0; in cp210x_get_tx_queue_byte_count()
1002 for (i = 0; i < ARRAY_SIZE(cp210x_an205_table1); ++i) { in cp210x_get_an205_rate()
1058 if (tty->termios.c_ospeed == 0) in cp210x_change_speed()
1114 ret = cp210x_write_u16_reg(port, CP210X_EMBED_EVENTS, 0); in cp210x_disable_event_mode()
1156 if (tty->termios.c_ospeed != 0 && in cp210x_set_flow_control()
1157 old_termios && old_termios->c_ospeed != 0 && in cp210x_set_flow_control()
1167 memset(&chars, 0, sizeof(chars)); in cp210x_set_flow_control()
1182 if (tty->termios.c_ospeed == 0) { in cp210x_set_flow_control()
1185 } else if (old_termios && old_termios->c_ospeed == 0) { in cp210x_set_flow_control()
1238 dev_dbg(&port->dev, "%s - ctrl = 0x%02x, flow = 0x%02x\n", __func__, in cp210x_set_flow_control()
1263 tty->termios.c_ospeed != 0) in cp210x_set_termios()
1275 bits = 0; in cp210x_set_termios()
1341 u16 control = 0; in cp210x_tiocmset_port()
1395 dev_dbg(&port->dev, "%s - ctrl = 0x%02x, flow = 0x%02x\n", in cp210x_tiocmset_port()
1401 dev_dbg(&port->dev, "%s - control = 0x%04x\n", __func__, control); in cp210x_tiocmset_port()
1414 cp210x_tiocmset_port(port, TIOCM_DTR | TIOCM_RTS, 0); in cp210x_dtr_rts()
1416 cp210x_tiocmset_port(port, 0, TIOCM_DTR | TIOCM_RTS); in cp210x_dtr_rts()
1429 result = ((control & CONTROL_DTR) ? TIOCM_DTR : 0) in cp210x_tiocmget()
1430 |((control & CONTROL_RTS) ? TIOCM_RTS : 0) in cp210x_tiocmget()
1431 |((control & CONTROL_CTS) ? TIOCM_CTS : 0) in cp210x_tiocmget()
1432 |((control & CONTROL_DSR) ? TIOCM_DSR : 0) in cp210x_tiocmget()
1433 |((control & CONTROL_RING)? TIOCM_RI : 0) in cp210x_tiocmget()
1434 |((control & CONTROL_DCD) ? TIOCM_CD : 0); in cp210x_tiocmget()
1436 dev_dbg(&port->dev, "%s - control = 0x%02x\n", __func__, control); in cp210x_tiocmget()
1452 if (break_state == 0) in cp210x_break_ctl()
1492 mask = 0; in cp210x_gpio_get()
1498 if (result < 0) in cp210x_gpio_get()
1519 state = 0; in cp210x_gpio_set()
1547 usb_sndctrlpipe(serial->dev, 0), in cp210x_gpio_set()
1552 NULL, 0, USB_CTRL_SET_TIMEOUT); in cp210x_gpio_set()
1558 if (result < 0) { in cp210x_gpio_set()
1591 return 0; in cp210x_gpio_direction_input()
1603 return 0; in cp210x_gpio_direction_output()
1616 return 0; in cp210x_gpio_set_config()
1620 return 0; in cp210x_gpio_set_config()
1640 return 0; in cp210x_gpio_init_valid_mask()
1662 if (result < 0) in cp2105_gpioconf_init()
1668 if (result < 0) in cp2105_gpioconf_init()
1672 if (intf_num == 0) { in cp2105_gpioconf_init()
1677 priv->gpio_altfunc = 0xff; in cp2105_gpioconf_init()
1678 return 0; in cp2105_gpioconf_init()
1690 priv->gpio_altfunc = 0xff; in cp2105_gpioconf_init()
1691 return 0; in cp2105_gpioconf_init()
1703 if (iface_config & CP2105_GPIO0_TXLED_MODE) /* GPIO 0 */ in cp2105_gpioconf_init()
1704 priv->gpio_altfunc |= BIT(0); in cp2105_gpioconf_init()
1710 priv->gpio_input = 0; in cp2105_gpioconf_init()
1712 return 0; in cp2105_gpioconf_init()
1727 if (result < 0) in cp2104_gpioconf_init()
1741 if (iface_config & CP2104_GPIO0_TXLED_MODE) /* GPIO 0 */ in cp2104_gpioconf_init()
1742 priv->gpio_altfunc |= BIT(0); in cp2104_gpioconf_init()
1753 for (i = 0; i < priv->gc.ngpio; ++i) { in cp2104_gpioconf_init()
1762 return 0; in cp2104_gpioconf_init()
1776 if (result < 0) in cp2108_gpio_init()
1789 * Alternate functions of GPIO0 to GPIO3 are determine by enhancedfxn_ifc[0] in cp2108_gpio_init()
1793 for (i = 0; i < 4; i++) { in cp2108_gpio_init()
1808 for (i = 0; i < priv->gc.ngpio; ++i) { in cp2108_gpio_init()
1817 return 0; in cp2108_gpio_init()
1823 const u16 config_size = 0x02a6; in cp2102n_gpioconf_init()
1849 if (result < 0) { in cp2102n_gpioconf_init()
1862 if (config_version != 0x01) in cp2102n_gpioconf_init()
1871 gpio_latch = (gpio_rst_latch >> 3) & 0x0f; in cp2102n_gpioconf_init()
1873 /* 0 indicates open-drain mode, 1 is push-pull */ in cp2102n_gpioconf_init()
1874 priv->gpio_pushpull = (gpio_pushpull >> 3) & 0x0f; in cp2102n_gpioconf_init()
1876 /* 0 indicates GPIO mode, 1 is alternate function */ in cp2102n_gpioconf_init()
1879 if (gpio_ctrl & CP2102N_QFN20_GPIO0_CLK_MODE) /* GPIO 0 */ in cp2102n_gpioconf_init()
1880 priv->gpio_altfunc |= BIT(0); in cp2102n_gpioconf_init()
1888 priv->gpio_altfunc = (gpio_ctrl >> 2) & 0x0f; in cp2102n_gpioconf_init()
1912 for (i = 0; i < priv->gc.ngpio; ++i) { in cp2102n_gpioconf_init()
1921 return 0; in cp2102n_gpioconf_init()
1939 * once for interface 0. in cp210x_gpio_init()
1941 if (cp210x_interface_num(serial) != 0) in cp210x_gpio_init()
1942 return 0; in cp210x_gpio_init()
1951 return 0; in cp210x_gpio_init()
1954 if (result < 0) in cp210x_gpio_init()
1991 return 0; in cp210x_gpio_init()
2015 return 0; in cp210x_port_probe()
2049 if (cp210x_interface_num(serial) == 0) { in cp210x_init_max_speed()
2088 ret = usb_control_msg(serial->dev, usb_rcvctrlpipe(serial->dev, 0), in cp2102_determine_quirks()
2090 CP210X_GET_PARTNUM, 0, buf, 2, USB_CTRL_GET_TIMEOUT); in cp2102_determine_quirks()
2112 ver[0], ver[1], ver[2]); in cp210x_get_fw_version()
2114 priv->fw_version = ver[0] << 16 | ver[1] << 8 | ver[2]; in cp210x_get_fw_version()
2116 return 0; in cp210x_get_fw_version()
2127 if (ret < 0) { in cp210x_determine_type()
2134 dev_dbg(&serial->interface->dev, "partnum = 0x%02x\n", priv->partnum); in cp210x_determine_type()
2150 if (priv->fw_version <= 0x10004) in cp210x_determine_type()
2173 if (result < 0) { in cp210x_attach()
2178 return 0; in cp210x_attach()