Searched refs:injd (Results 1 – 2 of 2) sorted by relevance
266 struct usb_midi_in_jack_descriptor *injd; in create_yamaha_midi_quirk() local270 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()
1752 struct usb_midi_in_jack_descriptor *injd = in find_usb_in_jack_descriptor() local1755 if (injd->bLength >= sizeof(*injd) && in find_usb_in_jack_descriptor()1756 injd->bDescriptorType == USB_DT_CS_INTERFACE && in find_usb_in_jack_descriptor()1757 injd->bDescriptorSubtype == UAC_MIDI_IN_JACK && in find_usb_in_jack_descriptor()1758 injd->bJackID == jack_id) in find_usb_in_jack_descriptor()1759 return injd; in find_usb_in_jack_descriptor()1799 struct usb_midi_in_jack_descriptor *injd; in snd_usbmidi_init_substream() local1830 injd = find_usb_in_jack_descriptor(hostif, jack_id); in snd_usbmidi_init_substream()1831 if (injd) in snd_usbmidi_init_substream()1832 iJack = injd->iJack; in snd_usbmidi_init_substream()