Home
last modified time | relevance | path

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

/sound/soc/amd/renoir/
Dacp3x-pdm-dma.c50 val = rn_readl(rn_pdm_data->acp_base + ACP_EXTERNAL_INTR_STAT); in pdm_irq_handler()
52 rn_writel(BIT(PDM_DMA_STAT), rn_pdm_data->acp_base + in pdm_irq_handler()
67 void __iomem *acp_base) in init_pdm_ring_buffer() argument
69 rn_writel(physical_addr, acp_base + ACP_WOV_RX_RINGBUFADDR); in init_pdm_ring_buffer()
70 rn_writel(buffer_size, acp_base + ACP_WOV_RX_RINGBUFSIZE); in init_pdm_ring_buffer()
71 rn_writel(watermark_size, acp_base + ACP_WOV_RX_INTR_WATERMARK_SIZE); in init_pdm_ring_buffer()
72 rn_writel(0x01, acp_base + ACPAXI2AXI_ATU_CTRL); in init_pdm_ring_buffer()
75 static void enable_pdm_clock(void __iomem *acp_base) in enable_pdm_clock() argument
81 rn_writel(pdm_clk_enable, acp_base + ACP_WOV_CLK_CTRL); in enable_pdm_clock()
82 pdm_ctrl = rn_readl(acp_base + ACP_WOV_MISC_CTRL); in enable_pdm_clock()
[all …]
Drn-pci-acp3x.c33 void __iomem *acp_base; member
38 static int rn_acp_power_on(void __iomem *acp_base) in rn_acp_power_on() argument
43 val = rn_readl(acp_base + ACP_PGFSM_STATUS); in rn_acp_power_on()
51 acp_base + ACP_PGFSM_CONTROL); in rn_acp_power_on()
54 val = rn_readl(acp_base + ACP_PGFSM_STATUS); in rn_acp_power_on()
62 static int rn_acp_power_off(void __iomem *acp_base) in rn_acp_power_off() argument
68 acp_base + ACP_PGFSM_CONTROL); in rn_acp_power_off()
71 val = rn_readl(acp_base + ACP_PGFSM_STATUS); in rn_acp_power_off()
79 static int rn_acp_reset(void __iomem *acp_base) in rn_acp_reset() argument
84 rn_writel(1, acp_base + ACP_SOFT_RESET); in rn_acp_reset()
[all …]
Drn_acp3x.h62 void __iomem *acp_base; member
71 void __iomem *acp_base; member
/sound/soc/amd/raven/
Dpci-acp3x.c79 static void acp3x_enable_interrupts(void __iomem *acp_base) in acp3x_enable_interrupts() argument
81 rv_writel(0x01, acp_base + mmACP_EXTERNAL_INTR_ENB); in acp3x_enable_interrupts()
84 static void acp3x_disable_interrupts(void __iomem *acp_base) in acp3x_disable_interrupts() argument
86 rv_writel(ACP_EXT_INTR_STAT_CLEAR_MASK, acp_base + in acp3x_disable_interrupts()
88 rv_writel(0x00, acp_base + mmACP_EXTERNAL_INTR_CNTL); in acp3x_disable_interrupts()
89 rv_writel(0x00, acp_base + mmACP_EXTERNAL_INTR_ENB); in acp3x_disable_interrupts()