Home
last modified time | relevance | path

Searched refs:snd_dev_ref_cnt (Results 1 – 5 of 5) 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()
/hardware/qcom/audio/hal/
Daudio_hw.h250 int *snd_dev_ref_cnt; member
Daudio_hw.c321 if (adev->snd_dev_ref_cnt[snd_device] >= 1) { in enable_snd_device()
363 adev->snd_dev_ref_cnt[snd_device]++; in enable_snd_device()
380 if (adev->snd_dev_ref_cnt[snd_device] <= 0) { in disable_snd_device()
384 adev->snd_dev_ref_cnt[snd_device]--; in disable_snd_device()
385 if (adev->snd_dev_ref_cnt[snd_device] == 0) { in disable_snd_device()
2963 free(adev->snd_dev_ref_cnt); in adev_close()
3052 adev->snd_dev_ref_cnt = calloc(SND_DEVICE_MAX, sizeof(int)); in adev_open()
3060 free(adev->snd_dev_ref_cnt); in adev_open()
/hardware/qcom/audio/msm8909/hal/
Daudio_hw.h277 int *snd_dev_ref_cnt; member
Daudio_hw.c437 adev->snd_dev_ref_cnt[snd_device]++; in enable_snd_device()
443 if (adev->snd_dev_ref_cnt[snd_device] > 1) { in enable_snd_device()
468 adev->snd_dev_ref_cnt[snd_device]--; in enable_snd_device()
484 adev->snd_dev_ref_cnt[snd_device]--; in enable_snd_device()
507 if (adev->snd_dev_ref_cnt[snd_device] <= 0) { in disable_snd_device()
512 adev->snd_dev_ref_cnt[snd_device]--; in disable_snd_device()
519 if (adev->snd_dev_ref_cnt[snd_device] == 0) { in disable_snd_device()
3351 free(adev->snd_dev_ref_cnt); in adev_close()
3437 adev->snd_dev_ref_cnt = calloc(SND_DEVICE_MAX, sizeof(int)); in adev_open()
3448 free(adev->snd_dev_ref_cnt); in adev_open()