Lines Matching defs:desc
1928 struct usb_descriptor *desc;
1947 desc = NULL;
1954 while ((desc = usb_desc_foreach(cd, desc))) {
1956 if ((desc->bDescriptorType == UDESC_ENDPOINT) &&
1957 (desc->bLength >= sizeof(*ed))) {
1958 ed = (struct usb_endpoint_descriptor *)desc;
2144 struct usb_descriptor *desc;
2162 desc = (void *)id;
2164 while ((desc = usb_desc_foreach(cd, desc))) {
2165 if (desc->bDescriptorType == UDESC_INTERFACE) {
2168 if (((desc->bDescriptorType & type_mask) == type) &&
2169 ((desc->bDescriptorSubtype & subtype_mask) == subtype)) {
2170 return (desc);