Lines Matching refs:pcm_size
155 unsigned int pcm_size;
519 dpcm->pcm_size = params_buffer_bytes(params);
521 snd_printd(KERN_INFO "pcm_size=%d, pcm_count=%d, bps=%d\n",
522 dpcm->pcm_size, dpcm->pcm_count, bytes_per_sec);
681 min_buf_pos = modulo_min(min_buf_pos, buf_pos, pcm_size)
689 irq_pos = (irq_pos + pcm_count) % pcm_size;
763 newdata = (buf_pos - ds->pcm_irq_pos) % ds->pcm_size;
769 (buf_pos - ds->pcm_irq_pos) % ds->pcm_size,
877 ptr = bytes_to_frames(runtime, dpcm->pcm_buf_pos % dpcm->pcm_size);
1094 return bytes_to_frames(runtime, dpcm->pcm_buf_pos % dpcm->pcm_size);