Lines Matching refs:protocol
233 int protocol) in convert_chmap() argument
291 maps = protocol == UAC_VERSION_2 ? uac2_maps : uac1_maps; in convert_chmap()
390 int protocol, int iface_no) in parse_uac_endpoint_attributes() argument
420 if (protocol == UAC_VERSION_1) { in parse_uac_endpoint_attributes()
480 int num, protocol, clock = 0; in snd_usb_parse_audio_interface() local
501 protocol = altsd->bInterfaceProtocol; in snd_usb_parse_audio_interface()
528 protocol <= 2) in snd_usb_parse_audio_interface()
529 protocol = UAC_VERSION_1; in snd_usb_parse_audio_interface()
533 switch (protocol) { in snd_usb_parse_audio_interface()
536 iface_no, altno, protocol); in snd_usb_parse_audio_interface()
537 protocol = UAC_VERSION_1; in snd_usb_parse_audio_interface()
628 if (((protocol == UAC_VERSION_1) && (fmt->bLength < 8)) || in snd_usb_parse_audio_interface()
629 ((protocol == UAC_VERSION_2) && (fmt->bLength < 6))) { in snd_usb_parse_audio_interface()
646 protocol == UAC_VERSION_1 && in snd_usb_parse_audio_interface()
663 fp->protocol = protocol; in snd_usb_parse_audio_interface()
669 fp->attributes = parse_uac_endpoint_attributes(chip, alts, protocol, iface_no); in snd_usb_parse_audio_interface()
714 fp->chmap = convert_chmap(fp->channels, chconfig, protocol); in snd_usb_parse_audio_interface()