Searched refs:audio_dev (Results 1 – 2 of 2) sorted by relevance
1463 struct generic_audio_device *audio_dev = (struct generic_audio_device *)dev; in adev_create_audio_patch() local1478 pthread_mutex_lock(&audio_dev->lock); in adev_create_audio_patch()1479 audio_dev->last_patch_id += 1; in adev_create_audio_patch()1480 pthread_mutex_unlock(&audio_dev->lock); in adev_create_audio_patch()1481 *handle = audio_dev->last_patch_id; in adev_create_audio_patch()
1390 struct generic_audio_device *audio_dev = (struct generic_audio_device *)dev; in adev_create_audio_patch() local1405 pthread_mutex_lock(&audio_dev->lock); in adev_create_audio_patch()1406 audio_dev->last_patch_id += 1; in adev_create_audio_patch()1407 pthread_mutex_unlock(&audio_dev->lock); in adev_create_audio_patch()1408 *handle = audio_dev->last_patch_id; in adev_create_audio_patch()