Searched refs:buf_read_ptr (Results 1 – 4 of 4) sorted by relevance
696 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()
598 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()
156 unsigned int buf_read_ptr; /* buffer marker for reader */ member
439 unsigned int buf_read_ptr; member