wm9712            220 sound/soc/codecs/wm9712.c 	struct wm9712_priv *wm9712 = snd_soc_component_get_drvdata(component);
wm9712            232 sound/soc/codecs/wm9712.c 	mutex_lock(&wm9712->lock);
wm9712            233 sound/soc/codecs/wm9712.c 	old = wm9712->hp_mixer[mixer];
wm9712            235 sound/soc/codecs/wm9712.c 		wm9712->hp_mixer[mixer] |= mask;
wm9712            237 sound/soc/codecs/wm9712.c 		wm9712->hp_mixer[mixer] &= ~mask;
wm9712            239 sound/soc/codecs/wm9712.c 	change = old != wm9712->hp_mixer[mixer];
wm9712            244 sound/soc/codecs/wm9712.c 		if ((wm9712->hp_mixer[0] & mask) ||
wm9712            245 sound/soc/codecs/wm9712.c 		    (wm9712->hp_mixer[1] & mask))
wm9712            254 sound/soc/codecs/wm9712.c 	mutex_unlock(&wm9712->lock);
wm9712            264 sound/soc/codecs/wm9712.c 	struct wm9712_priv *wm9712 = snd_soc_component_get_drvdata(component);
wm9712            273 sound/soc/codecs/wm9712.c 		(wm9712->hp_mixer[mixer] >> shift) & 1;
wm9712            617 sound/soc/codecs/wm9712.c 	struct wm9712_priv *wm9712 = snd_soc_component_get_drvdata(component);
wm9712            620 sound/soc/codecs/wm9712.c 	ret = snd_ac97_reset(wm9712->ac97, true, WM9712_VENDOR_ID,
wm9712            635 sound/soc/codecs/wm9712.c 	struct wm9712_priv *wm9712 = snd_soc_component_get_drvdata(component);
wm9712            638 sound/soc/codecs/wm9712.c 	if (wm9712->mfd_pdata) {
wm9712            639 sound/soc/codecs/wm9712.c 		wm9712->ac97 = wm9712->mfd_pdata->ac97;
wm9712            640 sound/soc/codecs/wm9712.c 		regmap = wm9712->mfd_pdata->regmap;
wm9712            644 sound/soc/codecs/wm9712.c 		wm9712->ac97 = snd_soc_new_ac97_component(component, WM9712_VENDOR_ID,
wm9712            646 sound/soc/codecs/wm9712.c 		if (IS_ERR(wm9712->ac97)) {
wm9712            647 sound/soc/codecs/wm9712.c 			ret = PTR_ERR(wm9712->ac97);
wm9712            653 sound/soc/codecs/wm9712.c 		regmap = regmap_init_ac97(wm9712->ac97, &wm9712_regmap_config);
wm9712            655 sound/soc/codecs/wm9712.c 			snd_soc_free_ac97_component(wm9712->ac97);
wm9712            672 sound/soc/codecs/wm9712.c 	struct wm9712_priv *wm9712 = snd_soc_component_get_drvdata(component);
wm9712            674 sound/soc/codecs/wm9712.c 	if (IS_ENABLED(CONFIG_SND_SOC_AC97_BUS) && !wm9712->mfd_pdata) {
wm9712            676 sound/soc/codecs/wm9712.c 		snd_soc_free_ac97_component(wm9712->ac97);
wm9712            700 sound/soc/codecs/wm9712.c 	struct wm9712_priv *wm9712;
wm9712            702 sound/soc/codecs/wm9712.c 	wm9712 = devm_kzalloc(&pdev->dev, sizeof(*wm9712), GFP_KERNEL);
wm9712            703 sound/soc/codecs/wm9712.c 	if (wm9712 == NULL)
wm9712            706 sound/soc/codecs/wm9712.c 	mutex_init(&wm9712->lock);
wm9712            708 sound/soc/codecs/wm9712.c 	wm9712->mfd_pdata = dev_get_platdata(&pdev->dev);
wm9712            709 sound/soc/codecs/wm9712.c 	platform_set_drvdata(pdev, wm9712);