Searched refs:pcm_buffer_pointer (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/sound/firewire/fireface/ |
H A D | amdtp-ff.c | 37 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()
|
/openbmc/linux/sound/firewire/tascam/ |
H A D | amdtp-tascam.c | 42 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()
|
/openbmc/linux/sound/firewire/digi00x/ |
H A D | amdtp-dot.c | 152 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()
|
/openbmc/linux/sound/firewire/ |
H A D | amdtp-am824.c | 155 unsigned int pcm_buffer_pointer; in write_pcm_s32() local 160 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in write_pcm_s32() 161 pcm_buffer_pointer %= runtime->buffer_size; in write_pcm_s32() 164 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32() 165 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in write_pcm_s32() 186 unsigned int pcm_buffer_pointer; in read_pcm_s32() local 191 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in read_pcm_s32() 192 pcm_buffer_pointer %= runtime->buffer_size; in read_pcm_s32() 195 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32() 196 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in read_pcm_s32()
|
H A D | amdtp-stream.h | 195 snd_pcm_uframes_t pcm_buffer_pointer; member
|
H A D | amdtp-stream.c | 357 s->pcm_buffer_pointer = 0; in amdtp_stream_pcm_prepare() 609 ptr = s->pcm_buffer_pointer + frames; in update_pcm_pointers() 612 WRITE_ONCE(s->pcm_buffer_pointer, ptr); in update_pcm_pointers() 1064 WRITE_ONCE(s->pcm_buffer_pointer, SNDRV_PCM_POS_XRUN); in cancel_stream() 1875 return READ_ONCE(s->pcm_buffer_pointer); in amdtp_domain_stream_pcm_pointer()
|
/openbmc/linux/sound/firewire/motu/ |
H A D | amdtp-motu.c | 100 unsigned int pcm_buffer_pointer; in read_pcm_s32() local 106 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in read_pcm_s32() 107 pcm_buffer_pointer %= runtime->buffer_size; in read_pcm_s32() 110 frames_to_bytes(runtime, pcm_buffer_pointer); in read_pcm_s32() 111 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in read_pcm_s32() 136 unsigned int pcm_buffer_pointer; in write_pcm_s32() local 142 pcm_buffer_pointer = s->pcm_buffer_pointer + pcm_frames; in write_pcm_s32() 143 pcm_buffer_pointer %= runtime->buffer_size; in write_pcm_s32() 146 frames_to_bytes(runtime, pcm_buffer_pointer); in write_pcm_s32() 147 remaining_frames = runtime->buffer_size - pcm_buffer_pointer; in write_pcm_s32()
|