Searched refs:bufptr (Results 1 – 5 of 5) sorted by relevance
/sound/core/seq/ |
D | seq_memory.c | 128 static int seq_copy_in_kernel(char **bufptr, const void *src, int size) in seq_copy_in_kernel() argument 130 memcpy(*bufptr, src, size); in seq_copy_in_kernel() 131 *bufptr += size; in seq_copy_in_kernel() 135 static int seq_copy_in_user(char __user **bufptr, const void *src, int size) in seq_copy_in_user() argument 137 if (copy_to_user(*bufptr, src, size)) in seq_copy_in_user() 139 *bufptr += size; in seq_copy_in_user()
|
/sound/core/ |
D | pcm_compat.c | 322 compat_caddr_t __user *bufptr; in snd_pcm_ioctl_xfern_compat() local 337 bufptr = compat_ptr(buf); in snd_pcm_ioctl_xfern_compat() 343 if (get_user(ptr, bufptr)) { in snd_pcm_ioctl_xfern_compat() 348 bufptr++; in snd_pcm_ioctl_xfern_compat()
|
/sound/pci/nm256/ |
D | nm256.c | 196 void __iomem *bufptr; /* mapped pointer */ member 703 memset_io(s->bufptr + pos, 0, count); in snd_nm256_playback_silence() 718 if (copy_from_user_toio(s->bufptr + pos, src, count)) in snd_nm256_playback_copy() 737 if (copy_to_user_fromio(dst, s->bufptr + pos, count)) in snd_nm256_capture_copy() 843 runtime->dma_area = (void __force *) s->bufptr; in snd_nm256_setup_stream() 939 s->bufptr = chip->buffer + (s->buf - chip->buffer_start); in snd_nm256_pcm()
|
/sound/pci/ |
D | azt3328.c | 1351 unsigned long bufptr, result; in snd_azf3328_playback_pointer() local 1355 bufptr = snd_azf3328_codec_inl(chip, IDX_IO_PLAY_DMA_START_1); in snd_azf3328_playback_pointer() 1357 bufptr = substream->runtime->dma_addr; in snd_azf3328_playback_pointer() 1362 result -= bufptr; in snd_azf3328_playback_pointer() 1372 unsigned long bufptr, result; in snd_azf3328_capture_pointer() local 1376 bufptr = snd_azf3328_codec_inl(chip, IDX_IO_REC_DMA_START_1); in snd_azf3328_capture_pointer() 1378 bufptr = substream->runtime->dma_addr; in snd_azf3328_capture_pointer() 1383 result -= bufptr; in snd_azf3328_capture_pointer()
|
/sound/oss/ |
D | au1550_ac97.c | 993 char *bufptr = to_user ? db->nextOut : db->nextIn; in copy_dmabuf_user() local 997 if (bufptr + count > bufend) { in copy_dmabuf_user() 998 int partial = (int) (bufend - bufptr); in copy_dmabuf_user() 1001 bufptr, partial)) < 0) in copy_dmabuf_user() 1010 if ((cnt = translate_from_user(db, bufptr, userbuf, in copy_dmabuf_user() 1022 ret = translate_to_user(db, userbuf, bufptr, count); in copy_dmabuf_user() 1024 ret = translate_from_user(db, bufptr, userbuf, count); in copy_dmabuf_user()
|