linux/sound/soc/intel/avs/icl.c

// SPDX-License-Identifier: GPL-2.0-only
//
// Copyright(c) 2021-2024 Intel Corporation
//
// Authors: Cezary Rojewski <[email protected]>
//          Amadeusz Slawinski <[email protected]>
//

#include <linux/slab.h>
#include <sound/hdaudio.h>
#include <sound/hdaudio_ext.h>
#include "avs.h"
#include "messages.h"

#define ICL_VS_LTRP_GB_ICCMAX

#ifdef CONFIG_DEBUG_FS
int avs_icl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period,
			u32 fifo_full_period, unsigned long resource_mask, u32 *priorities)
{}
#endif

avs_icl_memwnd2_slot_type __packed;
static_assert();

struct avs_icl_memwnd2_desc {} __packed;
static_assert();

#define AVS_ICL_MEMWND2_SLOTS_COUNT

struct avs_icl_memwnd2 {} __packed;
static_assert();

#define AVS_ICL_SLOT_UNUSED
#define AVS_ICL_SLOT_CRITICAL_LOG
#define AVS_ICL_SLOT_DEBUG_LOG
#define AVS_ICL_SLOT_GDB_STUB
#define AVS_ICL_SLOT_BROKEN

static int avs_icl_slot_offset(struct avs_dev *adev, union avs_icl_memwnd2_slot_type slot_type)
{}

int avs_icl_log_buffer_offset(struct avs_dev *adev, u32 core)
{}

bool avs_icl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake)
{}

int avs_icl_set_d0ix(struct avs_dev *adev, bool enable)
{}

int avs_icl_load_basefw(struct avs_dev *adev, struct firmware *fw)
{}

const struct avs_dsp_ops avs_icl_dsp_ops =;