Lines Matching refs:avail
162 struct snd_compr_avail *avail) in snd_compr_calc_avail() argument
166 snd_compr_update_tstamp(stream, &avail->tstamp); in snd_compr_calc_avail()
200 avail->avail = avail_calc; in snd_compr_calc_avail()
206 struct snd_compr_avail avail; in snd_compr_get_avail() local
208 return snd_compr_calc_avail(stream, &avail); in snd_compr_get_avail()
215 size_t avail; in snd_compr_ioctl_avail() local
217 avail = snd_compr_calc_avail(stream, &ioctl_avail); in snd_compr_ioctl_avail()
218 ioctl_avail.avail = avail; in snd_compr_ioctl_avail()
259 size_t avail; in snd_compr_write() local
274 avail = snd_compr_get_avail(stream); in snd_compr_write()
275 pr_debug("avail returned %ld\n", (unsigned long)avail); in snd_compr_write()
277 if (avail > count) in snd_compr_write()
278 avail = count; in snd_compr_write()
281 retval = stream->ops->copy(stream, buf, avail); in snd_compr_write()
283 retval = snd_compr_write_data(stream, buf, avail); in snd_compr_write()
322 size_t avail; in snd_compr_poll() local
339 avail = snd_compr_get_avail(stream); in snd_compr_poll()
340 pr_debug("avail is %ld\n", (unsigned long)avail); in snd_compr_poll()
353 if (avail >= stream->runtime->fragment_size) in snd_compr_poll()