Lines Matching refs:outjd
1775 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()
1825 if (outjd->bLength >= sz) in snd_usbmidi_init_substream()
1826 iJack = *(((uint8_t *) outjd) + sz - sizeof(uint8_t)); in snd_usbmidi_init_substream()