Lines Matching refs:usecase
1318 struct audio_usecase *usecase __unused, in platform_check_and_set_playback_backend_cfg()
1325 struct audio_usecase *usecase __unused, in platform_check_and_set_capture_backend_cfg()
1395 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type) in platform_get_pcm_device_id() argument
1400 device_id = pcm_device_table[usecase][0]; in platform_get_pcm_device_id()
1402 device_id = pcm_device_table[usecase][1]; in platform_get_pcm_device_id()
2563 int64_t platform_render_latency(audio_usecase_t usecase)
2565 switch (usecase) {
2604 int platform_set_usecase_pcm_id(audio_usecase_t usecase, int32_t type, int32_t pcm_id)
2607 if ((usecase <= USECASE_INVALID) || (usecase >= AUDIO_USECASE_MAX)) {
2608 ALOGE("%s: invalid usecase case idx %d", __func__, usecase);
2617 pcm_device_table[usecase][type] = pcm_id;
2724 struct audio_usecase *usecase; local
2736 struct audio_usecase *usecase; local
2748 usecase = node_to_item(node, struct audio_usecase, list);
2749 if (usecase->type == PCM_PLAYBACK &&
2750 usecase->stream.out->devices & AUDIO_DEVICE_OUT_SPEAKER) {
2759 select_devices(adev, usecase->id);
2780 struct audio_usecase *usecase __unused,
2870 audio_usecase_t usecase __unused,