Searched refs:wm5100 (Results 1 – 2 of 2) sorted by relevance
120 struct wm5100_priv *wm5100 = snd_soc_component_get_drvdata(component); in wm5100_alloc_sr() local132 if ((wm5100->sysclk % rate) == 0) { in wm5100_alloc_sr()136 if (!wm5100->sr_ref[i] && sr_free == -1) { in wm5100_alloc_sr()146 wm5100->sr_ref[i]++; in wm5100_alloc_sr()148 rate, i, wm5100->sr_ref[i]); in wm5100_alloc_sr()159 wm5100->sr_ref[sr_free]++; in wm5100_alloc_sr()169 rate, wm5100->sysclk, wm5100->asyncclk); in wm5100_alloc_sr()176 struct wm5100_priv *wm5100 = snd_soc_component_get_drvdata(component); in wm5100_free_sr() local189 if (!wm5100->sr_ref[i]) in wm5100_free_sr()197 wm5100->sr_ref[i]--; in wm5100_free_sr()[all …]
318 snd-soc-wm5100-objs := wm5100.o wm5100-tables.o703 obj-$(CONFIG_SND_SOC_WM5100) += snd-soc-wm5100.o