Lines Matching refs:alt
150 struct usb_host_interface *alt = &intfc->altsetting[j];
152 kfree(alt->endpoint);
153 kfree(alt->string);
166 struct usb_host_interface *alt;
192 for ((i = 0, alt = &intfc->altsetting[0]);
194 (++i, ++alt)) {
195 if (alt->desc.bAlternateSetting == asnum) {
204 memcpy(&alt->desc, d, USB_DT_INTERFACE_SIZE);
208 alt->extra = buffer;
211 alt->extralen = i;
219 num_ep = num_ep_orig = alt->desc.bNumEndpoints;
220 alt->desc.bNumEndpoints = 0; // Use as a counter
230 alt->endpoint = kzalloc(len, GFP_KERNEL);
231 if (!alt->endpoint)
241 retval = usb_parse_endpoint(ddev, cfgno, inum, asnum, alt,