Searched refs:ext_int_ctrl (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/sound/soc/amd/acp/ |
D | acp-pdm.c | 149 u32 ext_int_ctrl; in acp_dmic_dai_startup() local 157 ext_int_ctrl = readl(ACP_EXTERNAL_INTR_CNTL(adata, 0)); in acp_dmic_dai_startup() 158 ext_int_ctrl |= PDM_DMA_INTR_MASK; in acp_dmic_dai_startup() 159 writel(ext_int_ctrl, ACP_EXTERNAL_INTR_CNTL(adata, 0)); in acp_dmic_dai_startup() 169 u32 ext_int_ctrl; in acp_dmic_dai_shutdown() local 172 ext_int_ctrl = readl(ACP_EXTERNAL_INTR_CNTL(adata, 0)); in acp_dmic_dai_shutdown() 173 ext_int_ctrl &= ~PDM_DMA_INTR_MASK; in acp_dmic_dai_shutdown() 174 writel(ext_int_ctrl, ACP_EXTERNAL_INTR_CNTL(adata, 0)); in acp_dmic_dai_shutdown()
|
D | acp-legacy-common.c | 86 u32 ext_int_ctrl; in restore_acp_pdm_params() local 95 ext_int_ctrl = readl(ACP_EXTERNAL_INTR_CNTL(adata, 0)); in restore_acp_pdm_params() 96 ext_int_ctrl |= PDM_DMA_INTR_MASK; in restore_acp_pdm_params() 97 writel(ext_int_ctrl, ACP_EXTERNAL_INTR_CNTL(adata, 0)); in restore_acp_pdm_params() 110 u32 phy_addr, acp_fifo_addr, ext_int_ctrl; in set_acp_i2s_dma_fifo() local 180 ext_int_ctrl = readl(ACP_EXTERNAL_INTR_CNTL(adata, rsrc->irqp_used)); in set_acp_i2s_dma_fifo() 181 ext_int_ctrl |= BIT(I2S_RX_THRESHOLD(rsrc->offset)) | in set_acp_i2s_dma_fifo() 188 writel(ext_int_ctrl, ACP_EXTERNAL_INTR_CNTL(adata, rsrc->irqp_used)); in set_acp_i2s_dma_fifo()
|
D | acp-i2s.c | 524 u32 phy_addr = 0, acp_fifo_addr = 0, ext_int_ctrl; in acp_i2s_prepare() local 619 ext_int_ctrl = readl(ACP_EXTERNAL_INTR_CNTL(adata, rsrc->irqp_used)); in acp_i2s_prepare() 620 ext_int_ctrl |= BIT(I2S_RX_THRESHOLD(rsrc->offset)) | in acp_i2s_prepare() 627 writel(ext_int_ctrl, ACP_EXTERNAL_INTR_CNTL(adata, rsrc->irqp_used)); in acp_i2s_prepare()
|
/linux-6.12.1/sound/soc/amd/yc/ |
D | acp6x-pdm-dma.c | 70 u32 ext_int_ctrl; in acp6x_enable_pdm_interrupts() local 72 ext_int_ctrl = acp6x_readl(acp_base + ACP_EXTERNAL_INTR_CNTL); in acp6x_enable_pdm_interrupts() 73 ext_int_ctrl |= PDM_DMA_INTR_MASK; in acp6x_enable_pdm_interrupts() 74 acp6x_writel(ext_int_ctrl, acp_base + ACP_EXTERNAL_INTR_CNTL); in acp6x_enable_pdm_interrupts() 79 u32 ext_int_ctrl; in acp6x_disable_pdm_interrupts() local 81 ext_int_ctrl = acp6x_readl(acp_base + ACP_EXTERNAL_INTR_CNTL); in acp6x_disable_pdm_interrupts() 82 ext_int_ctrl &= ~PDM_DMA_INTR_MASK; in acp6x_disable_pdm_interrupts() 83 acp6x_writel(ext_int_ctrl, acp_base + ACP_EXTERNAL_INTR_CNTL); in acp6x_disable_pdm_interrupts()
|
/linux-6.12.1/sound/soc/amd/ps/ |
D | ps-pdm-dma.c | 70 u32 ext_int_ctrl; in acp63_enable_pdm_interrupts() local 73 ext_int_ctrl = readl(adata->acp63_base + ACP_EXTERNAL_INTR_CNTL); in acp63_enable_pdm_interrupts() 74 ext_int_ctrl |= PDM_DMA_INTR_MASK; in acp63_enable_pdm_interrupts() 75 writel(ext_int_ctrl, adata->acp63_base + ACP_EXTERNAL_INTR_CNTL); in acp63_enable_pdm_interrupts() 81 u32 ext_int_ctrl; in acp63_disable_pdm_interrupts() local 84 ext_int_ctrl = readl(adata->acp63_base + ACP_EXTERNAL_INTR_CNTL); in acp63_disable_pdm_interrupts() 85 ext_int_ctrl &= ~PDM_DMA_INTR_MASK; in acp63_disable_pdm_interrupts() 86 writel(ext_int_ctrl, adata->acp63_base + ACP_EXTERNAL_INTR_CNTL); in acp63_disable_pdm_interrupts()
|
/linux-6.12.1/sound/soc/amd/renoir/ |
D | acp3x-pdm-dma.c | 95 u32 ext_int_ctrl; in enable_pdm_interrupts() local 97 ext_int_ctrl = rn_readl(acp_base + ACP_EXTERNAL_INTR_CNTL); in enable_pdm_interrupts() 98 ext_int_ctrl |= PDM_DMA_INTR_MASK; in enable_pdm_interrupts() 99 rn_writel(ext_int_ctrl, acp_base + ACP_EXTERNAL_INTR_CNTL); in enable_pdm_interrupts() 104 u32 ext_int_ctrl; in disable_pdm_interrupts() local 106 ext_int_ctrl = rn_readl(acp_base + ACP_EXTERNAL_INTR_CNTL); in disable_pdm_interrupts() 107 ext_int_ctrl |= ~PDM_DMA_INTR_MASK; in disable_pdm_interrupts() 108 rn_writel(ext_int_ctrl, acp_base + ACP_EXTERNAL_INTR_CNTL); in disable_pdm_interrupts()
|