Lines Matching refs:config_desc
71 const usb_config_desc_t *config_desc; member
175 if (dev_obj->constant.config_desc) { in device_free()
176 heap_caps_free((usb_config_desc_t *)dev_obj->constant.config_desc); in device_free()
670 assert(dev_obj->constant.config_desc); in usbh_dev_get_info()
671 dev_info->bConfigurationValue = dev_obj->constant.config_desc->bConfigurationValue; in usbh_dev_get_info()
708 assert(dev_obj->constant.config_desc); in usbh_dev_get_config_desc()
709 *config_desc_ret = dev_obj->constant.config_desc; in usbh_dev_get_config_desc()
991 …usb_config_desc_t *config_desc = heap_caps_malloc(config_desc_full->wTotalLength, MALLOC_CAP_DEFAU… in usbh_hub_enum_fill_config_desc() local
992 if (config_desc == NULL) { in usbh_hub_enum_fill_config_desc()
996 memcpy(config_desc, config_desc_full, config_desc_full->wTotalLength); in usbh_hub_enum_fill_config_desc()
998 assert(dev_obj->constant.config_desc == NULL); in usbh_hub_enum_fill_config_desc()
999 dev_obj->constant.config_desc = config_desc; in usbh_hub_enum_fill_config_desc()