Searched refs:boundary (Results 1 – 8 of 8) sorted by relevance
103 u32 boundary; member112 snd_pcm_uframes_t boundary; in recalculate_boundary() local116 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() local146 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 …]
49 if (runtime->silence_size < runtime->boundary) { in snd_pcm_playback_silence()54 n += runtime->boundary; in snd_pcm_playback_silence()77 runtime->boundary; in snd_pcm_playback_silence()82 frames += runtime->boundary; in snd_pcm_playback_silence()368 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()381 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()390 delta += runtime->boundary; in snd_pcm_update_hw_ptr0()422 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()470 if (new_hw_ptr >= runtime->boundary) { in snd_pcm_update_hw_ptr0()471 new_hw_ptr -= runtime->boundary; in snd_pcm_update_hw_ptr0()[all …]
562 runtime->boundary = runtime->buffer_size; in snd_pcm_hw_params()563 while (runtime->boundary * 2 <= LONG_MAX - runtime->buffer_size) in snd_pcm_hw_params()564 runtime->boundary *= 2; in snd_pcm_hw_params()655 if (params->silence_size >= runtime->boundary) { in snd_pcm_sw_params()675 params->boundary = runtime->boundary; in snd_pcm_sw_params()2438 appl_ptr += runtime->boundary; in snd_pcm_playback_rewind()2486 appl_ptr += runtime->boundary; in snd_pcm_capture_rewind()2534 if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) in snd_pcm_playback_forward()2535 appl_ptr -= runtime->boundary; in snd_pcm_playback_forward()2583 if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) in snd_pcm_capture_forward()[all …]
448 snd_iprintf(buffer, "boundary: %lu\n", runtime->boundary); in snd_pcm_substream_proc_sw_params_read()
141 unsigned int idx, boundary; in snd_gf1_mem_find() local156 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()
264 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()
999 sw_params->start_threshold = runtime->boundary; in snd_pcm_oss_change_params()1003 sw_params->stop_threshold = runtime->boundary; in snd_pcm_oss_change_params()1988 appl_ptr %= runtime->boundary; in snd_pcm_oss_simulate_fill()2028 runtime->start_threshold = runtime->boundary; in snd_pcm_oss_set_trigger()2049 runtime->start_threshold = runtime->boundary; in snd_pcm_oss_set_trigger()2142 n += runtime->boundary; in snd_pcm_oss_get_ptr()2848 runtime->stop_threshold = runtime->boundary; in snd_pcm_oss_mmap()
265 DMA buffers must exist below the 16MB boundary and it is quite