Lines Matching refs:protocol
234 int protocol) in convert_chmap() argument
292 maps = protocol == UAC_VERSION_2 ? uac2_maps : uac1_maps; in convert_chmap()
401 int protocol, int iface_no) in parse_uac_endpoint_attributes() argument
431 if (protocol == UAC_VERSION_1) { in parse_uac_endpoint_attributes()
491 int num, protocol, clock = 0; in snd_usb_parse_audio_interface() local
512 protocol = altsd->bInterfaceProtocol; in snd_usb_parse_audio_interface()
539 protocol <= 2) in snd_usb_parse_audio_interface()
540 protocol = UAC_VERSION_1; in snd_usb_parse_audio_interface()
544 switch (protocol) { in snd_usb_parse_audio_interface()
547 iface_no, altno, protocol); in snd_usb_parse_audio_interface()
548 protocol = UAC_VERSION_1; in snd_usb_parse_audio_interface()
639 if (((protocol == UAC_VERSION_1) && (fmt->bLength < 8)) || in snd_usb_parse_audio_interface()
640 ((protocol == UAC_VERSION_2) && (fmt->bLength < 6))) { in snd_usb_parse_audio_interface()
657 protocol == UAC_VERSION_1 && in snd_usb_parse_audio_interface()
674 fp->protocol = protocol; in snd_usb_parse_audio_interface()
680 fp->attributes = parse_uac_endpoint_attributes(chip, alts, protocol, iface_no); in snd_usb_parse_audio_interface()
726 fp->chmap = convert_chmap(fp->channels, chconfig, protocol); in snd_usb_parse_audio_interface()