Lines Matching refs:max98363

15 #include "max98363.h"
79 struct max98363_priv *max98363 = dev_get_drvdata(dev);
81 regcache_cache_only(max98363->regmap, true);
82 regcache_mark_dirty(max98363->regmap);
92 struct max98363_priv *max98363 = dev_get_drvdata(dev);
95 if (!max98363->first_hw_init)
111 regcache_cache_only(max98363->regmap, false);
112 regcache_sync(max98363->regmap);
160 struct max98363_priv *max98363 = dev_get_drvdata(dev);
163 regcache_cache_only(max98363->regmap, false);
164 if (max98363->first_hw_init)
165 regcache_cache_bypass(max98363->regmap, true);
170 if (!max98363->first_hw_init)
176 ret = regmap_read(max98363->regmap, MAX98363_R21FF_REV_ID, &reg);
182 if (max98363->first_hw_init) {
183 regcache_cache_bypass(max98363->regmap, false);
184 regcache_mark_dirty(max98363->regmap);
187 max98363->first_hw_init = true;
188 max98363->hw_init = true;
205 struct max98363_priv *max98363 =
221 if (!max98363->slave)
242 ret = sdw_stream_add_slave(max98363->slave, &stream_config,
258 struct max98363_priv *max98363 =
263 if (!max98363->slave)
266 sdw_stream_remove_slave(max98363->slave, stream);
287 .name = "max98363-aif1",
302 struct max98363_priv *max98363 = dev_get_drvdata(&slave->dev);
305 max98363->hw_init = false;
310 if (max98363->hw_init || status != SDW_SLAVE_ATTACHED)
389 struct max98363_priv *max98363;
394 max98363 = devm_kzalloc(dev, sizeof(*max98363), GFP_KERNEL);
395 if (!max98363)
398 dev_set_drvdata(dev, max98363);
399 max98363->regmap = regmap;
400 max98363->slave = slave;
402 regcache_cache_only(max98363->regmap, true);
404 max98363->hw_init = false;
405 max98363->first_hw_init = false;
454 .name = "max98363",