Home
last modified time | relevance | path

Searched refs:mbq_regmap (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/sound/soc/codecs/
Drt715-sdca-sdw.c183 struct regmap *mbq_regmap, *regmap; in rt715_sdca_sdw_probe() local
186 mbq_regmap = devm_regmap_init_sdw_mbq(slave, &rt715_sdca_mbq_regmap); in rt715_sdca_sdw_probe()
187 if (IS_ERR(mbq_regmap)) in rt715_sdca_sdw_probe()
188 return PTR_ERR(mbq_regmap); in rt715_sdca_sdw_probe()
194 return rt715_sdca_init(&slave->dev, mbq_regmap, regmap, slave); in rt715_sdca_sdw_probe()
223 regcache_cache_only(rt715->mbq_regmap, true); in rt715_dev_suspend()
224 regcache_mark_dirty(rt715->mbq_regmap); in rt715_dev_suspend()
260 regcache_cache_only(rt715->mbq_regmap, false); in rt715_dev_resume()
261 regcache_sync_region(rt715->mbq_regmap, 0x2000000, 0x61020ff); in rt715_dev_resume()
262 regcache_sync_region(rt715->mbq_regmap, in rt715_dev_resume()
Drt711-sdca-sdw.c350 struct regmap *regmap, *mbq_regmap; in rt711_sdca_sdw_probe() local
353 mbq_regmap = devm_regmap_init_sdw_mbq(slave, &rt711_sdca_mbq_regmap); in rt711_sdca_sdw_probe()
354 if (IS_ERR(mbq_regmap)) in rt711_sdca_sdw_probe()
355 return PTR_ERR(mbq_regmap); in rt711_sdca_sdw_probe()
361 return rt711_sdca_init(&slave->dev, regmap, mbq_regmap, slave); in rt711_sdca_sdw_probe()
399 regcache_cache_only(rt711->mbq_regmap, true); in rt711_sdca_dev_suspend()
461 regcache_cache_only(rt711->mbq_regmap, false); in rt711_sdca_dev_resume()
462 regcache_sync(rt711->mbq_regmap); in rt711_sdca_dev_resume()
Drt715-sdca.c34 struct regmap *regmap = rt715->mbq_regmap; in rt715_sdca_index_write()
52 struct regmap *regmap = rt715->mbq_regmap; in rt715_sdca_index_read()
152 ret = regmap_write(rt715->mbq_regmap, mc->reg + i, gain_val); in rt715_sdca_set_amp_gain_put()
187 ret = regmap_write(rt715->mbq_regmap, reg_base + i, in rt715_sdca_set_amp_gain_4ch_put()
224 ret = regmap_write(rt715->mbq_regmap, reg, gain_val); in rt715_sdca_set_amp_gain_8ch_put()
246 ret = regmap_read(rt715->mbq_regmap, mc->reg + i, &val); in rt715_sdca_set_amp_gain_get()
271 ret = regmap_read(rt715->mbq_regmap, reg_base + i, &val); in rt715_sdca_set_amp_gain_4ch_get()
297 ret = regmap_read(rt715->mbq_regmap, reg_base + i, &val_l); in rt715_sdca_set_amp_gain_8ch_get()
306 ret = regmap_read(rt715->mbq_regmap, reg, &val_r); in rt715_sdca_set_amp_gain_8ch_get()
993 int rt715_sdca_init(struct device *dev, struct regmap *mbq_regmap, in rt715_sdca_init() argument
[all …]
Drt711-sdca.c32 struct regmap *regmap = rt711->mbq_regmap; in rt711_sdca_index_write()
48 struct regmap *regmap = rt711->mbq_regmap; in rt711_sdca_index_read()
530 regmap_read(rt711->mbq_regmap, mc->reg, &lvalue); in rt711_sdca_set_gain_put()
531 regmap_read(rt711->mbq_regmap, mc->rreg, &rvalue); in rt711_sdca_set_gain_put()
585 regmap_write(rt711->mbq_regmap, mc->reg, gain_l_val); in rt711_sdca_set_gain_put()
588 regmap_write(rt711->mbq_regmap, mc->rreg, gain_r_val); in rt711_sdca_set_gain_put()
590 regmap_read(rt711->mbq_regmap, mc->reg, &read_l); in rt711_sdca_set_gain_put()
591 regmap_read(rt711->mbq_regmap, mc->rreg, &read_r); in rt711_sdca_set_gain_put()
613 regmap_read(rt711->mbq_regmap, mc->reg, &read_l); in rt711_sdca_set_gain_get()
614 regmap_read(rt711->mbq_regmap, mc->rreg, &read_r); in rt711_sdca_set_gain_get()
[all …]
Drt715-sdca.h20 struct regmap *mbq_regmap; member
134 int rt715_sdca_init(struct device *dev, struct regmap *mbq_regmap,
Drt711-sdca.h19 struct regmap *regmap, *mbq_regmap; member
239 struct regmap *mbq_regmap, struct sdw_slave *slave);