Lines Matching defs:id
127 struct usb_interface_descriptor *id;
131 id = (struct usb_interface_descriptor *)ps->desc;
136 id = (struct usb_interface_descriptor *)
137 usb_desc_foreach(cd, (struct usb_descriptor *)id);
138 if (id == NULL)
140 if ((id->bDescriptorType == UDESC_INTERFACE) &&
141 (id->bLength >= sizeof(*id))) {
142 if (ps->iface_no_last == id->bInterfaceNumber)
144 ps->iface_no_last = id->bInterfaceNumber;
165 id = NULL;
169 ps->desc = (struct usb_descriptor *)id;
170 return (id);
275 struct usb_interface_descriptor *id)
287 ifaceno = id->bInterfaceNumber;
294 (desc->bLength >= sizeof(*id))) {
295 id = (struct usb_interface_descriptor *)desc;
296 if (id->bInterfaceNumber == ifaceno) {