Searched refs:st_dev (Results 1 – 3 of 3) sorted by relevance
163 static struct sound_trigger_audio_device *st_dev; variable171 list_empty(&st_dev->st_ses_list), capture_handle); in get_sound_trigger_info()172 list_for_each(node, &st_dev->st_ses_list) { in get_sound_trigger_info()226 if (!st_dev) in audio_hw_call_back()229 pthread_mutex_lock(&st_dev->lock); in audio_hw_call_back()246 list_add_tail(&st_dev->st_ses_list, &st_ses_info->list); in audio_hw_call_back()270 pthread_mutex_unlock(&st_dev->lock); in audio_hw_call_back()281 if (!st_dev) in audio_extn_sound_trigger_read()291 pthread_mutex_lock(&st_dev->lock); in audio_extn_sound_trigger_read()293 pthread_mutex_unlock(&st_dev->lock); in audio_extn_sound_trigger_read()[all …]
335 static int find_empty_model_slot(struct knowles_sound_trigger_device *st_dev) in find_empty_model_slot() argument339 if (st_dev->models[i].is_loaded == false) in find_empty_model_slot()351 struct knowles_sound_trigger_device *st_dev, int kw_id) in find_handle_for_kw_id() argument355 if (kw_id == st_dev->models[i].kw_id) in find_handle_for_kw_id()
176 major(st.st_dev), minor(st.st_dev), major(st.st_rdev), in cpioWriteHeader()