Home
last modified time | relevance | path

Searched refs:base_addr (Results 1 – 15 of 15) sorted by relevance

/sound/soc/amd/renoir/
Drn_acp3x.h82 static inline u32 rn_readl(void __iomem *base_addr) in rn_readl() argument
84 return readl(base_addr - ACP_PHY_BASE_ADDRESS); in rn_readl()
87 static inline void rn_writel(u32 val, void __iomem *base_addr) in rn_writel() argument
89 writel(val, base_addr - ACP_PHY_BASE_ADDRESS); in rn_writel()
/sound/soc/amd/raven/
Dacp3x.h114 static inline u32 rv_readl(void __iomem *base_addr) in rv_readl() argument
116 return readl(base_addr - ACP3x_PHY_BASE_ADDRESS); in rv_readl()
119 static inline void rv_writel(u32 val, void __iomem *base_addr) in rv_writel() argument
121 writel(val, base_addr - ACP3x_PHY_BASE_ADDRESS); in rv_writel()
/sound/soc/amd/vangogh/
Dacp5x.h138 static inline u32 acp_readl(void __iomem *base_addr) in acp_readl() argument
140 return readl(base_addr - ACP5x_PHY_BASE_ADDRESS); in acp_readl()
143 static inline void acp_writel(u32 val, void __iomem *base_addr) in acp_writel() argument
145 writel(val, base_addr - ACP5x_PHY_BASE_ADDRESS); in acp_writel()
/sound/pci/aw2/
Daw2-saa7146.c28 #define WRITEREG(value, addr) writel((value), chip->base_addr + (addr))
29 #define READREG(addr) readl(chip->base_addr + (addr))
48 chip->base_addr = NULL; in snd_aw2_saa7146_free()
81 chip->base_addr = pci_base_addr; in snd_aw2_saa7146_setup()
Daw2-saa7146.h32 void __iomem *base_addr; member
/sound/soc/intel/atom/sst/
Dsst_pvt.c388 u32 relocate_imr_addr_mrfld(u32 base_addr) in relocate_imr_addr_mrfld() argument
392 base_addr = MRFLD_FW_VIRTUAL_BASE + (base_addr % (512 * 1024 * 1024)); in relocate_imr_addr_mrfld()
393 return base_addr; in relocate_imr_addr_mrfld()
Dsst.h506 u32 relocate_imr_addr_mrfld(u32 base_addr);
/sound/firewire/bebob/
Dbebob_proc.c22 u32 base_addr; member
61 snd_iprintf(buffer, "Base Addr:\t0x%X\n", info->base_addr); in proc_read_hw_info()
/sound/soc/mediatek/mt6797/
Dmt6797-afe-pcm.c775 afe->base_addr = devm_platform_ioremap_resource(pdev, 0); in mt6797_afe_pcm_dev_probe()
776 if (IS_ERR(afe->base_addr)) in mt6797_afe_pcm_dev_probe()
777 return PTR_ERR(afe->base_addr); in mt6797_afe_pcm_dev_probe()
779 afe->regmap = devm_regmap_init_mmio(&pdev->dev, afe->base_addr, in mt6797_afe_pcm_dev_probe()
/sound/soc/mediatek/common/
Dmtk-base-afe.h83 void __iomem *base_addr; member
/sound/soc/mediatek/mt8173/
Dmt8173-afe-pcm.c1079 afe->base_addr = devm_platform_ioremap_resource(pdev, 0); in mt8173_afe_pcm_dev_probe()
1080 if (IS_ERR(afe->base_addr)) in mt8173_afe_pcm_dev_probe()
1081 return PTR_ERR(afe->base_addr); in mt8173_afe_pcm_dev_probe()
1083 afe->regmap = devm_regmap_init_mmio(&pdev->dev, afe->base_addr, in mt8173_afe_pcm_dev_probe()
/sound/soc/qcom/
Dlpass-platform.c600 unsigned int base_addr, curr_addr; in lpass_platform_pcmops_pointer() local
613 LPAIF_DMABASE_REG(v, ch, dir, dai_id), &base_addr); in lpass_platform_pcmops_pointer()
628 return bytes_to_frames(substream->runtime, curr_addr - base_addr); in lpass_platform_pcmops_pointer()
/sound/soc/mediatek/mt8195/
Dmt8195-audsys-clk.c192 gate->flags, afe->base_addr + gate->reg, in mt8195_audsys_clk_register()
Dmt8195-afe-pcm.c3082 afe->base_addr = devm_ioremap_resource(&pdev->dev, res); in mt8195_afe_pcm_dev_probe()
3083 if (IS_ERR(afe->base_addr)) in mt8195_afe_pcm_dev_probe()
3084 return PTR_ERR(afe->base_addr); in mt8195_afe_pcm_dev_probe()
3177 afe->regmap = devm_regmap_init_mmio(&pdev->dev, afe->base_addr, in mt8195_afe_pcm_dev_probe()
/sound/soc/codecs/
Dwm_adsp.c500 unsigned int base_addr; member
3767 &region->base_addr); in wm_adsp_buffer_populate()
3780 i, region->mem_type, region->base_addr, in wm_adsp_buffer_populate()
4255 adsp_addr = buf->regions[i].base_addr + in wm_adsp_buffer_capture_block()