Home
last modified time | relevance | path

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

/sound/core/seq/
Dseq_memory.c191 struct snd_seq_event_cell *curp, *nextptr; in snd_seq_cell_free() local
192 curp = cell->event.data.ext.ptr; in snd_seq_cell_free()
193 for (; curp; curp = nextptr) { in snd_seq_cell_free()
194 nextptr = curp->next; in snd_seq_cell_free()
195 curp->next = pool->free; in snd_seq_cell_free()
196 free_cell(pool, curp); in snd_seq_cell_free()
/sound/pci/nm256/
Dnm256.c651 unsigned long curp; in snd_nm256_playback_pointer() local
655 curp = snd_nm256_readl(chip, NM_PBUFFER_CURRP) - (unsigned long)s->buf; in snd_nm256_playback_pointer()
656 curp %= s->dma_size; in snd_nm256_playback_pointer()
657 return bytes_to_frames(substream->runtime, curp); in snd_nm256_playback_pointer()
665 unsigned long curp; in snd_nm256_capture_pointer() local
669 curp = snd_nm256_readl(chip, NM_RBUFFER_CURRP) - (unsigned long)s->buf; in snd_nm256_capture_pointer()
670 curp %= s->dma_size; in snd_nm256_capture_pointer()
671 return bytes_to_frames(substream->runtime, curp); in snd_nm256_capture_pointer()
/sound/core/
Dmemalloc.c758 struct page **pagep, *curp; in snd_dma_sg_fallback_alloc() local
802 curp = virt_to_page(p); in snd_dma_sg_fallback_alloc()
804 *pagep++ = curp++; in snd_dma_sg_fallback_alloc()
/sound/pci/
Des1968.c1989 unsigned int curp = __apu_get_register(chip, chip->measure_apu, 5); in snd_es1968_interrupt() local
1990 if (curp < chip->measure_lastpos) in snd_es1968_interrupt()
1992 chip->measure_lastpos = curp; in snd_es1968_interrupt()