| /components/drivers/usb/cherryusb/class/midi/ |
| A D | usb_midi.h | 151 uint16_t wTotalLength; member 163 uint16_t wTotalLength; member 204 #define MIDI_CS_HEADER_DESCRIPTOR_INIT(wTotalLength) \ argument 209 WBVAL(wTotalLength) /* wTotalLength */
|
| /components/drivers/usb/cherryusb/class/video/ |
| A D | usb_video.h | 811 uint16_t wTotalLength; member 894 uint16_t wTotalLength; member 912 uint16_t wTotalLength; member 1110 #define VIDEO_VC_DESCRIPTOR_INIT(bFirstInterface, bEndpointAddress, bcdUVC, wTotalLength, dwClockFr… argument 1133 …WBVAL(wTotalLength), … 1176 #define VIDEO_VC_NOEP_DESCRIPTOR_INIT(bFirstInterface, bEndpointAddress, bcdUVC, wTotalLength, dwCl… argument 1199 …WBVAL(wTotalLength), … 1246 #define VIDEO_VS_INPUT_HEADER_DESCRIPTOR_INIT(bNumFormats, wTotalLength, bEndpointAddress, ...) … argument 1252 …WBVAL(wTotalLength), … 1262 #define VIDEO_VS_OUTPUT_HEADER_DESCRIPTOR_INIT(bNumFormats, wTotalLength, bEndpointAddress, ...) … argument [all …]
|
| /components/drivers/usb/cherryusb/common/ |
| A D | usb_def.h | 371 uint16_t wTotalLength; /* Length of concatenated descriptors */ member 554 uint16_t wTotalLength; member 657 #define USB_CONFIG_DESCRIPTOR_INIT(wTotalLength, bNumInterfaces, bConfigurationValue, bmAttributes,… argument 660 …WBVAL(wTotalLength), /* wTotalLength */ … 678 #define USB_OTHER_SPEED_CONFIG_DESCRIPTOR_INIT(wTotalLength, bNumInterfaces, bConfigurationValue, b… argument 681 …WBVAL(wTotalLength), /* wTotalLength */ …
|
| /components/drivers/usb/cherryusb/core/ |
| A D | usbh_core.c | 199 USB_LOG_DBG("wTotalLength: 0x%04x \r\n", desc->wTotalLength); in parse_config_descriptor() 208 hport->config.config_desc.wTotalLength = desc->wTotalLength; in parse_config_descriptor() 299 USB_LOG_RAW("wTotalLength: 0x%04x \r\n", hport->config.config_desc.wTotalLength); in usbh_print_hubport_info() 492 …uint16_t wTotalLength = ((struct usb_configuration_descriptor *)ep0_request_buffer[hport->bus->bus… in usbh_enumerate() local 494 if (wTotalLength > CONFIG_USBHOST_REQUEST_BUFFER_LEN) { in usbh_enumerate() 496 …USB_LOG_ERR("wTotalLength %d is overflow, default is %d\r\n", wTotalLength, (unsigned int)CONFIG_U… in usbh_enumerate() 504 setup->wLength = wTotalLength; in usbh_enumerate() 512 …hport, (struct usb_configuration_descriptor *)ep0_request_buffer[hport->bus->busid], wTotalLength); in usbh_enumerate() 519 hport->raw_config_desc = usb_osal_malloc(wTotalLength + 1); in usbh_enumerate() 527 memcpy(hport->raw_config_desc, ep0_request_buffer[hport->bus->busid], wTotalLength); in usbh_enumerate() [all …]
|
| /components/legacy/usb/usbhost/core/ |
| A D | usbhost_core.c | 168 device->cfg_desc = (ucfg_desc_t)rt_malloc(cfg_desc.wTotalLength); in rt_usbh_attatch_instance() 173 rt_memset(device->cfg_desc, 0, cfg_desc.wTotalLength); in rt_usbh_attatch_instance() 177 device->cfg_desc, cfg_desc.wTotalLength); in rt_usbh_attatch_instance() 492 while(ptr < (rt_uint32_t)cfg_desc + cfg_desc->wTotalLength) in rt_usbh_get_interface_descriptor()
|
| /components/drivers/usb/cherryusb/class/audio/ |
| A D | usb_audio.h | 603 uint16_t wTotalLength; member 713 #define AUDIO_AC_DESCRIPTOR_INIT(bFirstInterface, bInterfaceCount, wTotalLength, stridx, ...) \ argument 737 …WBVAL(wTotalLength), /* wTotalLength */ … 967 uint16_t wTotalLength; member 1099 #define AUDIO_V2_AC_DESCRIPTOR_INIT(bFirstInterface, bInterfaceCount, wTotalLength, bCategory, bmCo… argument 1124 …WBVAL(wTotalLength), /* wTotalLength */ …
|
| /components/legacy/usb/usbdevice/class/ |
| A D | uaudioreg.h | 96 uWord wTotalLength; member
|
| /components/legacy/usb/usbdevice/core/ |
| A D | usbdevice_core.c | 79 size = (setup->wLength > cfg_desc->wTotalLength) ? in _get_config_descriptor() 80 cfg_desc->wTotalLength : setup->wLength; in _get_config_descriptor() 1167 cfg->cfg_desc.wTotalLength = USB_DESC_LENGTH_CONFIG; in rt_usbd_config_new() 1575 … rt_memcpy((void*)&cfg->cfg_desc.data[cfg->cfg_desc.wTotalLength - USB_DESC_LENGTH_CONFIG], in rt_usbd_device_add_config() 1578 cfg->cfg_desc.wTotalLength += altsetting->desc_size; in rt_usbd_device_add_config()
|
| /components/drivers/include/drivers/ |
| A D | usb_common.h | 298 rt_uint16_t wTotalLength; member
|