Lines Matching refs:patch_handle
201 audio_patch_handle_t patch_handle; // Protected by this->dev->lock member
231 audio_patch_handle_t patch_handle; // Protected by this->dev->lock member
1605 if (!generatedPatchHandle && in->patch_handle != *handle) { in adev_create_audio_patch()
1608 __func__, *handle, in->patch_handle, in->handle); in adev_create_audio_patch()
1615 in->patch_handle = *handle; in adev_create_audio_patch()
1626 if (!generatedPatchHandle && out->patch_handle != *handle) { in adev_create_audio_patch()
1629 __func__, *handle, out->patch_handle, out->handle); in adev_create_audio_patch()
1639 out->patch_handle = *handle; in adev_create_audio_patch()
1652 struct generic_audio_device *adev, audio_patch_handle_t patch_handle) { in get_stream_out_by_patch_handle_l() argument
1658 if (out->patch_handle == patch_handle) { in get_stream_out_by_patch_handle_l()
1667 struct generic_audio_device *adev, audio_patch_handle_t patch_handle) { in get_stream_in_by_patch_handle_l() argument
1673 if (in->patch_handle == patch_handle) { in get_stream_in_by_patch_handle_l()
1681 audio_patch_handle_t patch_handle) { in adev_release_audio_patch() argument
1685 struct generic_stream_out *out = get_stream_out_by_patch_handle_l(adev, patch_handle); in adev_release_audio_patch()
1691 out->patch_handle = AUDIO_PATCH_HANDLE_NONE; in adev_release_audio_patch()
1695 struct generic_stream_in *in = get_stream_in_by_patch_handle_l(adev, patch_handle); in adev_release_audio_patch()
1700 in->patch_handle = AUDIO_PATCH_HANDLE_NONE; in adev_release_audio_patch()
1706 ALOGW("%s() cannot find stream for patch handle: %d", __func__, patch_handle); in adev_release_audio_patch()