Home
last modified time | relevance | path

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

/sound/soc/amd/rpl/
Drpl_acp6x.h28 static inline u32 rpl_acp_readl(void __iomem *base_addr) in rpl_acp_readl() argument
30 return readl(base_addr - ACP6x_PHY_BASE_ADDRESS); in rpl_acp_readl()
33 static inline void rpl_acp_writel(u32 val, void __iomem *base_addr) in rpl_acp_writel() argument
35 writel(val, base_addr - ACP6x_PHY_BASE_ADDRESS); in rpl_acp_writel()
/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/ps/
Dacp63.h90 static inline u32 acp63_readl(void __iomem *base_addr) in acp63_readl() argument
92 return readl(base_addr); in acp63_readl()
95 static inline void acp63_writel(u32 val, void __iomem *base_addr) in acp63_writel() argument
97 writel(val, base_addr); in acp63_writel()
/sound/soc/amd/yc/
Dacp6x.h99 static inline u32 acp6x_readl(void __iomem *base_addr) in acp6x_readl() argument
101 return readl(base_addr - ACP6x_PHY_BASE_ADDRESS); in acp6x_readl()
104 static inline void acp6x_writel(u32 val, void __iomem *base_addr) in acp6x_writel() argument
106 writel(val, base_addr - ACP6x_PHY_BASE_ADDRESS); in acp6x_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.h140 static inline u32 acp_readl(void __iomem *base_addr) in acp_readl() argument
142 return readl(base_addr - ACP5x_PHY_BASE_ADDRESS); in acp_readl()
145 static inline void acp_writel(u32 val, void __iomem *base_addr) in acp_writel() argument
147 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.c1077 afe->base_addr = devm_platform_ioremap_resource(pdev, 0); in mt8173_afe_pcm_dev_probe()
1078 if (IS_ERR(afe->base_addr)) in mt8173_afe_pcm_dev_probe()
1079 return PTR_ERR(afe->base_addr); in mt8173_afe_pcm_dev_probe()
1081 afe->regmap = devm_regmap_init_mmio(&pdev->dev, afe->base_addr, in mt8173_afe_pcm_dev_probe()
/sound/soc/mediatek/mt8186/
Dmt8186-audsys-clk.c128 gate->flags, afe->base_addr + gate->reg, in mt8186_audsys_clk_register()
Dmt8186-afe-pcm.c2839 afe->base_addr = devm_ioremap_resource(dev, res); in mt8186_afe_pcm_dev_probe()
2840 if (IS_ERR(afe->base_addr)) in mt8186_afe_pcm_dev_probe()
2841 return PTR_ERR(afe->base_addr); in mt8186_afe_pcm_dev_probe()
2926 afe->regmap = devm_regmap_init_mmio(dev, afe->base_addr, in mt8186_afe_pcm_dev_probe()
/sound/soc/mediatek/mt8195/
Dmt8195-audsys-clk.c192 gate->flags, afe->base_addr + gate->reg, in mt8195_audsys_clk_register()
Dmt8195-afe-pcm.c3086 afe->base_addr = devm_platform_ioremap_resource(pdev, 0); in mt8195_afe_pcm_dev_probe()
3087 if (IS_ERR(afe->base_addr)) in mt8195_afe_pcm_dev_probe()
3088 return PTR_ERR(afe->base_addr); in mt8195_afe_pcm_dev_probe()
3193 afe->regmap = devm_regmap_init_mmio(&pdev->dev, afe->base_addr, in mt8195_afe_pcm_dev_probe()
/sound/soc/qcom/
Dlpass-platform.c868 unsigned int base_addr, curr_addr; in lpass_platform_pcmops_pointer() local
877 LPAIF_DMABASE_REG(v, ch, dir, dai_id), &base_addr); in lpass_platform_pcmops_pointer()
892 return bytes_to_frames(substream->runtime, curr_addr - base_addr); in lpass_platform_pcmops_pointer()
/sound/soc/codecs/
Dwm_adsp.c206 unsigned int base_addr; member
1397 &region->base_addr); in wm_adsp_buffer_populate()
1410 i, region->mem_type, region->base_addr, in wm_adsp_buffer_populate()
1891 adsp_addr = buf->regions[i].base_addr + in wm_adsp_buffer_capture_block()