max9867 172 sound/soc/codecs/max9867.c struct max9867_priv *max9867 = max9867 175 sound/soc/codecs/max9867.c if (max9867->constraints) max9867 177 sound/soc/codecs/max9867.c SNDRV_PCM_HW_PARAM_RATE, max9867->constraints); max9867 188 sound/soc/codecs/max9867.c struct max9867_priv *max9867 = snd_soc_component_get_drvdata(component); max9867 190 sound/soc/codecs/max9867.c max9867->pclk); max9867 193 sound/soc/codecs/max9867.c regmap_update_bits(max9867->regmap, MAX9867_AUDIOCLKHIGH, max9867 195 sound/soc/codecs/max9867.c regmap_update_bits(max9867->regmap, MAX9867_AUDIOCLKLOW, max9867 197 sound/soc/codecs/max9867.c if (max9867->master) { max9867 198 sound/soc/codecs/max9867.c if (max9867->dsp_a) { max9867 202 sound/soc/codecs/max9867.c ratio = max9867->pclk / rate; max9867 233 sound/soc/codecs/max9867.c regmap_update_bits(max9867->regmap, MAX9867_IFC1B, max9867 240 sound/soc/codecs/max9867.c regmap_update_bits(max9867->regmap, MAX9867_AUDIOCLKLOW, max9867 242 sound/soc/codecs/max9867.c regmap_update_bits(max9867->regmap, MAX9867_AUDIOCLKHIGH, max9867 251 sound/soc/codecs/max9867.c struct max9867_priv *max9867 = snd_soc_component_get_drvdata(component); max9867 253 sound/soc/codecs/max9867.c return regmap_update_bits(max9867->regmap, MAX9867_DACLEVEL, max9867 261 sound/soc/codecs/max9867.c struct max9867_priv *max9867 = snd_soc_component_get_drvdata(component); max9867 267 sound/soc/codecs/max9867.c max9867->pclk = freq; max9867 270 sound/soc/codecs/max9867.c max9867->pclk = freq / 2; max9867 273 sound/soc/codecs/max9867.c max9867->pclk = freq / 4; max9867 281 sound/soc/codecs/max9867.c max9867->constraints = &max9867_constraints_48k; max9867 283 sound/soc/codecs/max9867.c max9867->constraints = &max9867_constraints_44k1; max9867 288 sound/soc/codecs/max9867.c max9867->sysclk = freq; max9867 292 sound/soc/codecs/max9867.c regmap_update_bits(max9867->regmap, MAX9867_SYSCLK, max9867 301 sound/soc/codecs/max9867.c struct max9867_priv *max9867 = snd_soc_component_get_drvdata(component); max9867 306 sound/soc/codecs/max9867.c max9867->master = true; max9867 311 sound/soc/codecs/max9867.c max9867->master = false; max9867 320 sound/soc/codecs/max9867.c max9867->dsp_a = false; max9867 324 sound/soc/codecs/max9867.c max9867->dsp_a = true; max9867 348 sound/soc/codecs/max9867.c regmap_write(max9867->regmap, MAX9867_IFC1A, iface1A); max9867 349 sound/soc/codecs/max9867.c regmap_write(max9867->regmap, MAX9867_IFC1B, iface1B); max9867 407 sound/soc/codecs/max9867.c struct max9867_priv *max9867 = snd_soc_component_get_drvdata(component); max9867 412 sound/soc/codecs/max9867.c err = regcache_sync(max9867->regmap); max9867 416 sound/soc/codecs/max9867.c err = regmap_update_bits(max9867->regmap, MAX9867_PWRMAN, max9867 423 sound/soc/codecs/max9867.c err = regmap_update_bits(max9867->regmap, MAX9867_PWRMAN, max9867 428 sound/soc/codecs/max9867.c regcache_mark_dirty(max9867->regmap); max9867 502 sound/soc/codecs/max9867.c struct max9867_priv *max9867; max9867 505 sound/soc/codecs/max9867.c max9867 = devm_kzalloc(&i2c->dev, sizeof(*max9867), GFP_KERNEL); max9867 506 sound/soc/codecs/max9867.c if (!max9867) max9867 509 sound/soc/codecs/max9867.c i2c_set_clientdata(i2c, max9867); max9867 510 sound/soc/codecs/max9867.c max9867->regmap = devm_regmap_init_i2c(i2c, &max9867_regmap); max9867 511 sound/soc/codecs/max9867.c if (IS_ERR(max9867->regmap)) { max9867 512 sound/soc/codecs/max9867.c ret = PTR_ERR(max9867->regmap); max9867 516 sound/soc/codecs/max9867.c ret = regmap_read(max9867->regmap, MAX9867_REVISION, ®);