audio: copier: move copier generic header file to copier folder

This header file is referred by external modules, add relative
path for external module usage.

Signed-off-by: Baofeng Tian <baofeng.tian@intel.com>
This commit is contained in:
Baofeng Tian 2023-10-24 15:57:32 +08:00 committed by Kai Vehmanen
parent dbd89a62f7
commit d2fccbdf33
16 changed files with 20 additions and 15 deletions

View File

@ -26,7 +26,6 @@
#include <sof/trace/trace.h>
#include <ipc4/alh.h>
#include <ipc4/base-config.h>
#include <ipc4/copier.h>
#include <ipc4/module.h>
#include <ipc4/error_status.h>
#include <ipc4/gateway.h>
@ -37,6 +36,7 @@
#include <stddef.h>
#include <stdint.h>
#include <sof/audio/module_adapter/module/generic.h>
#include "copier.h"
#include "host_copier.h"
#include "dai_copier.h"
#include "ipcgtw_copier.h"

View File

@ -6,9 +6,9 @@
#include <sof/trace/trace.h>
#include <sof/audio/component_ext.h>
#include <ipc4/copier.h>
#include <ipc/dai.h>
#include <sof/audio/module_adapter/module/generic.h>
#include "copier.h"
#include "dai_copier.h"
LOG_MODULE_DECLARE(copier, CONFIG_SOF_LOG_LEVEL);

View File

@ -5,8 +5,8 @@
// Author: Andrula Song <xiaoyuan.song@intel.com>
#include <ipc4/base-config.h>
#include <ipc4/copier.h>
#include <sof/audio/component_ext.h>
#include "copier.h"
LOG_MODULE_DECLARE(copier, CONFIG_SOF_LOG_LEVEL);

View File

@ -3,7 +3,7 @@
// Copyright(c) 2022 Intel Corporation. All rights reserved.
//
// Author: Andrula Song <xiaoyuan.song@intel.com>
#include <ipc4/copier.h>
#include "copier.h"
#if __XCC__ && (XCHAL_HAVE_HIFI3 || XCHAL_HAVE_HIFI4)

View File

@ -7,8 +7,8 @@
#include <sof/audio/component_ext.h>
#include <sof/tlv.h>
#include <sof/trace/trace.h>
#include <ipc4/copier.h>
#include <sof/audio/module_adapter/module/generic.h>
#include "copier.h"
#include "host_copier.h"
LOG_MODULE_DECLARE(copier, CONFIG_SOF_LOG_LEVEL);

View File

@ -8,7 +8,7 @@
#include <sof/lib/memory.h>
#include <sof/ut.h>
#include <rtos/init.h>
#include <ipc4/copier.h>
#include "copier.h"
#include "ipcgtw_copier.h"
LOG_MODULE_REGISTER(ipcgtw, CONFIG_SOF_LOG_LEVEL);

View File

@ -20,7 +20,7 @@
#include <sof/audio/ipc-config.h>
#include <ipc/stream.h>
#include <sof/lib/notifier.h>
#include <ipc4/copier.h>
#include "copier.h"
typedef void (*copy_callback_t)(struct comp_dev *dev, size_t bytes);

View File

@ -18,7 +18,7 @@
#include <ipc4/gateway.h>
#include <sof/list.h>
#include <ipc/stream.h>
#include <ipc4/copier.h>
#include "copier.h"
/* Host communicates with IPC gateways via global IPC messages. To address a particular
* IPC gateway, its node_id is sent in message payload. Hence we need to keep a list of existing

View File

@ -30,11 +30,12 @@
#include <ipc/dai.h>
#include <ipc/stream.h>
#include <ipc/topology.h>
#include <ipc4/copier.h>
#include <user/trace.h>
#include <errno.h>
#include <stddef.h>
#include <stdint.h>
#include "copier/copier.h"
#include "copier/dai_copier.h"
#include <zephyr/device.h>

View File

@ -10,7 +10,6 @@
#include <sof/audio/pcm_converter.h>
#include <sof/audio/pipeline.h>
#include <sof/audio/ipc-config.h>
#include <ipc4/copier.h>
#include <sof/common.h>
#include <rtos/panic.h>
#include <sof/ipc/msg.h>
@ -32,6 +31,8 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "copier/copier.h"
#include "copier/host_copier.h"
static const struct comp_driver comp_host;

View File

@ -15,7 +15,6 @@
#include <rtos/string.h>
#include <ipc/stream.h>
#include <ipc/topology.h>
#include <ipc4/copier.h>
#include <ipc4/module.h>
#include <rtos/kernel.h>
@ -25,6 +24,8 @@
#include <stdint.h>
#include <sof/audio/module_adapter/module/generic.h>
#include "../audio/copier/copier.h"
LOG_MODULE_DECLARE(pipe, CONFIG_SOF_LOG_LEVEL);
/*

View File

@ -20,13 +20,14 @@
#include <ipc/header.h>
#include <ipc4/alh.h>
#include <ipc4/ssp.h>
#include <ipc4/copier.h>
#include <ipc4/fw_reg.h>
#include <ipc/dai.h>
#include <errno.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "../audio/copier/copier.h"
#include "../audio/copier/dai_copier.h"
LOG_MODULE_DECLARE(ipc, CONFIG_SOF_LOG_LEVEL);

View File

@ -35,7 +35,6 @@
#include <rimage/cavs/cavs_ext_manifest.h>
#include <rimage/sof/user/manifest.h>
#include <ipc4/base-config.h>
#include <ipc4/copier.h>
#include <ipc/header.h>
#include <ipc4/notification.h>
#include <ipc4/pipeline.h>

View File

@ -15,7 +15,6 @@
#include <string.h>
#include <ipc/topology.h>
#include <ipc/stream.h>
#include <ipc4/copier.h>
#include <ipc4/gateway.h>
#include <sof/common.h>
#include <sof/lib/uuid.h>
@ -23,6 +22,8 @@
#include <tplg_parser/topology.h>
#include <tplg_parser/tokens.h>
#include "copier/copier.h"
/* Buffers */
static const struct sof_topology_token buffer_tokens[] = {
{SOF_TKN_BUF_SIZE, SND_SOC_TPLG_TUPLE_TYPE_WORD, tplg_token_get_uint32_t,

View File

@ -16,12 +16,13 @@
#include <ipc/dai.h>
#include <ipc/topology.h>
#include <ipc/stream.h>
#include <ipc4/copier.h>
#include <ipc4/module.h>
#include <kernel/tokens.h>
#include <sof/list.h>
#include <volume/peak_volume.h>
#include "copier/copier.h"
#ifdef TPLG_DEBUG
#define DEBUG_MAX_LENGTH 256
static inline void tplg_debug(char *fmt, ...)