Home
last modified time | relevance | path

Searched refs:injd (Results 1 – 2 of 2) sorted by relevance

/linux/sound/usb/
H A Dquirks.c266 struct usb_midi_in_jack_descriptor *injd; in create_yamaha_midi_quirk() local
270 injd = snd_usb_find_csint_desc(alts->extra, alts->extralen, in create_yamaha_midi_quirk()
274 if (!injd && !outjd) in create_yamaha_midi_quirk()
276 if ((injd && !snd_usb_validate_midi_desc(injd)) || in create_yamaha_midi_quirk()
279 if (injd && (injd->bLength < 5 || in create_yamaha_midi_quirk()
280 (injd->bJackType != USB_MS_EMBEDDED && in create_yamaha_midi_quirk()
281 injd->bJackType != USB_MS_EXTERNAL))) in create_yamaha_midi_quirk()
H A Dmidi.c1752 struct usb_midi_in_jack_descriptor *injd; in find_usb_ijack() local
1770 injd = (struct usb_midi_in_jack_descriptor *)h; in find_usb_ijack()
1771 if (injd->bLength >= sizeof(*injd) && in find_usb_ijack()
1772 injd->bDescriptorSubtype == UAC_MIDI_IN_JACK && in find_usb_ijack()
1773 injd->bJackID == jack_id) in find_usb_ijack()
1774 return injd->iJack; in find_usb_ijack()