Home
last modified time | relevance | path

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

/linux-6.12.1/sound/usb/
Dquirks.c267 struct usb_midi_out_jack_descriptor *outjd; in create_yamaha_midi_quirk() local
272 outjd = snd_usb_find_csint_desc(alts->extra, alts->extralen, in create_yamaha_midi_quirk()
274 if (!injd && !outjd) in create_yamaha_midi_quirk()
277 (outjd && !snd_usb_validate_midi_desc(outjd))) in create_yamaha_midi_quirk()
283 if (outjd && (outjd->bLength < 6 || in create_yamaha_midi_quirk()
284 (outjd->bJackType != USB_MS_EMBEDDED && in create_yamaha_midi_quirk()
285 outjd->bJackType != USB_MS_EXTERNAL))) in create_yamaha_midi_quirk()
Dmidi.c1751 struct usb_midi_out_jack_descriptor *outjd; in find_usb_ijack() local
1760 outjd = (struct usb_midi_out_jack_descriptor *)h; in find_usb_ijack()
1761 if (h->bLength >= sizeof(*outjd) && in find_usb_ijack()
1762 outjd->bDescriptorSubtype == UAC_MIDI_OUT_JACK && in find_usb_ijack()
1763 outjd->bJackID == jack_id) { in find_usb_ijack()
1764 sz = USB_DT_MIDI_OUT_SIZE(outjd->bNrInputPins); in find_usb_ijack()
1765 if (outjd->bLength < sz) in find_usb_ijack()