Home
last modified time | relevance | path

Searched refs:HSETW (Results 1 – 12 of 12) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
Df_acm_desc.c49 HSETW(.bcdUSB, UD_BCD_USB), /* usb version */
54 HSETW(.idVendor, DEVICE_VENDOR_ID), /* vendor 0x0525 */
55 HSETW(.idProduct, DEVICE_PRODUCT_ID), /* product 0xa4a7 */
56 HSETW(.bcdDevice, DEVICE_VERSION), /* device version */
94 HSETW(.bcdCDC, 0x0110)
118 HSETW(.wMaxPacketSize, 0x000a),
148 HSETW(.wMaxPacketSize, MAX_PACKET_SIZE),
165 HSETW(.wMaxPacketSize, MAX_PACKET_SIZE),
185 HSETW(.wTotalLength, USB_CONFIG_DESC_SIZE + sizeof(g_cdcacm_hs_func_desc)),
Df_camera.c131 HSETW(.bcdUSB, UD_BCD_USB), /* USB version required: 2.0 */
136 HSETW(.idVendor, 0x1d6b), /* Vendor ID of Huawei Technologies */
137 HSETW(.idProduct, 0x0102), /* Product ID, webcamera? */
138 HSETW(.bcdDevice, 0x0318), /* Device release code */
Df_multi.c99 HSETW(.bcdUSB, UD_BCD_USB), /* USB version */
104 HSETW(.idVendor, MULTI_VENDOR_ID), /* vendor */
105 HSETW(.idProduct, MULTI_PRODUCT_ID), /* product */
106 HSETW(.bcdDevice, 0x0318), /* device version */
Df_ether.c129 HSETW(.bcdUSB, UD_BCD_USB), /* USB version */
134 HSETW(.idVendor, DEIVICE_VENDOR_ID), /* vendor */
135 HSETW(.idProduct, DEIVICE_PRODUCT_ID), /* product */
136 HSETW(.bcdDevice, 0x0318), /* device version */
Df_uac.c188 HSETW(.bcdUSB, UD_BCD_USB), /* USB version required: 2.0 */
193 HSETW(.idVendor, 0x1d6b), /* Vendor ID of Huawei Technologies */
194 HSETW(.idProduct, 0x0101), /* Product ID, webcamera ? */
195 HSETW(.bcdDevice, 0x318), /* Device release code */
206 HSETW(.wTotalLength, 0x006c), /* Size of all descriptors, set later */
336 HSETW(.wMaxPacketSize, ISO_DATA_SIZE),
355 HSETW(.wMaxPacketSize, ISO_DATA_SIZE),
Df_hid.c122 HSETW(.bcdUSB, UD_BCD_USB), /* USB version required: 2.0 */
127 HSETW(.bcdDevice, 0x0100), /* Device release code */
138 HSETW(.wTotalLength, 0x0029), /* Size of all descriptors, set later */
163 HSETW(.bcdHID, 0x0110), /* bcdHID: HID Class Spec release number HID 1.1 */
179 HSETW(.wMaxPacketSize, HID_IN_DATA_SIZE), /* wMaxPacketSize = 64 */
189 HSETW(.wMaxPacketSize, HID_OUT_DATA_SIZE),
Df_uvc.c160 HSETW(.bcdUSB, UD_BCD_USB), /* USB version required: 2.0 */
165 HSETW(.idVendor, 0x1d6b), /* Vendor ID of Huawei Technologies */
166 HSETW(.idProduct, 0x0102), /* Product ID, webcamera? */
167 HSETW(.bcdDevice, 0x0318), /* Device release code */
184 HSETW(.wTotalLength, 0), /* Size of all descriptors, set later */
354 HSETW(.wMaxPacketSize, 16),
366 HSETW(.wBytesPerInterval, 0x0010)
816 HSETW(.wMaxPacketSize, 0x1400),
827 HSETW(.wBytesPerInterval, 0xa800)
851 HSETW(.wMaxPacketSize, 0x0400),
[all …]
Df_dfu.c91 HSETW(.bcdUSB, 0x0200),
96 HSETW(.idVendor, DEVICE_VENDOR_ID),
97 HSETW(.idProduct, DEVICE_PRODUCT_ID),
98 HSETW(.bcdDevice, DEVICE_VERSION),
112 HSETW(.wTotalLength, 0), /* Modify according to the actual length */
Dcomposite.h60 #define HSETW(ptr, val) ptr = { (uint8_t)(val), (uint8_t)((val) >> 8) } macro
Df_mass_storage.c162 HSETW(.bcdUSB, UD_BCD_USB), /* USB version 0x0200 */
167 HSETW(.idVendor, DEIVICE_VENDOR_ID), /* vendor */
168 HSETW(.idProduct, DEIVICE_PRODUCT_ID), /* product */
169 HSETW(.bcdDevice, 0x0318), /* device version */
196 HSETW(.wTotalLength, sizeof(g_fmass_confd)),
221 HSETW(.wMaxPacketSize, FMASS_MAX_PACKET_SIZE),
240 HSETW(.wMaxPacketSize, FMASS_MAX_PACKET_SIZE),
Drndis.c254 HSETW(.bcdCDC, 0x0110),
279 HSETW(.wMaxPacketSize, 0x0008),
288 HSETW(.wBytesPerInterval, 0x0008),
306 HSETW(.wMaxPacketSize, FRNDIS_MAX_PACKET_SIZE),
323 HSETW(.wMaxPacketSize, FRNDIS_MAX_PACKET_SIZE),
341 HSETW(.wTotalLength, USB_CONFIG_DESC_SIZE + sizeof(g_rndis_hs_func_desc)),
/third_party/FreeBSD/sys/dev/usb/controller/
Dxhci.c3159 #define HSETW(ptr, val) ptr = { (uint8_t)(val), (uint8_t)((val) >> 8) } macro
3165 HSETW(.bcdUSB, 0x0300), /* USB version */
3170 HSETW(.idVendor, 0x0000), /* vendor */
3171 HSETW(.idProduct, 0x0000), /* product */
3172 HSETW(.bcdDevice, 0x0100), /* device version */
3184 HSETW(.wTotalLength, sizeof(xhci_bosd)),
3198 HSETW(.wSpeedsSupported, 0x000C),