Lines Matching +full:self +full:- +full:powered
1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * USBVEND.H Vendor-specific USB definitions
7 * must be kept backward-compatible with older firmware.
34 // We break the USB-defined PID into an OEM Id field (upper 6 bits)
40 // ION-device OEM IDs
50 // ION-device Device IDs
51 // Product IDs - assigned to match middle digit of serial number (No longer true)
77 // ION_DEVICE_ID_EDGEPORT_8_HANDBUILT 0x009 // Hand-built Edgeport/8 (Placeholder, used in middle d…
83 #define ION_DEVICE_ID_EDGEPORT_8 0x00F // Edgeport/8 (single-CPU)
88 #define ION_DEVICE_ID_EDGEPORT_8I 0x014 // Edgeport/8 RS422 (single-CPU)
97 #define ION_DEVICE_ID_EDGEPORT_2C 0x01B // Edgeport/2c is a TI based Edgeport/2 - Small I2c
99 // 2 external hub ports - Large I2C
101 // 2 external hub ports - Large I2C
113 // Generation 3 devices -- 3410 based edgport/1 (256 byte I2C)
115 #define ION_DEVICE_ID_TI3410_EDGEPORT_1I 0x041 // Edgeport/1i- RS422 model
118 #define ION_DEVICE_ID_EDGEPORT_4S 0x042 // Edgeport/4s - software switchable model
119 #define ION_DEVICE_ID_EDGEPORT_8S 0x043 // Edgeport/8s - software switchable model
137 // 2 external hub ports - Large I2C
139 // 2 external hub ports - Large I2C
142 // Generation 3 devices -- 3410 based edgport/1 (256 byte I2C)
144 #define ION_DEVICE_ID_TI_TI3410_EDGEPORT_1I 0x0241 // Edgeport/1i- RS422 model
147 #define ION_DEVICE_ID_TI_EDGEPORT_4S 0x0242 // Edgeport/4s - software switchable model
148 #define ION_DEVICE_ID_TI_EDGEPORT_8S 0x0243 // Edgeport/8s - software switchable model
149 #define ION_DEVICE_ID_TI_EDGEPORT_8 0x0244 // Edgeport/8 (single-CPU)
159 // Watchport based on 3410 both 1-wire and binary products (16K I2C)
160 #define ION_DEVICE_ID_WP_UNSERIALIZED 0x300 // Watchport based on 3410 both 1-wire and binary prod…
249 // Definitions of I/O Networks vendor-specific requests
252 // bmRequestType = 01000000 Set vendor-specific, to device
253 // bmRequestType = 11000000 Get vendor-specific, to device
260 // wValue = 16-bit address
272 #define USB_REQUEST_ION_EXEC_DL_CODE 7 // Begin execution of RAM-based download
288 // Define parameter values for our vendor-specific commands
294 // This descriptor is only returned by Edgeport-compatible devices
302 // This __u32 defines which Vendor-specific commands/functionality
391 // Notes for the following two ION vendor-specific param descriptors:
395 // 2. Any strings in the structures are in USB-defined string
408 // xC00-xFBF (length 3C0h) in the ROM.
428 // Start of v1-compatible section
441 // so host can track changes to USB-only descriptors.
445 __le16 SerialNumber[MAX_SERIALNUMBER_LEN]; // F0E "01-01-000100" Unicode Serial Number
449 __le16 AssemblyNumber[MAX_ASSEMBLYNUMBER_LEN]; // F28 "350-1000-01-A " assembly number
459 __u8 Reserved3[0x4D]; // F70 -- unused, set to 0 --
486 // changes in a software-visible way, such that the 930 software or
491 // Implementation 0 (ie, 930-based)
504 // Implementation 1 (ie, 251+Netchip-based)
509 #define MANUF_SERNUM_LENGTH sizeof(((struct edge_manuf_descriptor *)0)->SerialNumber)
510 #define MANUF_ASSYNUM_LENGTH sizeof(((struct edge_manuf_descriptor *)0)->AssemblyNumber)
511 #define MANUF_OEMASSYNUM_LENGTH sizeof(((struct edge_manuf_descriptor *)0)->OemAssyNumber)
512 #define MANUF_MANUFDATE_LENGTH sizeof(((struct edge_manuf_descriptor *)0)->ManufDate)
525 // - FF:xFFF. Note that the 930-mandated UCONFIG bytes are
532 __u8 Reserved1; // C3 -- unused, set to 0 --
534 __le16 BootCodeLength; // C4 Boot code goes from FF:0000 to FF:(len-1)
541 __u16 EnumRootDescTable; // CA Root of ROM-based descriptor table
546 __le16 Capabilities; // CE-CF Capabilities flags (LE format)
547 __u8 Reserved2[0x28]; // D0 -- unused, set to 0 --
548 __u8 UConfig0; // F8 930-defined CPU configuration byte 0
549 __u8 UConfig1; // F9 930-defined CPU configuration byte 1
550 __u8 Reserved3[6]; // FA -- unused, set to 0 --
622 __u8 Power; // Self powered
623 // bit 7: 1 - power switching supported
624 // 0 - power switching not supported
626 // bit 0: 1 - self powered
627 // 0 - bus powered