Home
last modified time | relevance | path

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

/sound/core/
Dpcm_compat.c102 u32 boundary; member
109 snd_pcm_uframes_t boundary; in recalculate_boundary() local
113 boundary = runtime->buffer_size; in recalculate_boundary()
114 while (boundary * 2 <= 0x7fffffffUL - runtime->buffer_size) in recalculate_boundary()
115 boundary *= 2; in recalculate_boundary()
116 return boundary; in recalculate_boundary()
123 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sw_params_compat() local
141 boundary = recalculate_boundary(substream->runtime); in snd_pcm_ioctl_sw_params_compat()
142 if (boundary && params.silence_size >= boundary) in snd_pcm_ioctl_sw_params_compat()
143 params.silence_size = substream->runtime->boundary; in snd_pcm_ioctl_sw_params_compat()
[all …]
Dpcm_lib.c46 if (runtime->silence_size < runtime->boundary) { in snd_pcm_playback_silence()
51 n += runtime->boundary; in snd_pcm_playback_silence()
72 runtime->boundary; in snd_pcm_playback_silence()
77 frames += runtime->boundary; in snd_pcm_playback_silence()
216 if (runtime->hw_ptr_base == runtime->boundary) in snd_pcm_update_hw_ptr_interrupt()
260 if (runtime->hw_ptr_base == runtime->boundary) in snd_pcm_update_hw_ptr()
1660 if (appl_ptr >= runtime->boundary) in snd_pcm_lib_write1()
1661 appl_ptr -= runtime->boundary; in snd_pcm_lib_write1()
1884 if (appl_ptr >= runtime->boundary) in snd_pcm_lib_read1()
1885 appl_ptr -= runtime->boundary; in snd_pcm_lib_read1()
Dpcm_native.c439 runtime->boundary = runtime->buffer_size; in snd_pcm_hw_params()
440 while (runtime->boundary * 2 <= LONG_MAX - runtime->buffer_size) in snd_pcm_hw_params()
441 runtime->boundary *= 2; in snd_pcm_hw_params()
534 if (params->silence_size >= runtime->boundary) { in snd_pcm_sw_params()
551 params->boundary = runtime->boundary; in snd_pcm_sw_params()
2219 appl_ptr += runtime->boundary; in snd_pcm_playback_rewind()
2264 appl_ptr += runtime->boundary; in snd_pcm_capture_rewind()
2309 if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) in snd_pcm_playback_forward()
2310 appl_ptr -= runtime->boundary; in snd_pcm_playback_forward()
2355 if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) in snd_pcm_capture_forward()
[all …]
Dpcm.c415 snd_iprintf(buffer, "boundary: %lu\n", runtime->boundary); in snd_pcm_substream_proc_sw_params_read()
/sound/isa/gus/
Dgus_mem.c140 unsigned int idx, boundary; in snd_gf1_mem_find() local
155 while (pblock->ptr >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
157 while (pblock->ptr + pblock->size >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
159 ptr2 = boundary; in snd_gf1_mem_find()
163 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.c983 sw_params->start_threshold = runtime->boundary; in snd_pcm_oss_change_params()
987 sw_params->stop_threshold = runtime->boundary; in snd_pcm_oss_change_params()
1944 appl_ptr %= runtime->boundary; in snd_pcm_oss_simulate_fill()
1983 runtime->start_threshold = runtime->boundary; in snd_pcm_oss_set_trigger()
2004 runtime->start_threshold = runtime->boundary; in snd_pcm_oss_set_trigger()
2096 n += runtime->boundary; in snd_pcm_oss_get_ptr()
2776 runtime->stop_threshold = runtime->boundary; in snd_pcm_oss_mmap()
/sound/oss/
DKconfig279 DMA buffers must exist below the 16MB boundary and it is quite