Lines Matching +full:extra +full:- +full:byte

2  * Copyright (c) 2016-2019 Intel Corporation
5 * SPDX-License-Identifier: Apache-2.0
28 /* random GUID {FA611CC3-7057-42EE-9D82-4919639562B3} */
31 'C', 0x00, 'C', 0x00, '3', 0x00, '-', 0x00, '7', 0x00, '0', 0x00, \
32 '5', 0x00, '7', 0x00, '-', 0x00, '4', 0x00, '2', 0x00, 'E', 0x00, \
33 'E', 0x00, '-', 0x00, '9', 0x00, 'D', 0x00, '8', 0x00, '2', 0x00, \
34 '-', 0x00, '4', 0x00, '9', 0x00, '1', 0x00, '9', 0x00, '6', 0x00, \
59 /* If CONFIG_USB_CDC_ACM is selected, extra interfaces will be added on build time,
60 * making the target a composite device, which requires an extra Function
96 * https://wicg.github.io/webusb/#webusb-platform-capability-descriptor
105 * 3408b638-09a9-47a0-8bfd-a0768815b665
127 * See https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/
128 * microsoft-defined-usb-descriptors
131 * (BSD-2) Thanks http://janaxelson.com/files/ms_os_20_descriptors.c
142 * D8DD60DF-4589-4CC7-9CD2-659D9E648A9F
170 * BIT(1) - LPM support
171 * BIT(2) - BESL support
179 * https://wicg.github.io/webusb/#get-allowed-origins
184 * https://wicg.github.io/webusb/#configuration-subset-header
189 * https://wicg.github.io/webusb/#function-subset-header
197 /* URL Descriptor: https://wicg.github.io/webusb/#url-descriptor */
222 0x00, /* Padding byte for VendorCode looks like UTF16 */
227 /* See https://github.com/pbatard/libwdi/wiki/WCID-Devices */
238 /* 8-byte compatible ID string, then 8-byte sub-compatible ID string */
259 return -ENOTSUP; in custom_handle_req()
262 if (USB_GET_DESCRIPTOR_TYPE(pSetup->wValue) == USB_DESC_STRING && in custom_handle_req()
263 USB_GET_DESCRIPTOR_INDEX(pSetup->wValue) == 0xEE) { in custom_handle_req()
272 return -EINVAL; in custom_handle_req()
289 return -ENOTSUP; in vendor_handle_req()
293 if (pSetup->bRequest == 0x01 && pSetup->wIndex == 0x01) { in vendor_handle_req()
300 } else if (pSetup->bRequest == 0x01 && pSetup->wIndex == 0x02) { in vendor_handle_req()
302 uint8_t index = USB_GET_DESCRIPTOR_INDEX(pSetup->wValue); in vendor_handle_req()
305 return -ENOTSUP; in vendor_handle_req()
314 } else if (pSetup->bRequest == bos_cap_msosv2.cap.bMS_VendorCode && in vendor_handle_req()
315 pSetup->wIndex == MS_OS_20_DESCRIPTOR_INDEX) { in vendor_handle_req()
323 } else if (pSetup->bRequest == 0x03 && pSetup->wIndex == 0x04) { in vendor_handle_req()
336 return -ENOTSUP; in vendor_handle_req()