Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/comedi/
Ddrivers.c696 async->buf_read_ptr += nbytes; in comedi_buf_read_free()
697 async->buf_read_ptr %= async->prealloc_bufsz; in comedi_buf_read_free()
732 unsigned int read_ptr = async->buf_read_ptr + offset; in comedi_buf_memcpy_from()
778 *x = *(short *)(async->prealloc_buf + async->buf_read_ptr); in comedi_buf_get()
806 async->buf_read_ptr = 0; in comedi_reset_async_buf()
Dcomedi_fops.c598 bi.buf_read_ptr = 0; in do_bufinfo_ioctl()
634 bi.buf_read_ptr = async->buf_read_ptr; in do_bufinfo_ioctl()
1775 if (async->buf_read_ptr + m > async->prealloc_bufsz) in comedi_read()
1776 m = async->prealloc_bufsz - async->buf_read_ptr; in comedi_read()
1814 async->buf_read_ptr, n); in comedi_read()
Dcomedidev.h156 unsigned int buf_read_ptr; /* buffer marker for reader */ member
Dcomedi.h439 unsigned int buf_read_ptr; member