Lines Matching refs:outjd
1777 struct usb_midi_out_jack_descriptor *outjd = in find_usb_out_jack_descriptor() local
1780 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() local
1824 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()
1827 if (outjd->bLength >= sz) in snd_usbmidi_init_substream()
1828 iJack = *(((uint8_t *) outjd) + sz - sizeof(uint8_t)); in snd_usbmidi_init_substream()