Lines Matching refs:bLength
30 return d->bLength >= sizeof(*d) && in validate_uac1_header()
31 d->bLength >= sizeof(*d) + d->bInCollection; in validate_uac1_header()
41 if (d->bLength < sizeof(*d) || !d->bNrInPins) in validate_mixer_unit()
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()
86 if (d->bLength < len + 1) /* bControlSize */ in validate_processing_unit()
105 if (d->bLength < len) in validate_processing_unit()
116 if (d->bLength < len + 1) /* bNrModes */ in validate_processing_unit()
131 if (d->bLength < len + 1) /* bNrModes */ in validate_processing_unit()
147 if (d->bLength < len + 1) /* bNrModes */ 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()
196 if (d->bLength < sizeof(*d) || !d->bControlSize) in validate_uac1_feature_unit()
199 return d->bLength >= sizeof(*d) + d->bControlSize + 1; in validate_uac1_feature_unit()
207 if (d->bLength < sizeof(*d)) in validate_uac2_feature_unit()
210 return d->bLength >= sizeof(*d) + 4 + 1; in validate_uac2_feature_unit()
218 if (d->bLength < sizeof(*d)) in validate_uac3_feature_unit()
221 return d->bLength >= sizeof(*d) + 4 + 2; in validate_uac3_feature_unit()
229 return d->bLength >= sizeof(*d) && in validate_midi_out_jack()
230 d->bLength >= sizeof(*d) + d->bNrInputPins * 2; in validate_midi_out_jack()