Searched refs:uc_info_rx (Results 1 – 2 of 2) sorted by relevance
460 struct audio_usecase *uc_info_rx = NULL; in audio_extn_cirrus_calibration_thread() local476 uc_info_rx = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); in audio_extn_cirrus_calibration_thread()477 if (!uc_info_rx) { in audio_extn_cirrus_calibration_thread()483 uc_info_rx->id = USECASE_AUDIO_PLAYBACK_DEEP_BUFFER; in audio_extn_cirrus_calibration_thread()484 uc_info_rx->type = PCM_PLAYBACK; in audio_extn_cirrus_calibration_thread()485 uc_info_rx->in_snd_device = SND_DEVICE_NONE; in audio_extn_cirrus_calibration_thread()486 uc_info_rx->stream.out = adev->primary_output; in audio_extn_cirrus_calibration_thread()487 uc_info_rx->out_snd_device = SND_DEVICE_OUT_SPEAKER; in audio_extn_cirrus_calibration_thread()488 list_add_tail(&adev->usecase_list, &uc_info_rx->list); in audio_extn_cirrus_calibration_thread()491 enable_audio_route(adev, uc_info_rx); in audio_extn_cirrus_calibration_thread()[all …]
303 struct audio_usecase *uc_info_rx = NULL, *uc_info_tx = NULL; in spkr_calibrate() local333 uc_info_rx = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase)); in spkr_calibrate()334 if (!uc_info_rx) { in spkr_calibrate()337 uc_info_rx->id = USECASE_AUDIO_SPKR_CALIB_RX; in spkr_calibrate()338 uc_info_rx->type = PCM_PLAYBACK; in spkr_calibrate()339 uc_info_rx->in_snd_device = SND_DEVICE_NONE; in spkr_calibrate()340 uc_info_rx->stream.out = adev->primary_output; in spkr_calibrate()341 uc_info_rx->out_snd_device = SND_DEVICE_OUT_SPEAKER_PROTECTED; in spkr_calibrate()343 list_add_tail(&adev->usecase_list, &uc_info_rx->list); in spkr_calibrate()345 enable_audio_route(adev, uc_info_rx); in spkr_calibrate()[all …]