Lines Matching refs:alts

95 	struct usb_host_interface *alts;
99 alts = &iface->altsetting[0];
100 altsd = get_iface_desc(alts);
155 struct usb_host_interface *alts;
184 alts = &iface->altsetting[fp->altset_idx];
185 altsd = get_iface_desc(alts);
194 fp->datainterval = snd_usb_parse_datainterval(chip, alts);
196 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, fp->ep_idx)->wMaxPacketSize);
220 struct usb_host_interface *alts;
236 alts = &iface->altsetting[1];
237 altsd = get_iface_desc(alts);
242 epd = get_endpoint(alts, 0);
247 ashd = snd_usb_find_csint_desc(alts->extra, alts->extralen, NULL,
249 fmtd = snd_usb_find_csint_desc(alts->extra, alts->extralen, NULL,
261 struct usb_host_interface *alts)
270 injd = snd_usb_find_csint_desc(alts->extra, alts->extralen,
272 outjd = snd_usb_find_csint_desc(alts->extra, alts->extralen,
293 struct usb_host_interface *alts)
302 roland_desc = snd_usb_find_csint_desc(alts->extra,
303 alts->extralen,
317 struct usb_host_interface *alts)
323 mshd = (struct usb_ms_header_descriptor *)alts->extra;
324 if (alts->extralen < 7 ||
330 msepd = (struct usb_ms_endpoint_descriptor *)alts->endpoint[0].extra;
331 if (alts->endpoint[0].extralen < 4 ||
346 struct usb_host_interface *alts;
351 alts = &iface->altsetting[0];
352 altsd = get_iface_desc(alts);
357 epd = get_endpoint(alts, 0);
364 err = create_yamaha_midi_quirk(chip, iface, driver, alts);
369 err = create_roland_midi_quirk(chip, iface, driver, alts);
375 return create_std_midi_quirk(chip, iface, driver, alts);
408 struct usb_host_interface *alts;
416 alts = &iface->altsetting[1];
417 altsd = get_iface_desc(alts);
453 fp->endpoint = get_endpoint(alts, 0)->bEndpointAddress;
454 fp->ep_attr = get_endpoint(alts, 0)->bmAttributes;
456 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);