Lines Matching refs:uc_info
310 struct audio_usecase *uc_info,
336 usecase != uc_info &&
377 struct audio_usecase *uc_info,
401 usecase != uc_info &&
656 struct audio_usecase *uc_info;
663 uc_info = get_usecase_from_list(adev, in->usecase);
664 if (uc_info == NULL) {
671 disable_audio_route(adev, uc_info);
674 disable_snd_device(adev, uc_info->in_snd_device);
676 list_remove(&uc_info->list);
677 free(uc_info);
687 struct audio_usecase *uc_info;
700 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase));
701 uc_info->id = in->usecase;
702 uc_info->type = PCM_CAPTURE;
703 uc_info->stream.in = in;
704 uc_info->devices = in->device;
705 uc_info->in_snd_device = SND_DEVICE_NONE;
706 uc_info->out_snd_device = SND_DEVICE_NONE;
708 list_add_tail(&adev->usecase_list, &uc_info->list);
976 struct audio_usecase *uc_info;
981 uc_info = get_usecase_from_list(adev, out->usecase);
982 if (uc_info == NULL) {
996 disable_audio_route(adev, uc_info);
999 disable_snd_device(adev, uc_info->out_snd_device);
1001 list_remove(&uc_info->list);
1002 free(uc_info);
1017 struct audio_usecase *uc_info;
1030 uc_info = (struct audio_usecase *)calloc(1, sizeof(struct audio_usecase));
1031 uc_info->id = out->usecase;
1032 uc_info->type = PCM_PLAYBACK;
1033 uc_info->stream.out = out;
1034 uc_info->devices = out->devices;
1035 uc_info->in_snd_device = SND_DEVICE_NONE;
1036 uc_info->out_snd_device = SND_DEVICE_NONE;
1042 list_add_tail(&adev->usecase_list, &uc_info->list);
2525 struct audio_usecase uc_info;
2538 memset(&uc_info, 0, sizeof(uc_info));
2539 uc_info.id = audio_usecase;
2540 uc_info.type = usecase_type;
2546 uc_info.stream.in = ∈
2552 uc_info.stream.out = &out;
2553 uc_info.devices = audio_device;
2554 uc_info.in_snd_device = SND_DEVICE_NONE;
2555 uc_info.out_snd_device = SND_DEVICE_NONE;
2556 list_add_tail(&adev->usecase_list, &uc_info.list);
2576 retval = disable_audio_route(adev, &uc_info);
2579 dir ? uc_info.in_snd_device : uc_info.out_snd_device);
2580 list_remove(&uc_info.list);