Searched refs:ms_header (Results 1 – 2 of 2) sorted by relevance
1004 struct usb_ms_header_descriptor *ms_header = in is_midi2_altset() local1008 ms_header->bLength < 7 || in is_midi2_altset()1009 ms_header->bDescriptorType != USB_DT_CS_INTERFACE || in is_midi2_altset()1010 ms_header->bDescriptorSubtype != UAC_HEADER) in is_midi2_altset()1013 return le16_to_cpu(ms_header->bcdMSC) == USB_MS_REV_MIDI_2_0; in is_midi2_altset()
1931 struct usb_ms_header_descriptor *ms_header; in snd_usbmidi_get_ms_info() local1942 ms_header = (struct usb_ms_header_descriptor *)hostif->extra; in snd_usbmidi_get_ms_info()1944 ms_header->bLength >= 7 && in snd_usbmidi_get_ms_info()1945 ms_header->bDescriptorType == USB_DT_CS_INTERFACE && in snd_usbmidi_get_ms_info()1946 ms_header->bDescriptorSubtype == UAC_HEADER) in snd_usbmidi_get_ms_info()1948 ((uint8_t *)&ms_header->bcdMSC)[1], ((uint8_t *)&ms_header->bcdMSC)[0]); in snd_usbmidi_get_ms_info()