Home
last modified time | relevance | path

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

/sound/isa/gus/
Dgus_pcm.c53 unsigned int bpos; member
135 curr = begin + (pcmp->bpos * pcmp->block_size) / runtime->channels; in snd_gf1_pcm_trigger_up()
213 pcmp->bpos++; in snd_gf1_pcm_interrupt_wave()
214 pcmp->bpos %= pcmp->blocks; in snd_gf1_pcm_interrupt_wave()
215 if (pcmp->bpos + 1 >= pcmp->blocks) { /* last block? */ in snd_gf1_pcm_interrupt_wave()
220 end = pcmp->memory + (((pcmp->bpos + 1) * pcmp->block_size) / runtime->channels); in snd_gf1_pcm_interrupt_wave()
251 end = pcmp->bpos * pcmp->block_size; in snd_gf1_pcm_interrupt_wave()
351 unsigned int bpos, len; in snd_gf1_pcm_playback_copy() local
353 bpos = samples_to_bytes(runtime, pos) + (voice * (pcmp->dma_size / 2)); in snd_gf1_pcm_playback_copy()
355 if (snd_BUG_ON(bpos > pcmp->dma_size)) in snd_gf1_pcm_playback_copy()
[all …]