Lines Matching refs:wm8997
929 struct wm8997_priv *wm8997 = snd_soc_component_get_drvdata(component); in wm8997_set_fll() local
933 return arizona_set_fll(&wm8997->fll[0], source, Fref, Fout); in wm8997_set_fll()
935 return arizona_set_fll(&wm8997->fll[1], source, Fref, Fout); in wm8997_set_fll()
937 return arizona_set_fll_refclk(&wm8997->fll[0], source, Fref, in wm8997_set_fll()
940 return arizona_set_fll_refclk(&wm8997->fll[1], source, Fref, in wm8997_set_fll()
1113 struct wm8997_priv *wm8997; in wm8997_probe() local
1116 wm8997 = devm_kzalloc(&pdev->dev, sizeof(struct wm8997_priv), in wm8997_probe()
1118 if (wm8997 == NULL) in wm8997_probe()
1120 platform_set_drvdata(pdev, wm8997); in wm8997_probe()
1130 wm8997->core.arizona = arizona; in wm8997_probe()
1131 wm8997->core.num_inputs = 4; in wm8997_probe()
1133 arizona_init_dvfs(&wm8997->core); in wm8997_probe()
1136 ret = arizona_jack_codec_dev_probe(&wm8997->core, &pdev->dev); in wm8997_probe()
1140 for (i = 0; i < ARRAY_SIZE(wm8997->fll); i++) in wm8997_probe()
1141 wm8997->fll[i].vco_mult = 1; in wm8997_probe()
1145 &wm8997->fll[0]); in wm8997_probe()
1148 &wm8997->fll[1]); in wm8997_probe()
1157 arizona_init_dai(&wm8997->core, i); in wm8997_probe()
1191 arizona_jack_codec_dev_remove(&wm8997->core); in wm8997_probe()
1198 struct wm8997_priv *wm8997 = platform_get_drvdata(pdev); in wm8997_remove() local
1199 struct arizona *arizona = wm8997->core.arizona; in wm8997_remove()
1205 arizona_jack_codec_dev_remove(&wm8997->core); in wm8997_remove()