Searched refs:snd_dev_ref_cnt (Results 1 – 5 of 5) sorted by relevance
129 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()
250 int *snd_dev_ref_cnt; member
321 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()
277 int *snd_dev_ref_cnt; member
437 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()