Lines Matching defs:max9850
3 * max9850.c -- codec driver for max9850
23 #include "max9850.h"
116 struct max9850_priv *max9850 = snd_soc_component_get_drvdata(component);
120 if (!max9850->sysclk)
128 do_div(lrclk_div, max9850->sysclk);
155 struct max9850_priv *max9850 = snd_soc_component_get_drvdata(component);
167 max9850->sysclk = freq;
227 struct max9850_priv *max9850 = snd_soc_component_get_drvdata(component);
237 ret = regcache_sync(max9850->regmap);
263 .name = "max9850-hifi",
303 struct max9850_priv *max9850;
306 max9850 = devm_kzalloc(&i2c->dev, sizeof(struct max9850_priv),
308 if (max9850 == NULL)
311 max9850->regmap = devm_regmap_init_i2c(i2c, &max9850_regmap);
312 if (IS_ERR(max9850->regmap))
313 return PTR_ERR(max9850->regmap);
315 i2c_set_clientdata(i2c, max9850);
323 { "max9850" },
330 .name = "max9850",