// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) // // This file is provided under a dual BSD/GPLv2 license. When using or // redistributing this file, you may do so under either license. // // Copyright(c) 2021 Advanced Micro Devices, Inc. All rights reserved. // // Authors: Vishnuvardhanrao Ravuapati <vishnuvardhanrao.ravulapati@amd.com> // V Sujith Kumar Reddy <Vsujithkumar.Reddy@amd.com>
/*This file support Host TRACE Logger driver callback for SOF FW */
#include"acp.h"
#define ACP_LOGGER_STREAM 8 #define NUM_PAGES 16
int acp_sof_trace_release(struct snd_sof_dev *sdev)
{ struct acp_dsp_stream *stream; struct acp_dev_data *adata; int ret;
adata = sdev->pdata->hw_pdata;
stream = adata->dtrace_stream;
ret = acp_dsp_stream_put(sdev, stream); if (ret < 0) {
dev_err(sdev->dev, "Failed to release trace stream\n"); return ret;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.