Lines Matching refs:frames
713 * bytes_to_frames - Unit conversion of the size from bytes to frames
717 * Return: the size in frames
737 * frames_to_bytes - Unit conversion of the size from frames to bytes
739 * @size: size in frames
749 * frame_aligned - Check whether the byte size is aligned to frames
993 * params_period_size - Get the period size (in frames) from the hw params
996 * Return: the period size in frames
1015 * params_buffer_size - Get the buffer size (in frames) from the hw params
1018 * Return: the buffer size in frames
1130 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames);
1141 snd_pcm_uframes_t frames, bool in_kernel);
1145 const void __user *buf, snd_pcm_uframes_t frames)
1147 return __snd_pcm_lib_xfer(substream, (void __force *)buf, true, frames, false);
1152 void __user *buf, snd_pcm_uframes_t frames)
1154 return __snd_pcm_lib_xfer(substream, (void __force *)buf, true, frames, false);
1159 void __user **bufs, snd_pcm_uframes_t frames)
1161 return __snd_pcm_lib_xfer(substream, (void *)bufs, false, frames, false);
1166 void __user **bufs, snd_pcm_uframes_t frames)
1168 return __snd_pcm_lib_xfer(substream, (void *)bufs, false, frames, false);
1173 const void *buf, snd_pcm_uframes_t frames)
1175 return __snd_pcm_lib_xfer(substream, (void *)buf, true, frames, true);
1180 void *buf, snd_pcm_uframes_t frames)
1182 return __snd_pcm_lib_xfer(substream, buf, true, frames, true);
1187 void **bufs, snd_pcm_uframes_t frames)
1189 return __snd_pcm_lib_xfer(substream, bufs, false, frames, true);
1194 void **bufs, snd_pcm_uframes_t frames)
1196 return __snd_pcm_lib_xfer(substream, bufs, false, frames, true);
1571 snd_pcm_sframes_t delay; /* current delay in frames */
1572 snd_pcm_uframes_t avail; /* number of frames available */
1573 snd_pcm_uframes_t avail_max; /* max frames available on hw since last status */
1596 s32 delay; /* current delay in frames */
1597 u32 avail; /* number of frames available */
1598 u32 avail_max; /* max frames available on hw since last status */