max98504 108 sound/soc/codecs/max98504.c struct max98504_priv *max98504 = snd_soc_component_get_drvdata(c); max98504 112 sound/soc/codecs/max98504.c regmap_write(max98504->regmap, MAX98504_PCM_RX_ENABLE, max98504 113 sound/soc/codecs/max98504.c max98504->pcm_rx_channels); max98504 116 sound/soc/codecs/max98504.c regmap_write(max98504->regmap, MAX98504_PCM_RX_ENABLE, 0); max98504 125 sound/soc/codecs/max98504.c struct max98504_priv *max98504 = snd_soc_component_get_drvdata(c); max98504 126 sound/soc/codecs/max98504.c struct regmap *map = max98504->regmap; max98504 129 sound/soc/codecs/max98504.c ret = regulator_bulk_enable(MAX98504_NUM_SUPPLIES, max98504->supplies); max98504 136 sound/soc/codecs/max98504.c if (!max98504->brownout_enable) max98504 142 sound/soc/codecs/max98504.c (max98504->brownout_threshold & 0x1f) << 3 | max98504 143 sound/soc/codecs/max98504.c (max98504->brownout_attenuation & 0x3)); max98504 146 sound/soc/codecs/max98504.c max98504->brownout_attack_hold & 0xff); max98504 149 sound/soc/codecs/max98504.c max98504->brownout_timed_hold & 0xff); max98504 152 sound/soc/codecs/max98504.c max98504->brownout_release_rate & 0xff); max98504 159 sound/soc/codecs/max98504.c struct max98504_priv *max98504 = snd_soc_component_get_drvdata(c); max98504 161 sound/soc/codecs/max98504.c regulator_bulk_disable(MAX98504_NUM_SUPPLIES, max98504->supplies); max98504 203 sound/soc/codecs/max98504.c struct max98504_priv *max98504 = snd_soc_dai_get_drvdata(dai); max98504 204 sound/soc/codecs/max98504.c struct regmap *map = max98504->regmap; max98504 210 sound/soc/codecs/max98504.c max98504->pcm_rx_channels = rx_mask; max98504 226 sound/soc/codecs/max98504.c struct max98504_priv *max98504 = snd_soc_dai_get_drvdata(dai); max98504 227 sound/soc/codecs/max98504.c struct regmap *map = max98504->regmap; max98504 312 sound/soc/codecs/max98504.c struct max98504_priv *max98504; max98504 315 sound/soc/codecs/max98504.c max98504 = devm_kzalloc(dev, sizeof(*max98504), GFP_KERNEL); max98504 316 sound/soc/codecs/max98504.c if (!max98504) max98504 321 sound/soc/codecs/max98504.c &max98504->brownout_threshold)) max98504 322 sound/soc/codecs/max98504.c max98504->brownout_enable = true; max98504 325 sound/soc/codecs/max98504.c &max98504->brownout_attenuation); max98504 327 sound/soc/codecs/max98504.c &max98504->brownout_attack_hold); max98504 329 sound/soc/codecs/max98504.c &max98504->brownout_timed_hold); max98504 331 sound/soc/codecs/max98504.c &max98504->brownout_release_rate); max98504 334 sound/soc/codecs/max98504.c max98504->regmap = devm_regmap_init_i2c(client, &max98504_regmap); max98504 335 sound/soc/codecs/max98504.c if (IS_ERR(max98504->regmap)) { max98504 336 sound/soc/codecs/max98504.c ret = PTR_ERR(max98504->regmap); max98504 342 sound/soc/codecs/max98504.c max98504->supplies[i].supply = max98504_supply_names[i]; max98504 345 sound/soc/codecs/max98504.c max98504->supplies); max98504 349 sound/soc/codecs/max98504.c i2c_set_clientdata(client, max98504);