Searched refs:ref_cnt (Results 1 – 2 of 2) sorted by relevance
70 int ref_cnt[Audio_Mode_Max]; member327 if ((new_audio_mode == Audio_Mode_None) || (data->ref_cnt[new_audio_mode] <= 0)) { in audio_extn_tfa_98xx_disable_speaker()332 data->ref_cnt[new_audio_mode]--; in audio_extn_tfa_98xx_disable_speaker()335 if (data->ref_cnt[i] > 0) { in audio_extn_tfa_98xx_disable_speaker()364 if ((new_audio_mode != Audio_Mode_None) && (data->ref_cnt[new_audio_mode] >= 1)) { in audio_extn_tfa_98xx_enable_speaker()366 data->ref_cnt[new_audio_mode]++; in audio_extn_tfa_98xx_enable_speaker()384 data->ref_cnt[i] = data->route_cnt[i]; in audio_extn_tfa_98xx_enable_speaker()448 data->ref_cnt[new_audio_mode]++; in audio_extn_tfa_98xx_update()
2893 uint8_t ref_cnt = 1; in getStreamRefCount() local2896 return ref_cnt; in getStreamRefCount()2907 ref_cnt++; in getStreamRefCount()2918 return ref_cnt; in getStreamRefCount()