Lines Matching refs:reg_id
137 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()
196 gen->res[reg_id] = res->start; in _rsnd_gen_regmap_init()