Searched refs:acp5x_base (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/sound/soc/amd/vangogh/ |
D | pci-acp5x.c | 18 void __iomem *acp5x_base; member 24 static int acp5x_power_on(void __iomem *acp5x_base) in acp5x_power_on() argument 29 val = acp_readl(acp5x_base + ACP_PGFSM_STATUS); in acp5x_power_on() 37 acp5x_base + ACP_PGFSM_CONTROL); in acp5x_power_on() 40 val = acp_readl(acp5x_base + ACP_PGFSM_STATUS); in acp5x_power_on() 48 static int acp5x_reset(void __iomem *acp5x_base) in acp5x_reset() argument 53 acp_writel(1, acp5x_base + ACP_SOFT_RESET); in acp5x_reset() 56 val = acp_readl(acp5x_base + ACP_SOFT_RESET); in acp5x_reset() 61 acp_writel(0, acp5x_base + ACP_SOFT_RESET); in acp5x_reset() 64 val = acp_readl(acp5x_base + ACP_SOFT_RESET); in acp5x_reset() [all …]
|
D | acp5x-pcm-dma.c | 70 val = acp_readl(vg_i2s_data->acp5x_base + ACP_EXTERNAL_INTR_STAT); in i2s_irq_handler() 72 acp_writel(BIT(HS_TX_THRESHOLD), vg_i2s_data->acp5x_base + in i2s_irq_handler() 79 vg_i2s_data->acp5x_base + ACP_EXTERNAL_INTR_STAT); in i2s_irq_handler() 85 acp_writel(BIT(HS_RX_THRESHOLD), vg_i2s_data->acp5x_base + in i2s_irq_handler() 92 vg_i2s_data->acp5x_base + ACP_EXTERNAL_INTR_STAT); in i2s_irq_handler() 131 acp_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp5x_base + in config_acp5x_dma() 133 acp_writel(PAGE_SIZE_4K_ENABLE, rtd->acp5x_base + in config_acp5x_dma() 141 acp_writel(low, rtd->acp5x_base + ACP_SCRATCH_REG_0 + val); in config_acp5x_dma() 143 acp_writel(high, rtd->acp5x_base + ACP_SCRATCH_REG_0 + val + 4); in config_acp5x_dma() 158 rtd->acp5x_base + ACP_HS_TX_RINGBUFADDR); in config_acp5x_dma() [all …]
|
D | acp5x-i2s.c | 152 val = acp_readl(rtd->acp5x_base + reg_val); in acp5x_i2s_hwparams() 153 acp_writel(val | 0x2, rtd->acp5x_base + reg_val); in acp5x_i2s_hwparams() 154 acp_writel(adata->tdm_fmt, rtd->acp5x_base + frmt_reg); in acp5x_i2s_hwparams() 156 val = acp_readl(rtd->acp5x_base + reg_val); in acp5x_i2s_hwparams() 159 acp_writel(val, rtd->acp5x_base + reg_val); in acp5x_i2s_hwparams() 287 acp_writel(period_bytes, rtd->acp5x_base + water_val); in acp5x_i2s_trigger() 288 acp_writel(buf_size, rtd->acp5x_base + buf_reg); in acp5x_i2s_trigger() 291 val = acp_readl(rtd->acp5x_base + reg_val); in acp5x_i2s_trigger() 293 acp_writel(val, rtd->acp5x_base + reg_val); in acp5x_i2s_trigger() 294 acp_writel(1, rtd->acp5x_base + ier_val); in acp5x_i2s_trigger() [all …]
|
D | acp5x.h | 91 void __iomem *acp5x_base; member 107 void __iomem *acp5x_base; member 159 acp_readl(rtd->acp5x_base + in acp_get_byte_count() 162 acp_readl(rtd->acp5x_base + in acp_get_byte_count() 168 acp_readl(rtd->acp5x_base + in acp_get_byte_count() 171 acp_readl(rtd->acp5x_base + in acp_get_byte_count() 178 acp_readl(rtd->acp5x_base + in acp_get_byte_count() 181 acp_readl(rtd->acp5x_base + in acp_get_byte_count() 187 acp_readl(rtd->acp5x_base + in acp_get_byte_count() 190 acp_readl(rtd->acp5x_base + in acp_get_byte_count() [all …]
|