Lines Matching refs:boundary

103 	u32 boundary;  member
112 snd_pcm_uframes_t boundary; in recalculate_boundary() local
116 boundary = runtime->buffer_size; in recalculate_boundary()
117 while (boundary * 2 <= 0x7fffffffUL - runtime->buffer_size) in recalculate_boundary()
118 boundary *= 2; in recalculate_boundary()
119 return boundary; in recalculate_boundary()
126 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sw_params_compat() local
146 boundary = recalculate_boundary(substream->runtime); in snd_pcm_ioctl_sw_params_compat()
147 if (boundary && params.silence_size >= boundary) in snd_pcm_ioctl_sw_params_compat()
148 params.silence_size = substream->runtime->boundary; in snd_pcm_ioctl_sw_params_compat()
152 if (boundary && put_user(boundary, &src->boundary)) in snd_pcm_ioctl_sw_params_compat()
356 runtime->boundary = new_boundary; in snd_pcm_ioctl_hw_params_compat()
496 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_compat() local
513 boundary = recalculate_boundary(runtime); in snd_pcm_ioctl_sync_ptr_compat()
514 if (! boundary) in snd_pcm_ioctl_sync_ptr_compat()
515 boundary = 0x7fffffff; in snd_pcm_ioctl_sync_ptr_compat()
521 scontrol.appl_ptr = control->appl_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat()
527 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat()
584 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_x32() local
601 boundary = recalculate_boundary(runtime); in snd_pcm_ioctl_sync_ptr_x32()
602 if (!boundary) in snd_pcm_ioctl_sync_ptr_x32()
603 boundary = 0x7fffffff; in snd_pcm_ioctl_sync_ptr_x32()
609 scontrol.appl_ptr = control->appl_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32()
615 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32()