Lines Matching refs:devices
428 usecase->devices & AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND && in check_and_route_playback_usecases()
610 usecase->stream.out->devices); in select_devices()
611 in_snd_device = platform_get_input_snd_device(adev->platform, usecase->stream.out->devices); in select_devices()
612 usecase->devices = usecase->stream.out->devices; in select_devices()
625 ((vc_usecase->devices & AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND) || in select_devices()
626 (usecase->devices == AUDIO_DEVICE_IN_VOICE_CALL))) { in select_devices()
633 if (hfp_usecase->devices & AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND) { in select_devices()
639 usecase->devices = usecase->stream.out->devices; in select_devices()
643 usecase->stream.out->devices); in select_devices()
653 usecase->devices = usecase->stream.in->device; in select_devices()
664 out_device = adev->primary_output->devices; in select_devices()
720 if (usecase->devices & AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND) in select_devices()
807 uc_info->devices = in->device; in start_input_stream()
1031 if (usecase->devices & AUDIO_DEVICE_OUT_AUX_DIGITAL) { in allow_hdmi_channel_config()
1080 usecase->devices & AUDIO_DEVICE_OUT_AUX_DIGITAL) { in check_and_set_hdmi_channels()
1092 usecase->devices & AUDIO_DEVICE_OUT_AUX_DIGITAL) { in check_and_set_hdmi_channels()
1134 if (out->devices & AUDIO_DEVICE_OUT_AUX_DIGITAL) in stop_output_stream()
1148 __func__, out->usecase, use_case_table[out->usecase], out->devices); in start_output_stream()
1161 uc_info->devices = out->devices; in start_output_stream()
1166 if (out->devices & AUDIO_DEVICE_OUT_AUX_DIGITAL) in start_output_stream()
1450 if (out->devices == AUDIO_DEVICE_OUT_AUX_DIGITAL && in out_set_parameters()
1474 out->devices = val; in out_set_parameters()
2112 audio_devices_t devices, in adev_open_output_stream() argument
2123 __func__, config->sample_rate, config->channel_mask, devices, flags); in adev_open_output_stream()
2127 if (devices == AUDIO_DEVICE_NONE) in adev_open_output_stream()
2128 devices = AUDIO_DEVICE_OUT_SPEAKER; in adev_open_output_stream()
2131 out->devices = devices; in adev_open_output_stream()
2142 out->devices & AUDIO_DEVICE_OUT_AUX_DIGITAL) { in adev_open_output_stream()
2210 } else if (out->devices == AUDIO_DEVICE_OUT_TELEPHONY_TX) { in adev_open_output_stream()
2541 audio_devices_t devices, in adev_open_input_stream() argument
2580 in->device = devices; in adev_open_input_stream()
2757 out.devices = audio_device; /* only field needed in select_devices */ in adev_verify_devices()
2759 uc_info.devices = audio_device; in adev_verify_devices()