Searched refs:st_dev (Results 1 – 2 of 2) sorted by relevance
60 static struct sound_trigger_audio_device *st_dev; variable68 list_empty(&st_dev->st_ses_list), capture_handle); in get_sound_trigger_info()69 list_for_each(node, &st_dev->st_ses_list) { in get_sound_trigger_info()83 if (!st_dev) in audio_hw_call_back()86 pthread_mutex_lock(&st_dev->lock); in audio_hw_call_back()103 list_add_tail(&st_dev->st_ses_list, &st_ses_info->list); in audio_hw_call_back()127 pthread_mutex_unlock(&st_dev->lock); in audio_hw_call_back()137 if (!st_dev || !in) in audio_extn_sound_trigger_stop_lab()140 pthread_mutex_lock(&st_dev->lock); in audio_extn_sound_trigger_stop_lab()142 pthread_mutex_unlock(&st_dev->lock); in audio_extn_sound_trigger_stop_lab()[all …]
54 static struct sound_trigger_audio_device *st_dev; variable62 list_empty(&st_dev->st_ses_list), capture_handle); in get_sound_trigger_info()63 list_for_each(node, &st_dev->st_ses_list) { in get_sound_trigger_info()77 if (!st_dev) in audio_hw_call_back()80 pthread_mutex_lock(&st_dev->lock); in audio_hw_call_back()97 list_add_tail(&st_dev->st_ses_list, &st_ses_info->list); in audio_hw_call_back()121 pthread_mutex_unlock(&st_dev->lock); in audio_hw_call_back()132 if (!st_dev) in audio_extn_sound_trigger_read()142 pthread_mutex_lock(&st_dev->lock); in audio_extn_sound_trigger_read()144 pthread_mutex_unlock(&st_dev->lock); in audio_extn_sound_trigger_read()[all …]