Searched refs:acp_mmio (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/sound/soc/amd/ |
D | acp-pcm-dma.c | 118 static u32 acp_reg_read(void __iomem *acp_mmio, u32 reg) in acp_reg_read() argument 120 return readl(acp_mmio + (reg * 4)); in acp_reg_read() 123 static void acp_reg_write(u32 val, void __iomem *acp_mmio, u32 reg) in acp_reg_write() argument 125 writel(val, acp_mmio + (reg * 4)); in acp_reg_write() 132 static void config_acp_dma_channel(void __iomem *acp_mmio, u8 ch_num, in config_acp_dma_channel() argument 139 dma_ctrl = acp_reg_read(acp_mmio, mmACP_DMA_CNTL_0 + ch_num); in config_acp_dma_channel() 141 acp_reg_write(dma_ctrl, acp_mmio, mmACP_DMA_CNTL_0 + ch_num); in config_acp_dma_channel() 146 acp_mmio, mmACP_DMA_DSCR_STRT_IDX_0 + ch_num); in config_acp_dma_channel() 153 acp_mmio, mmACP_DMA_DSCR_CNT_0 + ch_num); in config_acp_dma_channel() 156 acp_reg_write(priority_level, acp_mmio, mmACP_DMA_PRIO_0 + ch_num); in config_acp_dma_channel() [all …]
|
D | acp.h | 156 void __iomem *acp_mmio; member 165 void __iomem *acp_mmio; member
|
/Linux-v6.6/drivers/soundwire/ |
D | amd_manager.c | 34 val = readl(amd_manager->acp_mmio + ACP_SW_PAD_KEEPER_EN); in amd_enable_sdw_pads() 36 writel(val, amd_manager->acp_mmio + ACP_SW_PAD_KEEPER_EN); in amd_enable_sdw_pads() 39 sw_pad_pulldown_val = readl(amd_manager->acp_mmio + ACP_PAD_PULLDOWN_CTRL); in amd_enable_sdw_pads() 41 writel(sw_pad_pulldown_val, amd_manager->acp_mmio + ACP_PAD_PULLDOWN_CTRL); in amd_enable_sdw_pads() 109 val = readl(amd_manager->acp_mmio + ACP_EXTERNAL_INTR_CNTL(amd_manager->instance)); in amd_enable_sdw_interrupts() 111 writel(val, amd_manager->acp_mmio + ACP_EXTERNAL_INTR_CNTL(amd_manager->instance)); in amd_enable_sdw_interrupts() 127 val = readl(amd_manager->acp_mmio + ACP_EXTERNAL_INTR_CNTL(amd_manager->instance)); in amd_disable_sdw_interrupts() 129 writel(val, amd_manager->acp_mmio + ACP_EXTERNAL_INTR_CNTL(amd_manager->instance)); in amd_disable_sdw_interrupts() 837 writel(0x00, amd_manager->acp_mmio + ACP_SW_WAKE_EN(amd_manager->instance)); in amd_sdw_process_wake_event() 912 amd_manager->acp_mmio = devm_ioremap(dev, res->start, resource_size(res)); in amd_sdw_manager_probe() [all …]
|
/Linux-v6.6/include/linux/soundwire/ |
D | sdw_amd.h | 84 void __iomem *acp_mmio; member
|