• Home
  • Raw
  • Download

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()
498 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_compat() local
515 boundary = recalculate_boundary(runtime); in snd_pcm_ioctl_sync_ptr_compat()
516 if (! boundary) in snd_pcm_ioctl_sync_ptr_compat()
517 boundary = 0x7fffffff; in snd_pcm_ioctl_sync_ptr_compat()
523 scontrol.appl_ptr = control->appl_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat()
529 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat()
586 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_x32() local
603 boundary = recalculate_boundary(runtime); in snd_pcm_ioctl_sync_ptr_x32()
604 if (!boundary) in snd_pcm_ioctl_sync_ptr_x32()
605 boundary = 0x7fffffff; in snd_pcm_ioctl_sync_ptr_x32()
611 scontrol.appl_ptr = control->appl_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32()
617 sstatus.hw_ptr = status->hw_ptr % boundary; in snd_pcm_ioctl_sync_ptr_x32()