Searched refs:sr_free (Results 1 – 1 of 1) sorted by relevance
124 int sr_code, sr_free, i; in wm5100_alloc_sr() local137 sr_free = -1; in wm5100_alloc_sr()139 if (!wm5100->sr_ref[i] && sr_free == -1) { in wm5100_alloc_sr()140 sr_free = i; in wm5100_alloc_sr()155 if (sr_free == -1) { in wm5100_alloc_sr()161 sr_free, rate); in wm5100_alloc_sr()162 wm5100->sr_ref[sr_free]++; in wm5100_alloc_sr()163 snd_soc_component_update_bits(component, wm5100_sr_regs[sr_free], in wm5100_alloc_sr()167 return sr_free; in wm5100_alloc_sr()