Home
last modified time | relevance | path

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

/linux-6.1.9/sound/usb/
Dquirks.c266 struct usb_midi_out_jack_descriptor *outjd; in create_yamaha_midi_quirk() local
271 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()
Dmidi.c1775 struct usb_midi_out_jack_descriptor *outjd = in find_usb_out_jack_descriptor() local
1778 if (outjd->bLength >= sizeof(*outjd) && in find_usb_out_jack_descriptor()
1779 outjd->bDescriptorType == USB_DT_CS_INTERFACE && in find_usb_out_jack_descriptor()
1780 outjd->bDescriptorSubtype == UAC_MIDI_OUT_JACK && in find_usb_out_jack_descriptor()
1781 outjd->bJackID == jack_id) in find_usb_out_jack_descriptor()
1782 return outjd; in find_usb_out_jack_descriptor()
1800 struct usb_midi_out_jack_descriptor *outjd; in snd_usbmidi_init_substream() local
1822 outjd = find_usb_out_jack_descriptor(hostif, jack_id); in snd_usbmidi_init_substream()
1823 if (outjd) { in snd_usbmidi_init_substream()
1824 sz = USB_DT_MIDI_OUT_SIZE(outjd->bNrInputPins); in snd_usbmidi_init_substream()
[all …]