Home
last modified time | relevance | path

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

/hardware/qcom/audio/msm8909/hal/audio_extn/
Dsoundtrigger.c65 struct sound_trigger_info *st_ses_info = NULL; in get_sound_trigger_info() local
70 st_ses_info = node_to_item(node, struct sound_trigger_info , list); in get_sound_trigger_info()
71 if (st_ses_info->st_ses.capture_handle == capture_handle) in get_sound_trigger_info()
72 return st_ses_info; in get_sound_trigger_info()
81 struct sound_trigger_info *st_ses_info; in audio_hw_call_back() local
94 st_ses_info= calloc(1, sizeof(struct sound_trigger_info )); in audio_hw_call_back()
95 if (!st_ses_info) { in audio_hw_call_back()
100 memcpy(&st_ses_info->st_ses, &config->st_ses, sizeof (config->st_ses)); in audio_hw_call_back()
102 st_ses_info->st_ses.capture_handle, st_ses_info->st_ses.pcm); in audio_hw_call_back()
103 list_add_tail(&st_dev->st_ses_list, &st_ses_info->list); in audio_hw_call_back()
[all …]
/hardware/qcom/audio/hal/audio_extn/
Dsoundtrigger.c59 struct sound_trigger_info *st_ses_info = NULL; in get_sound_trigger_info() local
64 st_ses_info = node_to_item(node, struct sound_trigger_info , list); in get_sound_trigger_info()
65 if (st_ses_info->st_ses.capture_handle == capture_handle) in get_sound_trigger_info()
66 return st_ses_info; in get_sound_trigger_info()
75 struct sound_trigger_info *st_ses_info; in audio_hw_call_back() local
88 st_ses_info= calloc(1, sizeof(struct sound_trigger_info )); in audio_hw_call_back()
89 if (!st_ses_info) { in audio_hw_call_back()
94 memcpy(&st_ses_info->st_ses, &config->st_ses, sizeof (config->st_ses)); in audio_hw_call_back()
96 st_ses_info->st_ses.capture_handle, st_ses_info->st_ses.pcm); in audio_hw_call_back()
97 list_add_tail(&st_dev->st_ses_list, &st_ses_info->list); in audio_hw_call_back()
[all …]