Home
last modified time | relevance | path

Searched refs:pcm_buffer_pointer (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/sound/firewire/fireface/
Damdtp-ff.c37 unsigned int pcm_buffer_pointer; in write_pcm_s32() local
42 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in write_pcm_s32()
43 pcm_buffer_pointer %= runtime->buffer_size; in write_pcm_s32()
46 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
47 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in write_pcm_s32()
67 unsigned int pcm_buffer_pointer; in read_pcm_s32() local
72 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in read_pcm_s32()
73 pcm_buffer_pointer %= runtime->buffer_size; in read_pcm_s32()
76 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
77 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in read_pcm_s32()
/kernel/linux/linux-5.10/sound/firewire/tascam/
Damdtp-tascam.c42 unsigned int pcm_buffer_pointer; in write_pcm_s32() local
47 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in write_pcm_s32()
48 pcm_buffer_pointer %= runtime->buffer_size; in write_pcm_s32()
51 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
52 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in write_pcm_s32()
72 unsigned int pcm_buffer_pointer; in read_pcm_s32() local
77 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in read_pcm_s32()
78 pcm_buffer_pointer %= runtime->buffer_size; in read_pcm_s32()
81 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
82 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in read_pcm_s32()
/kernel/linux/linux-5.10/sound/firewire/digi00x/
Damdtp-dot.c152 unsigned int pcm_buffer_pointer; in write_pcm_s32() local
157 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in write_pcm_s32()
158 pcm_buffer_pointer %= runtime->buffer_size; in write_pcm_s32()
161 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
162 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in write_pcm_s32()
184 unsigned int pcm_buffer_pointer; in read_pcm_s32() local
189 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in read_pcm_s32()
190 pcm_buffer_pointer %= runtime->buffer_size; in read_pcm_s32()
193 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
194 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in read_pcm_s32()
/kernel/linux/linux-5.10/sound/firewire/
Damdtp-am824.c157 unsigned int pcm_buffer_pointer; in write_pcm_s32() local
162 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in write_pcm_s32()
163 pcm_buffer_pointer %= runtime->buffer_size; in write_pcm_s32()
166 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
167 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in write_pcm_s32()
188 unsigned int pcm_buffer_pointer; in read_pcm_s32() local
193 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in read_pcm_s32()
194 pcm_buffer_pointer %= runtime->buffer_size; in read_pcm_s32()
197 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
198 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in read_pcm_s32()
Damdtp-stream.c337 s->pcm_buffer_pointer = 0; in amdtp_stream_pcm_prepare()
432 ptr = s->pcm_buffer_pointer + frames; in update_pcm_pointers()
435 WRITE_ONCE(s->pcm_buffer_pointer, ptr); in update_pcm_pointers()
809 WRITE_ONCE(s->pcm_buffer_pointer, SNDRV_PCM_POS_XRUN); in cancel_stream()
1218 return READ_ONCE(s->pcm_buffer_pointer); in amdtp_domain_stream_pcm_pointer()
Damdtp-stream.h167 snd_pcm_uframes_t pcm_buffer_pointer; member
/kernel/linux/linux-5.10/sound/firewire/motu/
Damdtp-motu.c123 unsigned int pcm_buffer_pointer; in read_pcm_s32() local
129 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in read_pcm_s32()
130 pcm_buffer_pointer %= runtime->buffer_size; in read_pcm_s32()
133 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32()
134 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in read_pcm_s32()
159 unsigned int pcm_buffer_pointer; in write_pcm_s32() local
165 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in write_pcm_s32()
166 pcm_buffer_pointer %= runtime->buffer_size; in write_pcm_s32()
169 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32()
170 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in write_pcm_s32()