ssm4567 202 sound/soc/codecs/ssm4567.c struct ssm4567 *ssm4567 = snd_soc_component_get_drvdata(component); ssm4567 219 sound/soc/codecs/ssm4567.c return regmap_update_bits(ssm4567->regmap, SSM4567_REG_DAC_CTRL, ssm4567 225 sound/soc/codecs/ssm4567.c struct ssm4567 *ssm4567 = snd_soc_component_get_drvdata(dai->component); ssm4567 229 sound/soc/codecs/ssm4567.c return regmap_update_bits(ssm4567->regmap, SSM4567_REG_DAC_CTRL, ssm4567 236 sound/soc/codecs/ssm4567.c struct ssm4567 *ssm4567 = snd_soc_dai_get_drvdata(dai); ssm4567 265 sound/soc/codecs/ssm4567.c ret = regmap_update_bits(ssm4567->regmap, SSM4567_REG_SAI_CTRL_2, ssm4567 271 sound/soc/codecs/ssm4567.c return regmap_update_bits(ssm4567->regmap, SSM4567_REG_SAI_CTRL_1, ssm4567 277 sound/soc/codecs/ssm4567.c struct ssm4567 *ssm4567 = snd_soc_dai_get_drvdata(dai); ssm4567 331 sound/soc/codecs/ssm4567.c return regmap_update_bits(ssm4567->regmap, SSM4567_REG_SAI_CTRL_1, ssm4567 340 sound/soc/codecs/ssm4567.c static int ssm4567_set_power(struct ssm4567 *ssm4567, bool enable) ssm4567 345 sound/soc/codecs/ssm4567.c ret = regmap_update_bits(ssm4567->regmap, ssm4567 348 sound/soc/codecs/ssm4567.c regcache_mark_dirty(ssm4567->regmap); ssm4567 351 sound/soc/codecs/ssm4567.c regcache_cache_only(ssm4567->regmap, !enable); ssm4567 354 sound/soc/codecs/ssm4567.c ret = regmap_write(ssm4567->regmap, SSM4567_REG_SOFT_RESET, ssm4567 359 sound/soc/codecs/ssm4567.c ret = regmap_update_bits(ssm4567->regmap, ssm4567 362 sound/soc/codecs/ssm4567.c regcache_sync(ssm4567->regmap); ssm4567 371 sound/soc/codecs/ssm4567.c struct ssm4567 *ssm4567 = snd_soc_component_get_drvdata(component); ssm4567 381 sound/soc/codecs/ssm4567.c ret = ssm4567_set_power(ssm4567, true); ssm4567 384 sound/soc/codecs/ssm4567.c ret = ssm4567_set_power(ssm4567, false); ssm4567 449 sound/soc/codecs/ssm4567.c struct ssm4567 *ssm4567; ssm4567 452 sound/soc/codecs/ssm4567.c ssm4567 = devm_kzalloc(&i2c->dev, sizeof(*ssm4567), GFP_KERNEL); ssm4567 453 sound/soc/codecs/ssm4567.c if (ssm4567 == NULL) ssm4567 456 sound/soc/codecs/ssm4567.c i2c_set_clientdata(i2c, ssm4567); ssm4567 458 sound/soc/codecs/ssm4567.c ssm4567->regmap = devm_regmap_init_i2c(i2c, &ssm4567_regmap_config); ssm4567 459 sound/soc/codecs/ssm4567.c if (IS_ERR(ssm4567->regmap)) ssm4567 460 sound/soc/codecs/ssm4567.c return PTR_ERR(ssm4567->regmap); ssm4567 462 sound/soc/codecs/ssm4567.c ret = regmap_write(ssm4567->regmap, SSM4567_REG_SOFT_RESET, 0x00); ssm4567 466 sound/soc/codecs/ssm4567.c ret = ssm4567_set_power(ssm4567, false);