Home
last modified time | relevance | path

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

/sound/soc/sh/rcar/
Dgen.c137 phys_addr_t rsnd_gen_get_phy_addr(struct rsnd_priv *priv, int reg_id) in rsnd_gen_get_phy_addr() argument
141 return gen->res[reg_id]; in rsnd_gen_get_phy_addr()
145 void __iomem *rsnd_gen_get_base_addr(struct rsnd_priv *priv, int reg_id) in rsnd_gen_get_base_addr() argument
149 return gen->base[reg_id]; in rsnd_gen_get_base_addr()
153 #define rsnd_gen_regmap_init(priv, id_size, reg_id, name, conf) \ argument
154 _rsnd_gen_regmap_init(priv, id_size, reg_id, name, conf, ARRAY_SIZE(conf))
157 int reg_id, in _rsnd_gen_regmap_init() argument
181 res = platform_get_resource(pdev, IORESOURCE_MEM, reg_id); in _rsnd_gen_regmap_init()
194 gen->base[reg_id] = base; in _rsnd_gen_regmap_init()
195 gen->regmap[reg_id] = regmap; in _rsnd_gen_regmap_init()
[all …]
Ddebugfs.c57 int reg_id, int offset, int size) in rsnd_debugfs_mod_reg_show() argument
62 rsnd_gen_get_phy_addr(priv, reg_id), in rsnd_debugfs_mod_reg_show()
63 rsnd_gen_get_base_addr(priv, reg_id), in rsnd_debugfs_mod_reg_show()
Drsnd.h595 phys_addr_t rsnd_gen_get_phy_addr(struct rsnd_priv *priv, int reg_id);
597 void __iomem *rsnd_gen_get_base_addr(struct rsnd_priv *priv, int reg_id);
909 int reg_id, int offset, int size);
/sound/soc/codecs/
Dcs35l36.c1712 u32 reg_id, reg_revid, l37_id_reg; in cs35l36_i2c_probe() local
1783 ret = regmap_read(cs35l36->regmap, CS35L36_SW_RESET, &reg_id); in cs35l36_i2c_probe()
1789 if (reg_id != CS35L36_CHIP_ID) { in cs35l36_i2c_probe()
1790 dev_err(dev, "Device ID (%X). Expected ID %X\n", reg_id, in cs35l36_i2c_probe()