Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
A Drt715-sdca-sdw.c182 struct regmap *mbq_regmap, *regmap; in rt715_sdca_sdw_probe() local
187 mbq_regmap = devm_regmap_init_sdw_mbq(slave, &rt715_sdca_mbq_regmap); in rt715_sdca_sdw_probe()
188 if (IS_ERR(mbq_regmap)) in rt715_sdca_sdw_probe()
189 return PTR_ERR(mbq_regmap); in rt715_sdca_sdw_probe()
195 return rt715_sdca_init(&slave->dev, mbq_regmap, regmap, slave); in rt715_sdca_sdw_probe()
214 regcache_cache_only(rt715->mbq_regmap, true); in rt715_dev_suspend()
215 regcache_mark_dirty(rt715->mbq_regmap); in rt715_dev_suspend()
249 regcache_cache_only(rt715->mbq_regmap, false); in rt715_dev_resume()
250 regcache_sync_region(rt715->mbq_regmap, 0x2000000, 0x61020ff); in rt715_dev_resume()
251 regcache_sync_region(rt715->mbq_regmap, in rt715_dev_resume()
A Drt711-sdca-sdw.c349 struct regmap *regmap, *mbq_regmap; in rt711_sdca_sdw_probe() local
352 mbq_regmap = devm_regmap_init_sdw_mbq(slave, &rt711_sdca_mbq_regmap); in rt711_sdca_sdw_probe()
353 if (IS_ERR(mbq_regmap)) in rt711_sdca_sdw_probe()
354 return PTR_ERR(mbq_regmap); in rt711_sdca_sdw_probe()
360 return rt711_sdca_init(&slave->dev, regmap, mbq_regmap, slave); in rt711_sdca_sdw_probe()
392 regcache_cache_only(rt711->mbq_regmap, true); in rt711_sdca_dev_suspend()
452 regcache_cache_only(rt711->mbq_regmap, false); in rt711_sdca_dev_resume()
453 regcache_sync(rt711->mbq_regmap); in rt711_sdca_dev_resume()
A 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()
519 regmap_read(rt711->mbq_regmap, mc->reg, &lvalue); in rt711_sdca_set_gain_put()
520 regmap_read(rt711->mbq_regmap, mc->rreg, &rvalue); in rt711_sdca_set_gain_put()
579 regmap_read(rt711->mbq_regmap, mc->reg, &read_l); in rt711_sdca_set_gain_put()
602 regmap_read(rt711->mbq_regmap, mc->reg, &read_l); in rt711_sdca_set_gain_get()
1198 regcache_cache_only(rt711->mbq_regmap, true); in rt711_sdca_remove()
1412 rt711->mbq_regmap = mbq_regmap; in rt711_sdca_init()
1507 regcache_cache_only(rt711->mbq_regmap, false); in rt711_sdca_io_init()
1508 regcache_cache_bypass(rt711->mbq_regmap, true); in rt711_sdca_io_init()
[all …]
A 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()
980 int rt715_sdca_init(struct device *dev, struct regmap *mbq_regmap, in rt715_sdca_init() argument
[all …]
A Drt715-sdca.h20 struct regmap *mbq_regmap; member
134 int rt715_sdca_init(struct device *dev, struct regmap *mbq_regmap,
A Drt711-sdca.h19 struct regmap *regmap, *mbq_regmap; member
239 struct regmap *mbq_regmap, struct sdw_slave *slave);

Completed in 47 milliseconds