Lines Matching refs:str_desc
503 …const usb_str_desc_t *str_desc = (usb_str_desc_t *)(transfer->data_buffer + sizeof(usb_setup_packe… in enum_stage_transfer_check() local
505 if (str_desc->bDescriptorType == 0) { in enum_stage_transfer_check()
509 } else if (str_desc->bDescriptorType != USB_B_DESCRIPTOR_TYPE_STRING) { in enum_stage_transfer_check()
516 if (str_desc->bLength > (uint32_t)ENUM_CTRL_TRANSFER_MAX_DATA_LEN) { in enum_stage_transfer_check()
523 enum_ctrl->str_desc_bLength = str_desc->bLength; in enum_stage_transfer_check()
531 …const usb_str_desc_t *str_desc = (usb_str_desc_t *)(transfer->data_buffer + sizeof(usb_setup_packe… in enum_stage_transfer_check() local
533 if (str_desc->bDescriptorType == 0) { in enum_stage_transfer_check()
537 } else if (str_desc->bDescriptorType != USB_B_DESCRIPTOR_TYPE_STRING) { in enum_stage_transfer_check()
545 …int langid_table_num_entries = (str_desc->bLength - sizeof(usb_str_desc_t))/2; //Each LANGID is… in enum_stage_transfer_check()
547 if (str_desc->wData[i] == ENUM_LANGID) { in enum_stage_transfer_check()
567 ESP_ERROR_CHECK(usbh_hub_enum_fill_str_desc(enum_ctrl->dev_hdl, str_desc, select)); in enum_stage_transfer_check()