Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/comedi/
Ddrivers.c659 async->buf_write_ptr += nbytes; in comedi_buf_write_free()
661 if (async->buf_write_ptr >= async->prealloc_bufsz) in comedi_buf_write_free()
662 async->buf_write_ptr %= async->prealloc_bufsz; in comedi_buf_write_free()
705 unsigned int write_ptr = async->buf_write_ptr + offset; in comedi_buf_memcpy_to()
792 *(short *)(async->prealloc_buf + async->buf_write_ptr) = x; in comedi_buf_put()
805 async->buf_write_ptr = 0; in comedi_reset_async_buf()
Dcomedi_fops.c597 bi.buf_write_ptr = 0; in do_bufinfo_ioctl()
632 bi.buf_write_ptr = async->buf_write_ptr; in do_bufinfo_ioctl()
1676 if (async->buf_write_ptr + m > async->prealloc_bufsz) in comedi_write()
1677 m = async->prealloc_bufsz - async->buf_write_ptr; in comedi_write()
1703 m = copy_from_user(async->prealloc_buf + async->buf_write_ptr, in comedi_write()
Dcomedidev.h155 unsigned int buf_write_ptr; /* buffer marker for writer */ member
Dcomedi.h438 unsigned int buf_write_ptr; member