Searched refs:wm5100 (Results 1 – 1 of 1) sorted by relevance
123 struct wm5100_priv *wm5100 = snd_soc_component_get_drvdata(component); in wm5100_alloc_sr() local135 if ((wm5100->sysclk % rate) == 0) { in wm5100_alloc_sr()139 if (!wm5100->sr_ref[i] && sr_free == -1) { in wm5100_alloc_sr()149 wm5100->sr_ref[i]++; in wm5100_alloc_sr()151 rate, i, wm5100->sr_ref[i]); in wm5100_alloc_sr()162 wm5100->sr_ref[sr_free]++; in wm5100_alloc_sr()172 rate, wm5100->sysclk, wm5100->asyncclk); in wm5100_alloc_sr()179 struct wm5100_priv *wm5100 = snd_soc_component_get_drvdata(component); in wm5100_free_sr() local192 if (!wm5100->sr_ref[i]) in wm5100_free_sr()200 wm5100->sr_ref[i]--; in wm5100_free_sr()[all …]