Lines Matching refs:mbq_regmap
136 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, ®value); in rt712_sdca_dmic_set_gain_get()
297 regmap_read(rt712->mbq_regmap, p->reg_base + i, ®value[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
773 rt712->mbq_regmap = mbq_regmap; in rt712_sdca_dmic_init()
776 regcache_cache_only(rt712->mbq_regmap, true); in rt712_sdca_dmic_init()
895 regcache_cache_only(rt712->mbq_regmap, true); in rt712_sdca_dmic_dev_suspend()
938 regcache_cache_only(rt712->mbq_regmap, false); in rt712_sdca_dmic_dev_resume()
939 regcache_sync(rt712->mbq_regmap); in rt712_sdca_dmic_dev_resume()
957 struct regmap *regmap, *mbq_regmap; in rt712_sdca_dmic_sdw_probe() local
960 mbq_regmap = devm_regmap_init_sdw_mbq(slave, &rt712_sdca_dmic_mbq_regmap); in rt712_sdca_dmic_sdw_probe()
961 if (IS_ERR(mbq_regmap)) in rt712_sdca_dmic_sdw_probe()
962 return PTR_ERR(mbq_regmap); in rt712_sdca_dmic_sdw_probe()
968 return rt712_sdca_dmic_init(&slave->dev, regmap, mbq_regmap, slave); in rt712_sdca_dmic_sdw_probe()