Searched refs:snd_dev_ref_cnt (Results 1 – 4 of 4) 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()
194 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()
321 int *snd_dev_ref_cnt; member
665 if (adev->snd_dev_ref_cnt[snd_device] >= 1) { in enable_snd_device()718 adev->snd_dev_ref_cnt[snd_device]++; in enable_snd_device()735 if (adev->snd_dev_ref_cnt[snd_device] <= 0) { in disable_snd_device()741 adev->snd_dev_ref_cnt[snd_device]--; in disable_snd_device()742 if (adev->snd_dev_ref_cnt[snd_device] == 0) { in disable_snd_device()5397 free(adev->snd_dev_ref_cnt); in adev_close()5588 adev->snd_dev_ref_cnt = calloc(SND_DEVICE_MAX, sizeof(int)); in adev_open()5596 free(adev->snd_dev_ref_cnt); in adev_open()