max98925          101 sound/soc/codecs/max98925.c 	struct max98925_priv *max98925 = snd_soc_component_get_drvdata(component);
max98925          105 sound/soc/codecs/max98925.c 		regmap_update_bits(max98925->regmap,
max98925          113 sound/soc/codecs/max98925.c 		regmap_update_bits(max98925->regmap,
max98925          275 sound/soc/codecs/max98925.c static void max98925_set_sense_data(struct max98925_priv *max98925)
max98925          278 sound/soc/codecs/max98925.c 	regmap_update_bits(max98925->regmap,
max98925          281 sound/soc/codecs/max98925.c 	regmap_update_bits(max98925->regmap,
max98925          284 sound/soc/codecs/max98925.c 		max98925->v_slot << M98925_DAI_VMON_SLOT_SHIFT);
max98925          286 sound/soc/codecs/max98925.c 	regmap_update_bits(max98925->regmap,
max98925          289 sound/soc/codecs/max98925.c 	regmap_update_bits(max98925->regmap,
max98925          292 sound/soc/codecs/max98925.c 		max98925->i_slot << M98925_DAI_IMON_SLOT_SHIFT);
max98925          299 sound/soc/codecs/max98925.c 	struct max98925_priv *max98925 = snd_soc_component_get_drvdata(component);
max98925          306 sound/soc/codecs/max98925.c 		regmap_update_bits(max98925->regmap,
max98925          309 sound/soc/codecs/max98925.c 		max98925_set_sense_data(max98925);
max98925          316 sound/soc/codecs/max98925.c 		regmap_update_bits(max98925->regmap,
max98925          344 sound/soc/codecs/max98925.c 	regmap_update_bits(max98925->regmap, MAX98925_FORMAT,
max98925          349 sound/soc/codecs/max98925.c static int max98925_set_clock(struct max98925_priv *max98925,
max98925          353 sound/soc/codecs/max98925.c 	struct snd_soc_component *component = max98925->component;
max98925          356 sound/soc/codecs/max98925.c 	int blr_clk_ratio = params_channels(params) * max98925->ch_size;
max98925          360 sound/soc/codecs/max98925.c 		regmap_update_bits(max98925->regmap,
max98925          365 sound/soc/codecs/max98925.c 		regmap_update_bits(max98925->regmap,
max98925          370 sound/soc/codecs/max98925.c 		regmap_update_bits(max98925->regmap,
max98925          378 sound/soc/codecs/max98925.c 	switch (max98925->sysclk) {
max98925          396 sound/soc/codecs/max98925.c 		dev_info(max98925->component->dev, "unsupported sysclk %d\n",
max98925          397 sound/soc/codecs/max98925.c 					max98925->sysclk);
max98925          405 sound/soc/codecs/max98925.c 	regmap_update_bits(max98925->regmap,
max98925          409 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap,
max98925          411 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap,
max98925          414 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap,
max98925          416 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap,
max98925          419 sound/soc/codecs/max98925.c 	regmap_update_bits(max98925->regmap, MAX98925_DAI_CLK_MODE1,
max98925          429 sound/soc/codecs/max98925.c 	struct max98925_priv *max98925 = snd_soc_component_get_drvdata(component);
max98925          433 sound/soc/codecs/max98925.c 		regmap_update_bits(max98925->regmap,
max98925          436 sound/soc/codecs/max98925.c 		max98925->ch_size = 16;
max98925          439 sound/soc/codecs/max98925.c 		regmap_update_bits(max98925->regmap,
max98925          442 sound/soc/codecs/max98925.c 		max98925->ch_size = 24;
max98925          445 sound/soc/codecs/max98925.c 		regmap_update_bits(max98925->regmap,
max98925          448 sound/soc/codecs/max98925.c 		max98925->ch_size = 32;
max98925          457 sound/soc/codecs/max98925.c 	return max98925_set_clock(max98925, params);
max98925          464 sound/soc/codecs/max98925.c 	struct max98925_priv *max98925 = snd_soc_component_get_drvdata(component);
max98925          469 sound/soc/codecs/max98925.c 		regmap_update_bits(max98925->regmap,
max98925          475 sound/soc/codecs/max98925.c 		regmap_update_bits(max98925->regmap,
max98925          483 sound/soc/codecs/max98925.c 	max98925->sysclk = freq;
max98925          519 sound/soc/codecs/max98925.c 	struct max98925_priv *max98925 = snd_soc_component_get_drvdata(component);
max98925          521 sound/soc/codecs/max98925.c 	max98925->component = component;
max98925          522 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap, MAX98925_GLOBAL_ENABLE, 0x00);
max98925          524 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap,
max98925          526 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap, MAX98925_TDM_SLOT_SELECT, 0xC8);
max98925          527 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap, MAX98925_DOUT_HIZ_CFG1, 0xFF);
max98925          528 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap, MAX98925_DOUT_HIZ_CFG2, 0xFF);
max98925          529 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap, MAX98925_DOUT_HIZ_CFG3, 0xFF);
max98925          530 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap, MAX98925_DOUT_HIZ_CFG4, 0xF0);
max98925          531 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap, MAX98925_FILTERS, 0xD8);
max98925          532 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap, MAX98925_ALC_CONFIGURATION, 0xF8);
max98925          533 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap, MAX98925_CONFIGURATION, 0xF0);
max98925          535 sound/soc/codecs/max98925.c 	regmap_write(max98925->regmap, MAX98925_BOOST_LIMITER, 0xF8);
max98925          569 sound/soc/codecs/max98925.c 	struct max98925_priv *max98925;
max98925          571 sound/soc/codecs/max98925.c 	max98925 = devm_kzalloc(&i2c->dev,
max98925          572 sound/soc/codecs/max98925.c 			sizeof(*max98925), GFP_KERNEL);
max98925          573 sound/soc/codecs/max98925.c 	if (!max98925)
max98925          576 sound/soc/codecs/max98925.c 	i2c_set_clientdata(i2c, max98925);
max98925          577 sound/soc/codecs/max98925.c 	max98925->regmap = devm_regmap_init_i2c(i2c, &max98925_regmap);
max98925          578 sound/soc/codecs/max98925.c 	if (IS_ERR(max98925->regmap)) {
max98925          579 sound/soc/codecs/max98925.c 		ret = PTR_ERR(max98925->regmap);
max98925          590 sound/soc/codecs/max98925.c 		max98925->v_slot = value;
max98925          597 sound/soc/codecs/max98925.c 		max98925->i_slot = value;
max98925          600 sound/soc/codecs/max98925.c 	ret = regmap_read(max98925->regmap, MAX98925_REV_VERSION, &reg);