Lines Matching +full:inter +full:- +full:processor
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright(c) 2021-2022 Intel Corporation
12 #include <linux/io-64-nonatomic-lo-hi.h>
45 /* SKL Intel HD Audio Inter-Processor Communication Registers */
57 /* CNL Intel HD Audio Inter-Processor Communication Registers */
72 /* MTL Intel HOST Inter-Processor Communication Registers */
115 #define AVS_FW_REG_BASE(adev) ((adev)->spec->hipc->sts_offset)
122 /* DSP -> HOST communication window */
124 /* HOST -> DSP communication window */
130 ((adev)->spec->sram->base_offset + \
131 (adev)->spec->sram->window_size * (window_idx))
134 ((adev)->dsp_ba + avs_sram_offset(adev, window_idx))
142 snd_hdac_reg_writeb(&(adev)->base.core, (adev)->dsp_ba + (reg), value)
144 snd_hdac_reg_readb(&(adev)->base.core, (adev)->dsp_ba + (reg))
146 snd_hdac_reg_writew(&(adev)->base.core, (adev)->dsp_ba + (reg), value)
148 snd_hdac_reg_readw(&(adev)->base.core, (adev)->dsp_ba + (reg))
150 snd_hdac_reg_writel(&(adev)->base.core, (adev)->dsp_ba + (reg), value)
152 snd_hdac_reg_readl(&(adev)->base.core, (adev)->dsp_ba + (reg))
154 snd_hdac_reg_writeq(&(adev)->base.core, (adev)->dsp_ba + (reg), value)
156 snd_hdac_reg_readq(&(adev)->base.core, (adev)->dsp_ba + (reg))
172 readb_poll_timeout((adev)->dsp_ba + (reg), val, cond, \
175 readw_poll_timeout((adev)->dsp_ba + (reg), val, cond, \
178 readl_poll_timeout((adev)->dsp_ba + (reg), val, cond, \
181 readq_poll_timeout((adev)->dsp_ba + (reg), val, cond, \