wm9713 229 sound/soc/codecs/wm9713.c struct wm9713_priv *wm9713 = snd_soc_component_get_drvdata(component); wm9713 241 sound/soc/codecs/wm9713.c mutex_lock(&wm9713->lock); wm9713 242 sound/soc/codecs/wm9713.c old = wm9713->hp_mixer[mixer]; wm9713 244 sound/soc/codecs/wm9713.c wm9713->hp_mixer[mixer] |= mask; wm9713 246 sound/soc/codecs/wm9713.c wm9713->hp_mixer[mixer] &= ~mask; wm9713 248 sound/soc/codecs/wm9713.c change = old != wm9713->hp_mixer[mixer]; wm9713 253 sound/soc/codecs/wm9713.c if ((wm9713->hp_mixer[0] & mask) || wm9713 254 sound/soc/codecs/wm9713.c (wm9713->hp_mixer[1] & mask)) wm9713 263 sound/soc/codecs/wm9713.c mutex_unlock(&wm9713->lock); wm9713 273 sound/soc/codecs/wm9713.c struct wm9713_priv *wm9713 = snd_soc_component_get_drvdata(component); wm9713 282 sound/soc/codecs/wm9713.c (wm9713->hp_mixer[mixer] >> shift) & 1; wm9713 817 sound/soc/codecs/wm9713.c struct wm9713_priv *wm9713 = snd_soc_component_get_drvdata(component); wm9713 826 sound/soc/codecs/wm9713.c wm9713->pll_in = 0; wm9713 868 sound/soc/codecs/wm9713.c wm9713->pll_in = freq_in; wm9713 1182 sound/soc/codecs/wm9713.c struct wm9713_priv *wm9713 = snd_soc_component_get_drvdata(component); wm9713 1185 sound/soc/codecs/wm9713.c ret = snd_ac97_reset(wm9713->ac97, true, WM9713_VENDOR_ID, wm9713 1193 sound/soc/codecs/wm9713.c if (wm9713->pll_in) wm9713 1194 sound/soc/codecs/wm9713.c wm9713_set_pll(component, 0, wm9713->pll_in, 0); wm9713 1207 sound/soc/codecs/wm9713.c struct wm9713_priv *wm9713 = snd_soc_component_get_drvdata(component); wm9713 1210 sound/soc/codecs/wm9713.c if (wm9713->mfd_pdata) { wm9713 1211 sound/soc/codecs/wm9713.c wm9713->ac97 = wm9713->mfd_pdata->ac97; wm9713 1212 sound/soc/codecs/wm9713.c regmap = wm9713->mfd_pdata->regmap; wm9713 1214 sound/soc/codecs/wm9713.c wm9713->ac97 = snd_soc_new_ac97_component(component, WM9713_VENDOR_ID, wm9713 1216 sound/soc/codecs/wm9713.c if (IS_ERR(wm9713->ac97)) wm9713 1217 sound/soc/codecs/wm9713.c return PTR_ERR(wm9713->ac97); wm9713 1218 sound/soc/codecs/wm9713.c regmap = regmap_init_ac97(wm9713->ac97, &wm9713_regmap_config); wm9713 1220 sound/soc/codecs/wm9713.c snd_soc_free_ac97_component(wm9713->ac97); wm9713 1237 sound/soc/codecs/wm9713.c struct wm9713_priv *wm9713 = snd_soc_component_get_drvdata(component); wm9713 1239 sound/soc/codecs/wm9713.c if (IS_ENABLED(CONFIG_SND_SOC_AC97_BUS) && !wm9713->mfd_pdata) { wm9713 1241 sound/soc/codecs/wm9713.c snd_soc_free_ac97_component(wm9713->ac97); wm9713 1265 sound/soc/codecs/wm9713.c struct wm9713_priv *wm9713; wm9713 1267 sound/soc/codecs/wm9713.c wm9713 = devm_kzalloc(&pdev->dev, sizeof(*wm9713), GFP_KERNEL); wm9713 1268 sound/soc/codecs/wm9713.c if (wm9713 == NULL) wm9713 1271 sound/soc/codecs/wm9713.c mutex_init(&wm9713->lock); wm9713 1273 sound/soc/codecs/wm9713.c wm9713->mfd_pdata = dev_get_platdata(&pdev->dev); wm9713 1274 sound/soc/codecs/wm9713.c platform_set_drvdata(pdev, wm9713);