Home
last modified time | relevance | path

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

/sound/core/
Dpcm_compat.c80 u32 boundary; member
90 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sw_params_compat() local
110 boundary = recalculate_boundary(substream->runtime); in snd_pcm_ioctl_sw_params_compat()
111 if (boundary && params.silence_size >= boundary) in snd_pcm_ioctl_sw_params_compat()
112 params.silence_size = substream->runtime->boundary; in snd_pcm_ioctl_sw_params_compat()
116 if (boundary && put_user(boundary, &src->boundary)) in snd_pcm_ioctl_sw_params_compat()
275 runtime->boundary = new_boundary; in snd_pcm_ioctl_hw_params_compat()
424 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_x32() local
441 boundary = recalculate_boundary(runtime); in snd_pcm_ioctl_sync_ptr_x32()
442 if (!boundary) in snd_pcm_ioctl_sync_ptr_x32()
[all …]
Dpcm_lib.c51 if (runtime->silence_size < runtime->boundary) { in snd_pcm_playback_silence()
57 n += runtime->boundary; in snd_pcm_playback_silence()
80 runtime->boundary; in snd_pcm_playback_silence()
85 frames += runtime->boundary; in snd_pcm_playback_silence()
323 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
336 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
345 delta += runtime->boundary; in snd_pcm_update_hw_ptr0()
361 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
406 if (new_hw_ptr >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
407 new_hw_ptr -= runtime->boundary; in snd_pcm_update_hw_ptr0()
[all …]
Dpcm_native.c807 runtime->boundary = runtime->buffer_size; in snd_pcm_hw_params()
808 while (runtime->boundary * 2 <= LONG_MAX - runtime->buffer_size) in snd_pcm_hw_params()
809 runtime->boundary *= 2; in snd_pcm_hw_params()
937 if (params->silence_size >= runtime->boundary) { in snd_pcm_sw_params()
957 params->boundary = runtime->boundary; in snd_pcm_sw_params()
2935 if (appl_ptr >= (snd_pcm_sframes_t)runtime->boundary) in forward_appl_ptr()
2936 appl_ptr -= runtime->boundary; in forward_appl_ptr()
2956 appl_ptr += runtime->boundary; in rewind_appl_ptr()
3104 snd_pcm_uframes_t boundary; in recalculate_boundary() local
3108 boundary = runtime->buffer_size; in recalculate_boundary()
[all …]
Dpcm.c437 snd_iprintf(buffer, "boundary: %lu\n", runtime->boundary); in snd_pcm_substream_proc_sw_params_read()
/sound/isa/gus/
Dgus_mem.c126 unsigned int idx, boundary; in snd_gf1_mem_find() local
141 while (pblock->ptr >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
143 while (pblock->ptr + pblock->size >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
145 ptr2 = boundary; in snd_gf1_mem_find()
149 if (pblock->next->ptr < boundary) in snd_gf1_mem_find()
/sound/core/oss/
Dpcm_oss.c1008 sw_params->start_threshold = runtime->boundary; in snd_pcm_oss_change_params_locked()
1012 sw_params->stop_threshold = runtime->boundary; in snd_pcm_oss_change_params_locked()
2061 appl_ptr %= runtime->boundary; in snd_pcm_oss_simulate_fill()
2106 runtime->start_threshold = runtime->boundary; in snd_pcm_oss_set_trigger()
2133 runtime->start_threshold = runtime->boundary; in snd_pcm_oss_set_trigger()
2231 n += runtime->boundary; in snd_pcm_oss_get_ptr()
2950 runtime->stop_threshold = runtime->boundary; in snd_pcm_oss_mmap()