Home
last modified time | relevance | path

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

/openbmc/linux/sound/usb/
H A Dmidi2.c57 const struct usb_ms20_endpoint_descriptor *ms_ep; /* reference to EP descriptor */ member
434 const struct usb_ms20_endpoint_descriptor *ms_ep) in create_midi2_endpoint() argument
441 ms_ep->bNumGrpTrmBlock); in create_midi2_endpoint()
455 ep->ms_ep = ms_ep; in create_midi2_endpoint()
505 struct usb_ms_endpoint_descriptor *ms_ep = in find_usb_ms_endpoint_descriptor() local
508 if (ms_ep->bLength > 3 && in find_usb_ms_endpoint_descriptor()
509 ms_ep->bDescriptorType == USB_DT_CS_ENDPOINT && in find_usb_ms_endpoint_descriptor()
510 ms_ep->bDescriptorSubtype == subtype) in find_usb_ms_endpoint_descriptor()
511 return ms_ep; in find_usb_ms_endpoint_descriptor()
667 struct usb_ms20_endpoint_descriptor *ms_ep; in parse_midi_2_0_endpoints() local
[all …]
H A Dmidi.c1907 struct usb_ms_endpoint_descriptor *ms_ep = in find_usb_ms_endpoint_descriptor() local
1910 if (ms_ep->bLength > 3 && in find_usb_ms_endpoint_descriptor()
1911 ms_ep->bDescriptorType == USB_DT_CS_ENDPOINT && in find_usb_ms_endpoint_descriptor()
1912 ms_ep->bDescriptorSubtype == UAC_MS_GENERAL) in find_usb_ms_endpoint_descriptor()
1913 return ms_ep; in find_usb_ms_endpoint_descriptor()
1934 struct usb_ms_endpoint_descriptor *ms_ep; in snd_usbmidi_get_ms_info() local
1959 ms_ep = find_usb_ms_endpoint_descriptor(hostep); in snd_usbmidi_get_ms_info()
1960 if (!ms_ep) in snd_usbmidi_get_ms_info()
1962 if (ms_ep->bLength <= sizeof(*ms_ep)) in snd_usbmidi_get_ms_info()
1964 if (ms_ep->bNumEmbMIDIJack > 0x10) in snd_usbmidi_get_ms_info()
[all …]