• Home
  • Raw
  • Download

Lines Matching refs:backend_idx

4117     const int backend_idx = platform_get_backend_index(snd_device);  in platform_set_backend_cfg()  local
4128 sample_rate, channels, backend_idx, in platform_set_backend_cfg()
4131 if ((my_data->current_backend_cfg[backend_idx].bitwidth_mixer_ctl) && in platform_set_backend_cfg()
4132 (bit_width != my_data->current_backend_cfg[backend_idx].bit_width)) { in platform_set_backend_cfg()
4136 my_data->current_backend_cfg[backend_idx].bitwidth_mixer_ctl); in platform_set_backend_cfg()
4140 my_data->current_backend_cfg[backend_idx].bitwidth_mixer_ctl); in platform_set_backend_cfg()
4156 my_data->current_backend_cfg[backend_idx].bitwidth_mixer_ctl, bit_width, format); in platform_set_backend_cfg()
4158 my_data->current_backend_cfg[backend_idx].bit_width = bit_width; in platform_set_backend_cfg()
4160 my_data->current_backend_cfg[backend_idx].bitwidth_mixer_ctl, bit_width, format); in platform_set_backend_cfg()
4166 if (passthrough_enabled || ((my_data->current_backend_cfg[backend_idx].samplerate_mixer_ctl) && in platform_set_backend_cfg()
4167 … (sample_rate != my_data->current_backend_cfg[backend_idx].sample_rate))) { in platform_set_backend_cfg()
4217 my_data->current_backend_cfg[backend_idx].samplerate_mixer_ctl); in platform_set_backend_cfg()
4221 my_data->current_backend_cfg[backend_idx].samplerate_mixer_ctl); in platform_set_backend_cfg()
4226 my_data->current_backend_cfg[backend_idx].samplerate_mixer_ctl, rate_str); in platform_set_backend_cfg()
4228 my_data->current_backend_cfg[backend_idx].sample_rate = sample_rate; in platform_set_backend_cfg()
4230 if ((my_data->current_backend_cfg[backend_idx].channels_mixer_ctl) && in platform_set_backend_cfg()
4231 (channels != my_data->current_backend_cfg[backend_idx].channels)) { in platform_set_backend_cfg()
4256 my_data->current_backend_cfg[backend_idx].channels_mixer_ctl); in platform_set_backend_cfg()
4260 my_data->current_backend_cfg[backend_idx].channels_mixer_ctl); in platform_set_backend_cfg()
4264 my_data->current_backend_cfg[backend_idx].channels = channels; in platform_set_backend_cfg()
4269 my_data->current_backend_cfg[backend_idx].channels_mixer_ctl, in platform_set_backend_cfg()
4296 int backend_idx = -1; in platform_get_voice_call_backend() local
4304 backend_idx = platform_get_backend_index(out_snd_device); in platform_get_voice_call_backend()
4309 return backend_idx; in platform_get_voice_call_backend()
4317 int backend_idx, in platform_check_capture_backend_cfg() argument
4331 "sample rate: %d, channels %d",__func__,backend_idx, bit_width, in platform_check_capture_backend_cfg()
4344 if (backend_idx == USB_AUDIO_TX_BACKEND) { in platform_check_capture_backend_cfg()
4351 "sample rate: %d", __func__, backend_idx, bit_width, sample_rate); in platform_check_capture_backend_cfg()
4355 if ((bit_width != my_data->current_backend_cfg[backend_idx].bit_width) || in platform_check_capture_backend_cfg()
4356 (sample_rate != my_data->current_backend_cfg[backend_idx].sample_rate) || in platform_check_capture_backend_cfg()
4357 (channels != my_data->current_backend_cfg[backend_idx].channels)) { in platform_check_capture_backend_cfg()
4437 int backend_idx = DEFAULT_CODEC_BACKEND; in platform_check_playback_backend_cfg() local
4447 backend_idx = platform_get_backend_index(snd_device); in platform_check_playback_backend_cfg()
4454 sample_rate, channels, backend_idx, usecase->id, in platform_check_playback_backend_cfg()
4457 if (backend_idx == platform_get_voice_call_backend(adev)) { in platform_check_playback_backend_cfg()
4479 switch (backend_idx) { in platform_check_playback_backend_cfg()
4514 __func__, backend_idx , bit_width, sample_rate); in platform_check_playback_backend_cfg()
4518 if (bit_width != my_data->current_backend_cfg[backend_idx].bit_width || in platform_check_playback_backend_cfg()
4519 sample_rate != my_data->current_backend_cfg[backend_idx].sample_rate || in platform_check_playback_backend_cfg()
4520 channels != my_data->current_backend_cfg[backend_idx].channels) { in platform_check_playback_backend_cfg()
4537 int backend_idx = DEFAULT_CODEC_BACKEND; in platform_check_and_set_playback_backend_cfg() local
4544 backend_idx = platform_get_backend_index(snd_device); in platform_check_and_set_playback_backend_cfg()
4555 backend_cfg.sample_rate, backend_cfg.channels, backend_idx, usecase->id, in platform_check_and_set_playback_backend_cfg()
4576 int backend_idx = platform_get_backend_index(snd_device); in platform_check_and_set_capture_backend_cfg() local
4596 backend_idx, usecase->id, in platform_check_and_set_capture_backend_cfg()
4599 if (platform_check_capture_backend_cfg(adev, backend_idx, &backend_cfg)) { in platform_check_and_set_capture_backend_cfg()
4757 int backend_idx = platform_get_backend_index(snd_device); in platform_check_and_update_copp_sample_rate() local
4758 int device_sr = my_data->current_backend_cfg[backend_idx].sample_rate; in platform_check_and_update_copp_sample_rate()