Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/codecs/
Drt715-sdca-sdw.c180 struct regmap *mbq_regmap, *regmap; in rt715_sdca_sdw_probe() local
183 mbq_regmap = devm_regmap_init_sdw_mbq(slave, &rt715_sdca_mbq_regmap); in rt715_sdca_sdw_probe()
184 if (IS_ERR(mbq_regmap)) in rt715_sdca_sdw_probe()
185 return PTR_ERR(mbq_regmap); in rt715_sdca_sdw_probe()
191 return rt715_sdca_init(&slave->dev, mbq_regmap, regmap, slave); in rt715_sdca_sdw_probe()
217 regcache_cache_only(rt715->mbq_regmap, true); in rt715_dev_suspend()
218 regcache_mark_dirty(rt715->mbq_regmap); in rt715_dev_suspend()
254 regcache_cache_only(rt715->mbq_regmap, false); in rt715_dev_resume()
255 regcache_sync_region(rt715->mbq_regmap, 0x2000000, 0x61020ff); in rt715_dev_resume()
256 regcache_sync_region(rt715->mbq_regmap, in rt715_dev_resume()
Drt1320-sdw.c3777 regcache_cache_only(rt1320->mbq_regmap, false); in rt1320_io_init()
3780 regcache_cache_bypass(rt1320->mbq_regmap, true); in rt1320_io_init()
3838 regcache_cache_bypass(rt1320->mbq_regmap, false); in rt1320_io_init()
3840 regcache_mark_dirty(rt1320->mbq_regmap); in rt1320_io_init()
3912 regmap_read(rt1320->mbq_regmap, mc->reg, &lvalue); in rt1320_set_gain_put()
3913 regmap_read(rt1320->mbq_regmap, mc->rreg, &rvalue); in rt1320_set_gain_put()
3933 regmap_write(rt1320->mbq_regmap, mc->reg, gain_l_val); in rt1320_set_gain_put()
3935 regmap_write(rt1320->mbq_regmap, mc->rreg, gain_r_val); in rt1320_set_gain_put()
3950 regmap_read(rt1320->mbq_regmap, mc->reg, &read_l); in rt1320_set_gain_get()
3951 regmap_read(rt1320->mbq_regmap, mc->rreg, &read_r); in rt1320_set_gain_get()
[all …]
Drt712-sdca-dmic.c136 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_dmic_index_write()
152 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_dmic_index_read()
186 regcache_cache_only(rt712->mbq_regmap, false); in rt712_sdca_dmic_io_init()
189 regcache_cache_bypass(rt712->mbq_regmap, true); in rt712_sdca_dmic_io_init()
231 regcache_cache_bypass(rt712->mbq_regmap, false); in rt712_sdca_dmic_io_init()
232 regcache_mark_dirty(rt712->mbq_regmap); in rt712_sdca_dmic_io_init()
262 regmap_read(rt712->mbq_regmap, p->reg_base + i, &regvalue); in rt712_sdca_dmic_set_gain_get()
297 regmap_read(rt712->mbq_regmap, p->reg_base + i, &regvalue[i]); in rt712_sdca_dmic_set_gain_put()
318 err = regmap_write(rt712->mbq_regmap, p->reg_base + i, gain_val[i]); in rt712_sdca_dmic_set_gain_put()
761 struct regmap *mbq_regmap, struct sdw_slave *slave) in rt712_sdca_dmic_init() argument
[all …]
Drt711-sdca-sdw.c346 struct regmap *regmap, *mbq_regmap; in rt711_sdca_sdw_probe() local
349 mbq_regmap = devm_regmap_init_sdw_mbq(slave, &rt711_sdca_mbq_regmap); in rt711_sdca_sdw_probe()
350 if (IS_ERR(mbq_regmap)) in rt711_sdca_sdw_probe()
351 return PTR_ERR(mbq_regmap); in rt711_sdca_sdw_probe()
357 return rt711_sdca_init(&slave->dev, regmap, mbq_regmap, slave); in rt711_sdca_sdw_probe()
394 regcache_cache_only(rt711->mbq_regmap, true); in rt711_sdca_dev_suspend()
464 regcache_cache_only(rt711->mbq_regmap, false); in rt711_sdca_dev_resume()
465 regcache_sync(rt711->mbq_regmap); in rt711_sdca_dev_resume()
Drt722-sdca-sdw.c376 struct regmap *regmap, *mbq_regmap; in rt722_sdca_sdw_probe() local
379 mbq_regmap = devm_regmap_init_sdw_mbq(slave, &rt722_sdca_mbq_regmap); in rt722_sdca_sdw_probe()
380 if (IS_ERR(mbq_regmap)) in rt722_sdca_sdw_probe()
381 return PTR_ERR(mbq_regmap); in rt722_sdca_sdw_probe()
387 return rt722_sdca_init(&slave->dev, regmap, mbq_regmap, slave); in rt722_sdca_sdw_probe()
425 regcache_cache_only(rt722->mbq_regmap, true); in rt722_sdca_dev_suspend()
495 regcache_cache_only(rt722->mbq_regmap, false); in rt722_sdca_dev_resume()
496 regcache_sync(rt722->mbq_regmap); in rt722_sdca_dev_resume()
Drt712-sdca-sdw.c363 struct regmap *regmap, *mbq_regmap; in rt712_sdca_sdw_probe() local
366 mbq_regmap = devm_regmap_init_sdw_mbq(slave, &rt712_sdca_mbq_regmap); in rt712_sdca_sdw_probe()
367 if (IS_ERR(mbq_regmap)) in rt712_sdca_sdw_probe()
368 return PTR_ERR(mbq_regmap); in rt712_sdca_sdw_probe()
374 return rt712_sdca_init(&slave->dev, regmap, mbq_regmap, slave); in rt712_sdca_sdw_probe()
414 regcache_cache_only(rt712->mbq_regmap, true); in rt712_sdca_dev_suspend()
485 regcache_cache_only(rt712->mbq_regmap, false); in rt712_sdca_dev_resume()
486 regcache_sync(rt712->mbq_regmap); in rt712_sdca_dev_resume()
Drt722-sdca.c31 struct regmap *regmap = rt722->mbq_regmap; in rt722_sdca_index_write()
48 struct regmap *regmap = rt722->mbq_regmap; in rt722_sdca_index_read()
363 regmap_read(rt722->mbq_regmap, mc->reg, &lvalue); in rt722_sdca_set_gain_put()
364 regmap_read(rt722->mbq_regmap, mc->rreg, &rvalue); in rt722_sdca_set_gain_put()
404 regmap_write(rt722->mbq_regmap, mc->reg, gain_l_val); in rt722_sdca_set_gain_put()
407 regmap_write(rt722->mbq_regmap, mc->rreg, gain_r_val); in rt722_sdca_set_gain_put()
409 regmap_read(rt722->mbq_regmap, mc->reg, &read_l); in rt722_sdca_set_gain_put()
410 regmap_read(rt722->mbq_regmap, mc->rreg, &read_r); in rt722_sdca_set_gain_put()
433 regmap_read(rt722->mbq_regmap, mc->reg, &read_l); in rt722_sdca_set_gain_get()
434 regmap_read(rt722->mbq_regmap, mc->rreg, &read_r); in rt722_sdca_set_gain_get()
[all …]
Drt715-sdca.c35 struct regmap *regmap = rt715->mbq_regmap; in rt715_sdca_index_write()
53 struct regmap *regmap = rt715->mbq_regmap; in rt715_sdca_index_read()
153 ret = regmap_write(rt715->mbq_regmap, mc->reg + i, gain_val); in rt715_sdca_set_amp_gain_put()
188 ret = regmap_write(rt715->mbq_regmap, reg_base + i, in rt715_sdca_set_amp_gain_4ch_put()
225 ret = regmap_write(rt715->mbq_regmap, reg, gain_val); in rt715_sdca_set_amp_gain_8ch_put()
247 ret = regmap_read(rt715->mbq_regmap, mc->reg + i, &val); in rt715_sdca_set_amp_gain_get()
272 ret = regmap_read(rt715->mbq_regmap, reg_base + i, &val); in rt715_sdca_set_amp_gain_4ch_get()
298 ret = regmap_read(rt715->mbq_regmap, reg_base + i, &val_l); in rt715_sdca_set_amp_gain_8ch_get()
307 ret = regmap_read(rt715->mbq_regmap, reg, &val_r); in rt715_sdca_set_amp_gain_8ch_get()
969 int rt715_sdca_init(struct device *dev, struct regmap *mbq_regmap, in rt715_sdca_init() argument
[all …]
Drt711-sdca.c33 struct regmap *regmap = rt711->mbq_regmap; in rt711_sdca_index_write()
49 struct regmap *regmap = rt711->mbq_regmap; in rt711_sdca_index_read()
570 regmap_read(rt711->mbq_regmap, mc->reg, &lvalue); in rt711_sdca_set_gain_put()
571 regmap_read(rt711->mbq_regmap, mc->rreg, &rvalue); in rt711_sdca_set_gain_put()
625 regmap_write(rt711->mbq_regmap, mc->reg, gain_l_val); in rt711_sdca_set_gain_put()
628 regmap_write(rt711->mbq_regmap, mc->rreg, gain_r_val); in rt711_sdca_set_gain_put()
630 regmap_read(rt711->mbq_regmap, mc->reg, &read_l); in rt711_sdca_set_gain_put()
631 regmap_read(rt711->mbq_regmap, mc->rreg, &read_r); in rt711_sdca_set_gain_put()
653 regmap_read(rt711->mbq_regmap, mc->reg, &read_l); in rt711_sdca_set_gain_get()
654 regmap_read(rt711->mbq_regmap, mc->rreg, &read_r); in rt711_sdca_set_gain_get()
[all …]
Drt712-sdca.c31 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_index_write()
47 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_index_read()
504 regmap_read(rt712->mbq_regmap, mc->reg, &lvalue); in rt712_sdca_set_gain_put()
505 regmap_read(rt712->mbq_regmap, mc->rreg, &rvalue); in rt712_sdca_set_gain_put()
543 regmap_write(rt712->mbq_regmap, mc->reg, gain_l_val); in rt712_sdca_set_gain_put()
545 regmap_write(rt712->mbq_regmap, mc->rreg, gain_r_val); in rt712_sdca_set_gain_put()
547 regmap_read(rt712->mbq_regmap, mc->reg, &read_l); in rt712_sdca_set_gain_put()
548 regmap_read(rt712->mbq_regmap, mc->rreg, &read_r); in rt712_sdca_set_gain_put()
570 regmap_read(rt712->mbq_regmap, mc->reg, &read_l); in rt712_sdca_set_gain_get()
571 regmap_read(rt712->mbq_regmap, mc->rreg, &read_r); in rt712_sdca_set_gain_get()
[all …]
Drt715-sdca.h20 struct regmap *mbq_regmap; member
129 int rt715_sdca_init(struct device *dev, struct regmap *mbq_regmap,
Drt722-sdca.h20 struct regmap *mbq_regmap; member
233 struct regmap *mbq_regmap, struct sdw_slave *slave);
Drt711-sdca.h19 struct regmap *regmap, *mbq_regmap; member
241 struct regmap *mbq_regmap, struct sdw_slave *slave);
Drt712-sdca.h20 struct regmap *mbq_regmap; member
254 struct regmap *mbq_regmap, struct sdw_slave *slave);
Drt1320-sdw.h89 struct regmap *mbq_regmap; member
Drt712-sdca-dmic.h16 struct regmap *mbq_regmap; member