Lines Matching refs:boundary

80 	u32 boundary;  member
89 snd_pcm_uframes_t boundary; in recalculate_boundary() local
93 boundary = runtime->buffer_size; in recalculate_boundary()
94 while (boundary * 2 <= 0x7fffffffUL - runtime->buffer_size) in recalculate_boundary()
95 boundary *= 2; in recalculate_boundary()
96 return boundary; in recalculate_boundary()
103 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sw_params_compat() local
123 boundary = recalculate_boundary(substream->runtime); in snd_pcm_ioctl_sw_params_compat()
124 if (boundary && params.silence_size >= boundary) in snd_pcm_ioctl_sw_params_compat()
125 params.silence_size = substream->runtime->boundary; in snd_pcm_ioctl_sw_params_compat()
129 if (boundary && put_user(boundary, &src->boundary)) in snd_pcm_ioctl_sw_params_compat()
333 runtime->boundary = new_boundary; in snd_pcm_ioctl_hw_params_compat()
475 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_compat() local
492 boundary = recalculate_boundary(runtime); in snd_pcm_ioctl_sync_ptr_compat()
493 if (! boundary) in snd_pcm_ioctl_sync_ptr_compat()
494 boundary = 0x7fffffff; in snd_pcm_ioctl_sync_ptr_compat()
500 scontrol.appl_ptr = control->appl_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat()
506 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat()
564 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_x32() local
581 boundary = recalculate_boundary(runtime); in snd_pcm_ioctl_sync_ptr_x32()
582 if (!boundary) in snd_pcm_ioctl_sync_ptr_x32()
583 boundary = 0x7fffffff; in snd_pcm_ioctl_sync_ptr_x32()
589 scontrol.appl_ptr = control->appl_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32()
595 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32()