Searched refs:uc_info_tx (Results 1 – 2 of 2) sorted by relevance
303 struct audio_usecase *uc_info_rx = NULL, *uc_info_tx = NULL; in spkr_calibrate() local364 uc_info_tx = (struct audio_usecase *) in spkr_calibrate()366 if (!uc_info_tx) { in spkr_calibrate()370 uc_info_tx->id = USECASE_AUDIO_SPKR_CALIB_TX; in spkr_calibrate()371 uc_info_tx->type = PCM_CAPTURE; in spkr_calibrate()372 uc_info_tx->in_snd_device = SND_DEVICE_IN_CAPTURE_VI_FEEDBACK; in spkr_calibrate()373 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in spkr_calibrate()376 list_add_tail(&adev->usecase_list, &uc_info_tx->list); in spkr_calibrate()378 enable_audio_route(adev, uc_info_tx); in spkr_calibrate()380 pcm_dev_tx_id = platform_get_pcm_device_id(uc_info_tx->id, PCM_CAPTURE); in spkr_calibrate()[all …]
802 struct audio_usecase *uc_info_tx; in audio_extn_spkr_prot_start_processing() local813 uc_info_tx = (struct audio_usecase *)calloc(1, sizeof(*uc_info_tx)); in audio_extn_spkr_prot_start_processing()814 if (!uc_info_tx) { in audio_extn_spkr_prot_start_processing()823 uc_info_tx->id = USECASE_AUDIO_SPKR_CALIB_TX; in audio_extn_spkr_prot_start_processing()824 uc_info_tx->type = PCM_CAPTURE; in audio_extn_spkr_prot_start_processing()825 uc_info_tx->in_snd_device = SND_DEVICE_IN_CAPTURE_VI_FEEDBACK; in audio_extn_spkr_prot_start_processing()826 uc_info_tx->out_snd_device = SND_DEVICE_NONE; in audio_extn_spkr_prot_start_processing()829 list_add_tail(&adev->usecase_list, &uc_info_tx->list); in audio_extn_spkr_prot_start_processing()832 enable_audio_route(adev, uc_info_tx); in audio_extn_spkr_prot_start_processing()834 pcm_dev_tx_id = platform_get_pcm_device_id(uc_info_tx->id, PCM_CAPTURE); in audio_extn_spkr_prot_start_processing()[all …]