Lines Matching refs:v
18 bool (*func)(const void *p, const struct usb_desc_validator *v);
26 const struct usb_desc_validator *v) in validate_uac1_header() argument
36 const struct usb_desc_validator *v) in validate_mixer_unit() argument
48 switch (v->protocol) { in validate_mixer_unit()
70 const struct usb_desc_validator *v) in validate_processing_unit() argument
81 switch (v->protocol) { in validate_processing_unit()
94 if (v->type == UAC2_PROCESSING_UNIT_V2) in validate_processing_unit()
108 switch (v->protocol) { in validate_processing_unit()
111 if (v->type == UAC1_EXTENSION_UNIT) in validate_processing_unit()
126 if (v->type == UAC2_EXTENSION_UNIT_V2) in validate_processing_unit()
141 if (v->type == UAC3_EXTENSION_UNIT) { in validate_processing_unit()
168 const struct usb_desc_validator *v) in validate_selector_unit() argument
176 switch (v->protocol) { in validate_selector_unit()
192 const struct usb_desc_validator *v) in validate_uac1_feature_unit() argument
203 const struct usb_desc_validator *v) in validate_uac2_feature_unit() argument
214 const struct usb_desc_validator *v) in validate_uac3_feature_unit() argument
225 const struct usb_desc_validator *v) in validate_midi_out_jack() argument
304 const struct usb_desc_validator *v) in validate_desc() argument
309 for (; v->type; v++) { in validate_desc()
310 if (v->type == hdr[2] && in validate_desc()
311 (v->protocol == UAC_VERSION_ALL || in validate_desc()
312 v->protocol == protocol)) { in validate_desc()
313 if (v->func) in validate_desc()
314 return v->func(hdr, v); in validate_desc()
316 return hdr[0] >= v->size; in validate_desc()