Searched refs:union_desc (Results 1 – 2 of 2) sorted by relevance
1612 struct usb_cdc_union_desc *union_desc; in ims_pcu_get_cdc_union_desc() local1624 while (buflen >= sizeof(*union_desc)) { in ims_pcu_get_cdc_union_desc()1625 union_desc = (struct usb_cdc_union_desc *)buf; in ims_pcu_get_cdc_union_desc()1627 if (union_desc->bLength > buflen) { in ims_pcu_get_cdc_union_desc()1632 if (union_desc->bDescriptorType == USB_DT_CS_INTERFACE && in ims_pcu_get_cdc_union_desc()1633 union_desc->bDescriptorSubType == USB_CDC_UNION_TYPE) { in ims_pcu_get_cdc_union_desc()1636 if (union_desc->bLength >= sizeof(*union_desc)) in ims_pcu_get_cdc_union_desc()1637 return union_desc; in ims_pcu_get_cdc_union_desc()1641 union_desc->bLength, sizeof(*union_desc)); in ims_pcu_get_cdc_union_desc()1645 buflen -= union_desc->bLength; in ims_pcu_get_cdc_union_desc()[all …]
445 static const struct usb_cdc_union_desc union_desc = { variable446 .bLength = sizeof union_desc,668 (struct usb_descriptor_header *) &union_desc,706 (struct usb_descriptor_header *) &union_desc,768 (struct usb_descriptor_header *) &union_desc,806 (struct usb_descriptor_header *) &union_desc,