Searched refs:outjd (Results 1 – 2 of 2) sorted by relevance
266 struct usb_midi_out_jack_descriptor *outjd; in create_yamaha_midi_quirk() local271 outjd = snd_usb_find_csint_desc(alts->extra, alts->extralen, in create_yamaha_midi_quirk()273 if (!injd && !outjd) in create_yamaha_midi_quirk()276 (outjd && !snd_usb_validate_midi_desc(outjd))) in create_yamaha_midi_quirk()282 if (outjd && (outjd->bLength < 6 || in create_yamaha_midi_quirk()283 (outjd->bJackType != USB_MS_EMBEDDED && in create_yamaha_midi_quirk()284 outjd->bJackType != USB_MS_EXTERNAL))) in create_yamaha_midi_quirk()
1777 struct usb_midi_out_jack_descriptor *outjd = in find_usb_out_jack_descriptor() local1780 if (outjd->bLength >= sizeof(*outjd) && in find_usb_out_jack_descriptor()1781 outjd->bDescriptorType == USB_DT_CS_INTERFACE && in find_usb_out_jack_descriptor()1782 outjd->bDescriptorSubtype == UAC_MIDI_OUT_JACK && in find_usb_out_jack_descriptor()1783 outjd->bJackID == jack_id) in find_usb_out_jack_descriptor()1784 return outjd; in find_usb_out_jack_descriptor()1802 struct usb_midi_out_jack_descriptor *outjd; in snd_usbmidi_init_substream() local1824 outjd = find_usb_out_jack_descriptor(hostif, jack_id); in snd_usbmidi_init_substream()1825 if (outjd) { in snd_usbmidi_init_substream()1826 sz = USB_DT_MIDI_OUT_SIZE(outjd->bNrInputPins); in snd_usbmidi_init_substream()[all …]