Home
last modified time | relevance | path

Searched refs:acp3x_base (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/sound/soc/amd/raven/
Dpci-acp3x.c18 void __iomem *acp3x_base; member
27 void __iomem *acp3x_base = adata->acp3x_base; in acp3x_power_on() local
31 val = rv_readl(acp3x_base + mmACP_PGFSM_STATUS); in acp3x_power_on()
39 acp3x_base + mmACP_PGFSM_CONTROL); in acp3x_power_on()
42 val = rv_readl(acp3x_base + mmACP_PGFSM_STATUS); in acp3x_power_on()
47 rv_writel(adata->pme_en, acp3x_base + mmACP_PME_EN); in acp3x_power_on()
55 static int acp3x_reset(void __iomem *acp3x_base) in acp3x_reset() argument
60 rv_writel(1, acp3x_base + mmACP_SOFT_RESET); in acp3x_reset()
63 val = rv_readl(acp3x_base + mmACP_SOFT_RESET); in acp3x_reset()
68 rv_writel(0, acp3x_base + mmACP_SOFT_RESET); in acp3x_reset()
[all …]
Dacp3x-i2s.c137 val = rv_readl(rtd->acp3x_base + reg_val); in acp3x_i2s_hwparams()
138 rv_writel(val | 0x2, rtd->acp3x_base + reg_val); in acp3x_i2s_hwparams()
139 rv_writel(adata->tdm_fmt, rtd->acp3x_base + frmt_reg); in acp3x_i2s_hwparams()
141 val = rv_readl(rtd->acp3x_base + reg_val); in acp3x_i2s_hwparams()
144 rv_writel(val, rtd->acp3x_base + reg_val); in acp3x_i2s_hwparams()
201 rv_writel(period_bytes, rtd->acp3x_base + water_val); in acp3x_i2s_trigger()
202 rv_writel(buf_size, rtd->acp3x_base + buf_reg); in acp3x_i2s_trigger()
203 val = rv_readl(rtd->acp3x_base + reg_val); in acp3x_i2s_trigger()
205 rv_writel(val, rtd->acp3x_base + reg_val); in acp3x_i2s_trigger()
206 rv_writel(1, rtd->acp3x_base + ier_val); in acp3x_i2s_trigger()
[all …]
Dacp3x-pcm-dma.c72 val = rv_readl(rv_i2s_data->acp3x_base + mmACP_EXTERNAL_INTR_STAT); in i2s_irq_handler()
74 rv_writel(BIT(BT_TX_THRESHOLD), rv_i2s_data->acp3x_base + in i2s_irq_handler()
82 rv_i2s_data->acp3x_base + mmACP_EXTERNAL_INTR_STAT); in i2s_irq_handler()
88 rv_writel(BIT(BT_RX_THRESHOLD), rv_i2s_data->acp3x_base + in i2s_irq_handler()
96 rv_i2s_data->acp3x_base + mmACP_EXTERNAL_INTR_STAT); in i2s_irq_handler()
136 rv_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp3x_base + in config_acp3x_dma()
138 rv_writel(PAGE_SIZE_4K_ENABLE, rtd->acp3x_base + in config_acp3x_dma()
146 rv_writel(low, rtd->acp3x_base + mmACP_SCRATCH_REG_0 + val); in config_acp3x_dma()
148 rv_writel(high, rtd->acp3x_base + mmACP_SCRATCH_REG_0 + val in config_acp3x_dma()
164 rtd->acp3x_base + mmACP_BT_TX_RINGBUFADDR); in config_acp3x_dma()
[all …]
Dacp3x.h94 void __iomem *acp3x_base; member
111 void __iomem *acp3x_base; member
132 byte_count = rv_readl(rtd->acp3x_base + in acp_get_byte_count()
134 byte_count |= rv_readl(rtd->acp3x_base + in acp_get_byte_count()
139 byte_count = rv_readl(rtd->acp3x_base + in acp_get_byte_count()
141 byte_count |= rv_readl(rtd->acp3x_base + in acp_get_byte_count()
148 byte_count = rv_readl(rtd->acp3x_base + in acp_get_byte_count()
150 byte_count |= rv_readl(rtd->acp3x_base + in acp_get_byte_count()
155 byte_count = rv_readl(rtd->acp3x_base + in acp_get_byte_count()
157 byte_count |= rv_readl(rtd->acp3x_base + in acp_get_byte_count()