Home
last modified time | relevance | path

Searched refs:dev_desc (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/tinyusb/additions/src/
Ddescriptors_control.c133 void tusb_set_descriptor(tusb_desc_device_t *dev_desc, const char **str_desc) in tusb_set_descriptor() argument
161 dev_desc->bDeviceClass, dev_desc->bDeviceSubClass, in tusb_set_descriptor()
162 dev_desc->bDeviceProtocol, dev_desc->bMaxPacketSize0, in tusb_set_descriptor()
163 dev_desc->idVendor, dev_desc->idProduct, dev_desc->bcdDevice, in tusb_set_descriptor()
164 dev_desc->iManufacturer, dev_desc->iProduct, dev_desc->iSerialNumber, in tusb_set_descriptor()
165 dev_desc->bNumConfigurations); in tusb_set_descriptor()
166 s_descriptor = *dev_desc; in tusb_set_descriptor()
/hal_espressif-3.6.0/examples/peripherals/usb/host/usb_host_lib/main/
Dclass_driver.c84 const usb_device_desc_t *dev_desc; in action_get_dev_desc() local
85 ESP_ERROR_CHECK(usb_host_get_device_descriptor(driver_obj->dev_hdl, &dev_desc)); in action_get_dev_desc()
86 usb_print_device_descriptor(dev_desc); in action_get_dev_desc()
/hal_espressif-3.6.0/components/usb/
Dusbh.c133 … usb_device_desc_t *dev_desc = heap_caps_calloc(1, sizeof(usb_device_desc_t), MALLOC_CAP_DEFAULT); in device_alloc() local
134 if (dev_obj == NULL || dev_desc == NULL) { in device_alloc()
158 dev_obj->constant.desc = dev_desc; in device_alloc()
164 heap_caps_free(dev_desc); in device_alloc()