Lines Matching defs:id
129 struct usb_interface_descriptor *id;
133 id = (struct usb_interface_descriptor *)ps->desc;
138 id = (struct usb_interface_descriptor *)
139 usb_desc_foreach(cd, (struct usb_descriptor *)id);
140 if (id == NULL)
142 if ((id->bDescriptorType == UDESC_INTERFACE) &&
143 (id->bLength >= sizeof(*id))) {
144 if (ps->iface_no_last == id->bInterfaceNumber) {
153 id->bInterfaceNumber);
158 ps->iface_no_last = id->bInterfaceNumber;
179 id = NULL;
183 ps->desc = (struct usb_descriptor *)id;
184 return (id);
289 struct usb_interface_descriptor *id)
301 ifaceno = id->bInterfaceNumber;
308 (desc->bLength >= sizeof(*id))) {
309 id = (struct usb_interface_descriptor *)desc;
310 if (id->bInterfaceNumber == ifaceno) {