Home
last modified time | relevance | path

Searched refs:uc_info_tx (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/audio/hal/audio_extn/
Dspkr_protection.c303 struct audio_usecase *uc_info_rx = NULL, *uc_info_tx = NULL; in spkr_calibrate() local
363 uc_info_tx = (struct audio_usecase *) in spkr_calibrate()
365 if (!uc_info_tx) { in spkr_calibrate()
369 uc_info_tx->id = USECASE_AUDIO_SPKR_CALIB_TX; in spkr_calibrate()
370 uc_info_tx->type = PCM_CAPTURE; in spkr_calibrate()
371 uc_info_tx->in_snd_device = SND_DEVICE_IN_CAPTURE_VI_FEEDBACK; in spkr_calibrate()
372 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in spkr_calibrate()
375 list_add_tail(&adev->usecase_list, &uc_info_tx->list); in spkr_calibrate()
377 enable_audio_route(adev, uc_info_tx); in spkr_calibrate()
379 pcm_dev_tx_id = platform_get_pcm_device_id(uc_info_tx->id, PCM_CAPTURE); in spkr_calibrate()
[all …]
/hardware/qcom/audio/msm8909/hal/audio_extn/
Dspkr_protection.c312 struct audio_usecase *uc_info_rx = NULL, *uc_info_tx = NULL; in spkr_calibrate() local
372 uc_info_tx = (struct audio_usecase *) in spkr_calibrate()
374 if (!uc_info_tx) { in spkr_calibrate()
378 uc_info_tx->id = USECASE_AUDIO_SPKR_CALIB_TX; in spkr_calibrate()
379 uc_info_tx->type = PCM_CAPTURE; in spkr_calibrate()
380 uc_info_tx->in_snd_device = SND_DEVICE_IN_CAPTURE_VI_FEEDBACK; in spkr_calibrate()
381 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in spkr_calibrate()
384 list_add_tail(&adev->usecase_list, &uc_info_tx->list); in spkr_calibrate()
386 enable_audio_route(adev, uc_info_tx); in spkr_calibrate()
388 pcm_dev_tx_id = platform_get_pcm_device_id(uc_info_tx->id, PCM_CAPTURE); in spkr_calibrate()
[all …]