Home
last modified time | relevance | path

Searched refs:boundary (Results 1 – 8 of 8) sorted by relevance

/sound/core/
Dpcm_compat.c103 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()
[all …]
Dpcm_lib.c58 if (runtime->silence_size < runtime->boundary) { in snd_pcm_playback_silence()
63 n += runtime->boundary; in snd_pcm_playback_silence()
86 runtime->boundary; in snd_pcm_playback_silence()
91 frames += runtime->boundary; in snd_pcm_playback_silence()
346 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
359 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
368 delta += runtime->boundary; in snd_pcm_update_hw_ptr0()
384 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
429 if (new_hw_ptr >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
430 new_hw_ptr -= runtime->boundary; in snd_pcm_update_hw_ptr0()
[all …]
Dpcm_native.c589 runtime->boundary = runtime->buffer_size; in snd_pcm_hw_params()
590 while (runtime->boundary * 2 <= LONG_MAX - runtime->buffer_size) in snd_pcm_hw_params()
591 runtime->boundary *= 2; in snd_pcm_hw_params()
683 if (params->silence_size >= runtime->boundary) { in snd_pcm_sw_params()
703 params->boundary = runtime->boundary; in snd_pcm_sw_params()
2470 appl_ptr += runtime->boundary; in snd_pcm_playback_rewind()
2518 appl_ptr += runtime->boundary; in snd_pcm_capture_rewind()
2566 if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) in snd_pcm_playback_forward()
2567 appl_ptr -= runtime->boundary; in snd_pcm_playback_forward()
2615 if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) in snd_pcm_capture_forward()
[all …]
Dpcm.c445 snd_iprintf(buffer, "boundary: %lu\n", runtime->boundary); in snd_pcm_substream_proc_sw_params_read()
/sound/isa/gus/
Dgus_mem.c141 unsigned int idx, boundary; in snd_gf1_mem_find() local
156 while (pblock->ptr >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
158 while (pblock->ptr + pblock->size >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
160 ptr2 = boundary; in snd_gf1_mem_find()
164 if (pblock->next->ptr < boundary) in snd_gf1_mem_find()
/sound/drivers/
Dpcm-indirect2.c264 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect2_playback_transfer()
265 diff += runtime->boundary; in snd_pcm_indirect2_playback_transfer()
426 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect2_capture_transfer()
427 diff += runtime->boundary; in snd_pcm_indirect2_capture_transfer()
/sound/core/oss/
Dpcm_oss.c1012 sw_params->start_threshold = runtime->boundary; in snd_pcm_oss_change_params_locked()
1016 sw_params->stop_threshold = runtime->boundary; in snd_pcm_oss_change_params_locked()
2090 appl_ptr %= runtime->boundary; in snd_pcm_oss_simulate_fill()
2133 runtime->start_threshold = runtime->boundary; in snd_pcm_oss_set_trigger()
2160 runtime->start_threshold = runtime->boundary; in snd_pcm_oss_set_trigger()
2256 n += runtime->boundary; in snd_pcm_oss_get_ptr()
2967 runtime->stop_threshold = runtime->boundary; in snd_pcm_oss_mmap()
/sound/oss/
DKconfig265 DMA buffers must exist below the 16MB boundary and it is quite