linux/sound/soc/amd/rpl/rpl_acp6x.h

/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * AMD ACP Driver
 *
 * Copyright (C) 2021 Advanced Micro Devices, Inc. All rights reserved.
 */

#include "rpl_acp6x_chip_offset_byte.h"

#define ACP_DEVICE_ID
#define ACP6x_PHY_BASE_ADDRESS

#define ACP_SOFT_RESET_SOFTRESET_AUDDONE_MASK
#define ACP_PGFSM_CNTL_POWER_ON_MASK
#define ACP_PGFSM_CNTL_POWER_OFF_MASK
#define ACP_PGFSM_STATUS_MASK
#define ACP_POWERED_ON
#define ACP_POWER_ON_IN_PROGRESS
#define ACP_POWERED_OFF
#define ACP_POWER_OFF_IN_PROGRESS

#define DELAY_US
#define ACP_COUNTER

/* time in ms for runtime suspend delay */
#define ACP_SUSPEND_DELAY_MS

static inline u32 rpl_acp_readl(void __iomem *base_addr)
{}

static inline void rpl_acp_writel(u32 val, void __iomem *base_addr)
{}