linux/sound/soc/sof/amd/acp-ipc.c

// 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, 2023 Advanced Micro Devices, Inc.
//
// Authors: Balakishore Pati <[email protected]>
//	    Ajit Kumar Pandey <[email protected]>

/* ACP-specific SOF IPC code */

#include <linux/module.h>
#include "../ops.h"
#include "acp.h"
#include "acp-dsp-offset.h"

void acp_mailbox_write(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes)
{}
EXPORT_SYMBOL_NS();

void acp_mailbox_read(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes)
{}
EXPORT_SYMBOL_NS();

static void acpbus_trigger_host_to_dsp_swintr(struct acp_dev_data *adata)
{}

static void acp_ipc_host_msg_set(struct snd_sof_dev *sdev)
{}

static void acp_dsp_ipc_host_done(struct snd_sof_dev *sdev)
{}

static void acp_dsp_ipc_dsp_done(struct snd_sof_dev *sdev)
{}

int acp_sof_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg)
{}
EXPORT_SYMBOL_NS();

static void acp_dsp_ipc_get_reply(struct snd_sof_dev *sdev)
{}

irqreturn_t acp_sof_ipc_irq_thread(int irq, void *context)
{}
EXPORT_SYMBOL_NS();

int acp_sof_ipc_msg_data(struct snd_sof_dev *sdev, struct snd_sof_pcm_stream *sps,
			 void *p, size_t sz)
{}
EXPORT_SYMBOL_NS();

int acp_set_stream_data_offset(struct snd_sof_dev *sdev,
			       struct snd_sof_pcm_stream *sps,
			       size_t posn_offset)
{}
EXPORT_SYMBOL_NS();

int acp_sof_ipc_get_mailbox_offset(struct snd_sof_dev *sdev)
{}
EXPORT_SYMBOL_NS();

int acp_sof_ipc_get_window_offset(struct snd_sof_dev *sdev, u32 id)
{}
EXPORT_SYMBOL_NS();

MODULE_DESCRIPTION();