Home
last modified time | relevance | path

Searched refs:union_desc (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/input/misc/
H A Dims-pcu.c1612 struct usb_cdc_union_desc *union_desc; in ims_pcu_get_cdc_union_desc() local
1624 while (buflen >= sizeof(*union_desc)) { in ims_pcu_get_cdc_union_desc()
1627 if (union_desc->bLength > buflen) { 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()
1646 buf += union_desc->bLength; in ims_pcu_get_cdc_union_desc()
1659 if (!union_desc) in ims_pcu_parse_cdc_data()
1663 union_desc->bMasterInterface0); in ims_pcu_parse_cdc_data()
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A Dether.c445 static const struct usb_cdc_union_desc union_desc = { variable
446 .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,