Home
last modified time | relevance | path

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

/linux/drivers/input/misc/
H A Dims-pcu.c1697 struct usb_cdc_union_desc *union_desc; in ims_pcu_get_cdc_union_desc() local
1709 while (buflen >= sizeof(*union_desc)) { in ims_pcu_get_cdc_union_desc()
1710 union_desc = (struct usb_cdc_union_desc *)buf; in ims_pcu_get_cdc_union_desc()
1712 if (union_desc->bLength < 2 || union_desc->bLength > buflen) { in ims_pcu_get_cdc_union_desc()
1714 union_desc->bLength); in ims_pcu_get_cdc_union_desc()
1718 if (union_desc->bDescriptorType == USB_DT_CS_INTERFACE && in ims_pcu_get_cdc_union_desc()
1719 union_desc->bDescriptorSubType == USB_CDC_UNION_TYPE) { in ims_pcu_get_cdc_union_desc()
1722 if (union_desc->bLength >= sizeof(*union_desc)) in ims_pcu_get_cdc_union_desc()
1723 return union_desc; in ims_pcu_get_cdc_union_desc()
1727 union_desc->bLength, sizeof(*union_desc)); in ims_pcu_get_cdc_union_desc()
[all …]