Searched refs:curptr (Results 1 – 3 of 3) sorted by relevance
89 char __user *curptr = (char __user *)event->data.ext.ptr; in snd_seq_dump_var_event() local94 if (copy_from_user(buf, curptr, size)) in snd_seq_dump_var_event()99 curptr += size; in snd_seq_dump_var_event()
615 unsigned int curptr; in snd_atiixp_pcm_pointer() local619 curptr = readl(chip->remap_addr + dma->ops->dt_cur); in snd_atiixp_pcm_pointer()620 if (curptr < dma->buf_addr) in snd_atiixp_pcm_pointer()622 curptr -= dma->buf_addr; in snd_atiixp_pcm_pointer()623 if (curptr >= dma->buf_bytes) in snd_atiixp_pcm_pointer()625 return bytes_to_frames(runtime, curptr); in snd_atiixp_pcm_pointer()
665 unsigned int curptr; in snd_atiixp_pcm_pointer() local669 curptr = readl(chip->remap_addr + dma->ops->dt_cur); in snd_atiixp_pcm_pointer()670 if (curptr < dma->buf_addr) in snd_atiixp_pcm_pointer()672 curptr -= dma->buf_addr; in snd_atiixp_pcm_pointer()673 if (curptr >= dma->buf_bytes) in snd_atiixp_pcm_pointer()675 return bytes_to_frames(runtime, curptr); in snd_atiixp_pcm_pointer()