Home
last modified time | relevance | path

Searched refs:snd_dev_ref_cnt (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/audio/hal/audio_extn/
Dext_speaker.c129 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in audio_extn_extspk_update()
134 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in audio_extn_extspk_update()
Dtfa_98xx.c194 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in tfa_98xx_get_audio_mode()
202 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in tfa_98xx_get_audio_mode()
208 if(data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in tfa_98xx_get_audio_mode()
215 if (data->adev->snd_dev_ref_cnt[usecase->out_snd_device] != 0) { in tfa_98xx_get_audio_mode()
/hardware/qcom/audio/hal/
Daudio_hw.h375 int *snd_dev_ref_cnt; member
Daudio_hw.c762 if (adev->snd_dev_ref_cnt[snd_device] >= 1) { in enable_snd_device()
818 adev->snd_dev_ref_cnt[snd_device]++; in enable_snd_device()
835 if (adev->snd_dev_ref_cnt[snd_device] <= 0) { in disable_snd_device()
841 adev->snd_dev_ref_cnt[snd_device]--; in disable_snd_device()
842 if (adev->snd_dev_ref_cnt[snd_device] == 0) { in disable_snd_device()
6423 free(adev->snd_dev_ref_cnt); in adev_close()
6615 adev->snd_dev_ref_cnt = calloc(SND_DEVICE_MAX, sizeof(int)); in adev_open()
6623 free(adev->snd_dev_ref_cnt); in adev_open()