Searched refs:bLength (Results 1 – 13 of 13) sorted by relevance
30 return d->bLength >= sizeof(*d) && in validate_uac1_header()65 return d->bLength >= len; in validate_mixer_unit()76 if (d->bLength < sizeof(*d)) in validate_processing_unit()79 if (d->bLength < len) in validate_processing_unit()105 if (d->bLength < len) in validate_processing_unit()160 if (d->bLength < len) in validate_processing_unit()173 if (d->bLength < sizeof(*d)) in validate_selector_unit()188 return d->bLength >= len; in validate_selector_unit()207 if (d->bLength < sizeof(*d)) in validate_uac2_feature_unit()218 if (d->bLength < sizeof(*d)) in validate_uac3_feature_unit()[all …]
610 if (!csep || csep->bLength < 7 || in parse_uac_endpoint_attributes()620 if (csep2->bLength < sizeof(*csep2)) in parse_uac_endpoint_attributes()631 if (csep3->bLength < sizeof(*csep3)) in parse_uac_endpoint_attributes()747 if (as->bLength < sizeof(*as)) { in snd_usb_get_audioformat_uac12()777 if (as->bLength < sizeof(*as)) { in snd_usb_get_audioformat_uac12()826 if (((protocol == UAC_VERSION_1) && (fmt->bLength < 8)) in snd_usb_get_audioformat_uac12()828 (fmt->bLength < 6))) { in snd_usb_get_audioformat_uac12()957 if (as->bLength < sizeof(*as)) { in snd_usb_get_audioformat_uac3()
42 ((p)->v3.bLength >= sizeof((p)->v3)) : \43 ((p)->v2.bLength >= sizeof((p)->v2)))84 return cs->v3.bLength >= sizeof(cs->v3) + cs->v3.bNrInPins + in validate_clock_selector()87 return cs->v2.bLength >= sizeof(cs->v2) + cs->v2.bNrInPins + in validate_clock_selector()
508 if (ms_ep->bLength > 3 && in find_usb_ms_endpoint_descriptor()575 if (desc->bLength >= sizeof(*desc) && in find_group_terminal_block()668 if (ms_ep->bLength <= sizeof(*ms_ep)) in parse_midi_2_0_endpoints()672 if (ms_ep->bLength < sizeof(*ms_ep) + ms_ep->bNumGrpTrmBlock) in parse_midi_2_0_endpoints()1012 ms_header->bLength < 7 || in is_midi2_altset()
251 if (!ashd || ashd->bLength < 7 || in create_auto_pcm_quirk()252 !fmtd || fmtd->bLength < 8) in create_auto_pcm_quirk()279 if (injd && (injd->bLength < 5 || in create_yamaha_midi_quirk()283 if (outjd && (outjd->bLength < 6 || in create_yamaha_midi_quirk()325 mshd->bLength < 7 || in create_std_midi_quirk()332 msepd->bLength < 4 || in create_std_midi_quirk()
1830 if (h->bLength >= sizeof(*outjd) && in find_usb_ijack()1834 if (outjd->bLength < sz) in find_usb_ijack()1840 if (injd->bLength >= sizeof(*injd) && in find_usb_ijack()1964 if (ms_ep->bLength > 3 && in find_usb_ms_endpoint_descriptor()1998 ms_header->bLength >= 7 && in snd_usbmidi_get_ms_info()2016 if (ms_ep->bLength <= sizeof(*ms_ep)) in snd_usbmidi_get_ms_info()2020 if (ms_ep->bLength < sizeof(*ms_ep) + ms_ep->bNumEmbMIDIJack) in snd_usbmidi_get_ms_info()
338 if (!h1 || h1->bLength < sizeof(*h1)) { in snd_usb_create_streams()362 if (rest_bytes < h1->bLength) { in snd_usb_create_streams()367 if (h1->bLength < sizeof(*h1) + h1->bInCollection) { in snd_usb_create_streams()
379 (get_endpoint(alts, 1)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in snd_usb_audioformat_set_sync_ep()385 get_endpoint(alts, 1)->bLength, in snd_usb_audioformat_set_sync_ep()392 if (get_endpoint(alts, 0)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in snd_usb_audioformat_set_sync_ep()
182 if (hdr->bLength >= 4 && in find_audio_control_unit()759 if (desc->bLength < sizeof(*desc) + desc->bNrInPins + 1) in uac_mixer_unit_get_channels()1997 channels = (hdr->bLength - 7) / csize - 1; in parse_audio_feature_unit()2002 channels = (hdr->bLength - 6) / 4 - 1; in parse_audio_feature_unit()2008 channels = (ftr->bLength - 7) / 4 - 1; in parse_audio_feature_unit()
733 if (desc->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in endpoint_set_syncinterval()
31 u8 bLength; member42 u8 bLength; member
103 bLength),183 bLength),
917 if (desc->bLength > extralen) { in find_format_descriptor()921 if (desc->bLength == UAC_FORMAT_TYPE_I_DISCRETE_DESC_SIZE(1) && in find_format_descriptor()932 extralen -= desc->bLength; in find_format_descriptor()933 extra += desc->bLength; in find_format_descriptor()
Completed in 672 milliseconds