Lines Matching refs:p

18 	bool (*func)(const void *p, const struct usb_desc_validator *v);
25 static bool validate_uac1_header(const void *p, in validate_uac1_header() argument
28 const struct uac1_ac_header_descriptor *d = p; in validate_uac1_header()
35 static bool validate_mixer_unit(const void *p, in validate_mixer_unit() argument
38 const struct uac_mixer_unit_descriptor *d = p; in validate_mixer_unit()
69 static bool validate_processing_unit(const void *p, in validate_processing_unit() argument
72 const struct uac_processing_unit_descriptor *d = p; in validate_processing_unit()
73 const unsigned char *hdr = p; in validate_processing_unit()
167 static bool validate_selector_unit(const void *p, in validate_selector_unit() argument
170 const struct uac_selector_unit_descriptor *d = p; in validate_selector_unit()
191 static bool validate_uac1_feature_unit(const void *p, in validate_uac1_feature_unit() argument
194 const struct uac_feature_unit_descriptor *d = p; in validate_uac1_feature_unit()
202 static bool validate_uac2_feature_unit(const void *p, in validate_uac2_feature_unit() argument
205 const struct uac2_feature_unit_descriptor *d = p; in validate_uac2_feature_unit()
213 static bool validate_uac3_feature_unit(const void *p, in validate_uac3_feature_unit() argument
216 const struct uac3_feature_unit_descriptor *d = p; in validate_uac3_feature_unit()
224 static bool validate_midi_out_jack(const void *p, in validate_midi_out_jack() argument
227 const struct usb_midi_out_jack_descriptor *d = p; in validate_midi_out_jack()
233 #define FIXED(p, t, s) { .protocol = (p), .type = (t), .size = sizeof(s) } argument
234 #define FUNC(p, t, f) { .protocol = (p), .type = (t), .func = (f) } argument
323 bool snd_usb_validate_audio_desc(void *p, int protocol) in snd_usb_validate_audio_desc() argument
325 unsigned char *c = p; in snd_usb_validate_audio_desc()
328 valid = validate_desc(p, protocol, audio_validators); in snd_usb_validate_audio_desc()
337 bool snd_usb_validate_midi_desc(void *p) in snd_usb_validate_midi_desc() argument
339 unsigned char *c = p; in snd_usb_validate_midi_desc()
342 valid = validate_desc(p, UAC_VERSION_1, midi_validators); in snd_usb_validate_midi_desc()