Searched refs:pcm_buffer_size (Results 1 – 2 of 2) sorted by relevance
260 unsigned int pcm_buffer_size; in hiface_pcm_playback() local264 pcm_buffer_size = snd_pcm_lib_buffer_bytes(sub->instance); in hiface_pcm_playback()266 if (sub->dma_off + PCM_PACKET_SIZE <= pcm_buffer_size) { in hiface_pcm_playback()268 (unsigned int) pcm_buffer_size, in hiface_pcm_playback()278 (unsigned int) pcm_buffer_size, in hiface_pcm_playback()281 len = pcm_buffer_size - sub->dma_off; in hiface_pcm_playback()291 if (sub->dma_off >= pcm_buffer_size) in hiface_pcm_playback()292 sub->dma_off -= pcm_buffer_size; in hiface_pcm_playback()
144 unsigned int pcm_buffer_size; member498 dpcm->pcm_buffer_size = frames_to_bytes(runtime, runtime->buffer_size); in loopback_prepare()499 dpcm->channel_buf_n = dpcm->pcm_buffer_size / runtime->channels; in loopback_prepare()502 dpcm->silent_size = dpcm->pcm_buffer_size; in loopback_prepare()530 if (dpcm->silent_size >= dpcm->pcm_buffer_size) in clear_capture_buf()532 if (dpcm->silent_size + bytes > dpcm->pcm_buffer_size) in clear_capture_buf()533 bytes = dpcm->pcm_buffer_size - dpcm->silent_size; in clear_capture_buf()537 if (dst_off + size > dpcm->pcm_buffer_size) in clear_capture_buf()538 size = dpcm->pcm_buffer_size - dst_off; in clear_capture_buf()596 if (src_off + size > play->pcm_buffer_size) in copy_play_buf()[all …]