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.h289 int *snd_dev_ref_cnt; member
Daudio_hw.c572 if (adev->snd_dev_ref_cnt[snd_device] >= 1) { in enable_snd_device()
616 adev->snd_dev_ref_cnt[snd_device]++; in enable_snd_device()
633 if (adev->snd_dev_ref_cnt[snd_device] <= 0) { in disable_snd_device()
639 adev->snd_dev_ref_cnt[snd_device]--; in disable_snd_device()
640 if (adev->snd_dev_ref_cnt[snd_device] == 0) { in disable_snd_device()
4078 free(adev->snd_dev_ref_cnt); in adev_close()
4191 adev->snd_dev_ref_cnt = calloc(SND_DEVICE_MAX, sizeof(int)); in adev_open()
4199 free(adev->snd_dev_ref_cnt); in adev_open()