Home
last modified time | relevance | path

Searched refs:pdm_dma_enable (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/sound/soc/amd/yc/
H A Dacp6x-pdm-dma.c89 u32 pdm_enable, pdm_dma_enable; in acp6x_check_pdm_dma_status() local
93 pdm_dma_enable = acp6x_readl(acp_base + ACP_WOV_PDM_DMA_ENABLE); in acp6x_check_pdm_dma_status()
94 if ((pdm_enable & ACP_PDM_ENABLE) && (pdm_dma_enable & ACP_PDM_DMA_EN_STATUS)) in acp6x_check_pdm_dma_status()
103 u32 pdm_dma_enable; in acp6x_start_pdm_dma() local
107 pdm_dma_enable = 0x01; in acp6x_start_pdm_dma()
111 acp6x_writel(pdm_dma_enable, acp_base + ACP_WOV_PDM_DMA_ENABLE); in acp6x_start_pdm_dma()
114 pdm_dma_enable = acp6x_readl(acp_base + ACP_WOV_PDM_DMA_ENABLE); in acp6x_start_pdm_dma()
115 if ((pdm_dma_enable & 0x02) == ACP_PDM_DMA_EN_STATUS) in acp6x_start_pdm_dma()
124 u32 pdm_enable, pdm_dma_enable; in acp6x_stop_pdm_dma() local
128 pdm_dma_enable = 0x00; in acp6x_stop_pdm_dma()
[all …]
/openbmc/linux/sound/soc/amd/ps/
H A Dps-pdm-dma.c93 u32 pdm_enable, pdm_dma_enable; in acp63_check_pdm_dma_status() local
97 pdm_dma_enable = readl(acp_base + ACP_WOV_PDM_DMA_ENABLE); in acp63_check_pdm_dma_status()
98 if ((pdm_enable & ACP_PDM_ENABLE) && (pdm_dma_enable & ACP_PDM_DMA_EN_STATUS)) in acp63_check_pdm_dma_status()
107 u32 pdm_dma_enable; in acp63_start_pdm_dma() local
111 pdm_dma_enable = 0x01; in acp63_start_pdm_dma()
115 writel(pdm_dma_enable, acp_base + ACP_WOV_PDM_DMA_ENABLE); in acp63_start_pdm_dma()
118 pdm_dma_enable = readl(acp_base + ACP_WOV_PDM_DMA_ENABLE); in acp63_start_pdm_dma()
119 if ((pdm_dma_enable & 0x02) == ACP_PDM_DMA_EN_STATUS) in acp63_start_pdm_dma()
128 u32 pdm_enable, pdm_dma_enable; in acp63_stop_pdm_dma() local
132 pdm_dma_enable = 0x00; in acp63_stop_pdm_dma()
[all …]
/openbmc/linux/sound/soc/amd/renoir/
H A Dacp3x-pdm-dma.c114 u32 pdm_enable, pdm_dma_enable; in check_pdm_dma_status() local
118 pdm_dma_enable = rn_readl(acp_base + ACP_WOV_PDM_DMA_ENABLE); in check_pdm_dma_status()
119 if ((pdm_enable & ACP_PDM_ENABLE) && (pdm_dma_enable & in check_pdm_dma_status()
128 u32 pdm_dma_enable; in start_pdm_dma() local
132 pdm_dma_enable = 0x01; in start_pdm_dma()
136 rn_writel(pdm_dma_enable, acp_base + ACP_WOV_PDM_DMA_ENABLE); in start_pdm_dma()
139 pdm_dma_enable = rn_readl(acp_base + ACP_WOV_PDM_DMA_ENABLE); in start_pdm_dma()
140 if ((pdm_dma_enable & 0x02) == ACP_PDM_DMA_EN_STATUS) in start_pdm_dma()
149 u32 pdm_enable, pdm_dma_enable; in stop_pdm_dma() local
153 pdm_dma_enable = rn_readl(acp_base + ACP_WOV_PDM_DMA_ENABLE); in stop_pdm_dma()
[all …]