Lines Matching refs:max98371

184 	struct max98371_priv *max98371 = snd_soc_component_get_drvdata(component);  in max98371_dai_set_fmt()  local
209 regmap_update_bits(max98371->regmap, MAX98371_FMT, in max98371_dai_set_fmt()
219 struct max98371_priv *max98371 = snd_soc_component_get_drvdata(component); in max98371_dai_hw_params() local
225 regmap_update_bits(max98371->regmap, MAX98371_FMT, in max98371_dai_hw_params()
230 regmap_update_bits(max98371->regmap, MAX98371_FMT, in max98371_dai_hw_params()
235 regmap_update_bits(max98371->regmap, MAX98371_FMT, in max98371_dai_hw_params()
240 regmap_update_bits(max98371->regmap, MAX98371_FMT, in max98371_dai_hw_params()
252 regmap_update_bits(max98371->regmap, in max98371_dai_hw_params()
257 regmap_update_bits(max98371->regmap, in max98371_dai_hw_params()
262 regmap_update_bits(max98371->regmap, in max98371_dai_hw_params()
272 regmap_update_bits(max98371->regmap, in max98371_dai_hw_params()
277 regmap_update_bits(max98371->regmap, in max98371_dai_hw_params()
282 regmap_update_bits(max98371->regmap, in max98371_dai_hw_params()
287 regmap_update_bits(max98371->regmap, in max98371_dai_hw_params()
292 regmap_update_bits(max98371->regmap, in max98371_dai_hw_params()
301 regmap_update_bits(max98371->regmap, MAX98371_MONOMIX_SRC, in max98371_dai_hw_params()
303 regmap_update_bits(max98371->regmap, MAX98371_DAI_CHANNEL, in max98371_dai_hw_params()
369 struct max98371_priv *max98371; in max98371_i2c_probe() local
372 max98371 = devm_kzalloc(&i2c->dev, in max98371_i2c_probe()
373 sizeof(*max98371), GFP_KERNEL); in max98371_i2c_probe()
374 if (!max98371) in max98371_i2c_probe()
377 i2c_set_clientdata(i2c, max98371); in max98371_i2c_probe()
378 max98371->regmap = devm_regmap_init_i2c(i2c, &max98371_regmap); in max98371_i2c_probe()
379 if (IS_ERR(max98371->regmap)) { in max98371_i2c_probe()
380 ret = PTR_ERR(max98371->regmap); in max98371_i2c_probe()
386 ret = regmap_read(max98371->regmap, MAX98371_VERSION, &reg); in max98371_i2c_probe()