Lines Matching refs:frames

750 	snd_pcm_uframes_t frames;  in snd_pcm_hw_params()  local
823 frames = 1; in snd_pcm_hw_params()
826 frames *= 2; in snd_pcm_hw_params()
829 runtime->min_align = frames; in snd_pcm_hw_params()
2954 snd_pcm_uframes_t frames, in forward_appl_ptr() argument
2963 if (frames > (snd_pcm_uframes_t)avail) in forward_appl_ptr()
2964 frames = avail; in forward_appl_ptr()
2965 appl_ptr = runtime->control->appl_ptr + frames; in forward_appl_ptr()
2969 return ret < 0 ? ret : frames; in forward_appl_ptr()
2974 snd_pcm_uframes_t frames, in rewind_appl_ptr() argument
2983 if (frames > (snd_pcm_uframes_t)avail) in rewind_appl_ptr()
2984 frames = avail; in rewind_appl_ptr()
2985 appl_ptr = runtime->control->appl_ptr - frames; in rewind_appl_ptr()
2994 return ret < 0 ? 0 : frames; in rewind_appl_ptr()
2998 snd_pcm_uframes_t frames) in snd_pcm_rewind() argument
3002 if (frames == 0) in snd_pcm_rewind()
3008 ret = rewind_appl_ptr(substream, frames, in snd_pcm_rewind()
3017 snd_pcm_uframes_t frames) in snd_pcm_forward() argument
3021 if (frames == 0) in snd_pcm_forward()
3027 ret = forward_appl_ptr(substream, frames, in snd_pcm_forward()
3271 result = snd_pcm_lib_write(substream, xferi.buf, xferi.frames); in snd_pcm_xferi_frames_ioctl()
3273 result = snd_pcm_lib_read(substream, xferi.buf, xferi.frames); in snd_pcm_xferi_frames_ioctl()
3300 result = snd_pcm_lib_writev(substream, bufs, xfern.frames); in snd_pcm_xfern_frames_ioctl()
3302 result = snd_pcm_lib_readv(substream, bufs, xfern.frames); in snd_pcm_xfern_frames_ioctl()
3311 snd_pcm_uframes_t frames; in snd_pcm_rewind_ioctl() local
3314 if (get_user(frames, _frames)) in snd_pcm_rewind_ioctl()
3318 result = snd_pcm_rewind(substream, frames); in snd_pcm_rewind_ioctl()
3327 snd_pcm_uframes_t frames; in snd_pcm_forward_ioctl() local
3330 if (get_user(frames, _frames)) in snd_pcm_forward_ioctl()
3334 result = snd_pcm_forward(substream, frames); in snd_pcm_forward_ioctl()
3478 snd_pcm_uframes_t *frames = arg; in snd_pcm_kernel_ioctl() local
3490 result = snd_pcm_forward(substream, *frames); in snd_pcm_kernel_ioctl()
3506 return snd_pcm_delay(substream, frames); in snd_pcm_kernel_ioctl()
3571 snd_pcm_uframes_t frames; in snd_pcm_readv() local
3588 frames = bytes_to_samples(runtime, iov->iov_len); in snd_pcm_readv()
3596 result = snd_pcm_lib_readv(substream, bufs, frames); in snd_pcm_readv()
3610 snd_pcm_uframes_t frames; in snd_pcm_writev() local
3626 frames = bytes_to_samples(runtime, iov->iov_len); in snd_pcm_writev()
3634 result = snd_pcm_lib_writev(substream, bufs, frames); in snd_pcm_writev()