Searched refs:curp (Results 1 – 4 of 4) sorted by relevance
191 struct snd_seq_event_cell *curp, *nextptr; in snd_seq_cell_free() local192 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()
651 unsigned long curp; in snd_nm256_playback_pointer() local655 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() local669 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()
758 struct page **pagep, *curp; in snd_dma_sg_fallback_alloc() local802 curp = virt_to_page(p); in snd_dma_sg_fallback_alloc()804 *pagep++ = curp++; in snd_dma_sg_fallback_alloc()
1989 unsigned int curp = __apu_get_register(chip, chip->measure_apu, 5); in snd_es1968_interrupt() local1990 if (curp < chip->measure_lastpos) in snd_es1968_interrupt()1992 chip->measure_lastpos = curp; in snd_es1968_interrupt()