Lines Matching refs:cfg_desc
220 static void usbh_print_cfg_desc(const usb_config_desc_t *cfg_desc) in usbh_print_cfg_desc() argument
223 printf("bLength %d\n", cfg_desc->bLength); in usbh_print_cfg_desc()
224 printf("bDescriptorType %d\n", cfg_desc->bDescriptorType); in usbh_print_cfg_desc()
225 printf("wTotalLength %d\n", cfg_desc->wTotalLength); in usbh_print_cfg_desc()
226 printf("bNumInterfaces %d\n", cfg_desc->bNumInterfaces); in usbh_print_cfg_desc()
227 printf("bConfigurationValue %d\n", cfg_desc->bConfigurationValue); in usbh_print_cfg_desc()
228 printf("iConfiguration %d\n", cfg_desc->iConfiguration); in usbh_print_cfg_desc()
229 printf("bmAttributes 0x%x\n", cfg_desc->bmAttributes); in usbh_print_cfg_desc()
230 printf("bMaxPower %dmA\n", cfg_desc->bMaxPower * 2); in usbh_print_cfg_desc()
256 void usb_print_config_descriptor(const usb_config_desc_t *cfg_desc, print_class_descriptor_cb class… in usb_print_config_descriptor() argument
258 if (cfg_desc == NULL) { in usb_print_config_descriptor()
263 uint16_t wTotalLength = cfg_desc->wTotalLength; in usb_print_config_descriptor()
264 const usb_standard_desc_t *next_desc = (const usb_standard_desc_t *)cfg_desc; in usb_print_config_descriptor()