Home
last modified time | relevance | path

Searched refs:buf_write_count (Results 1 – 13 of 13) sorted by relevance

/drivers/staging/comedi/
Ddrivers.c562 BUG_ON((int)(async->munge_count - async->buf_write_count) > 0); in comedi_buf_munge()
594 BUG_ON((int)(async->munge_count - async->buf_write_count) > 0); in comedi_buf_munge()
653 if ((int)(async->buf_write_count + nbytes - in comedi_buf_write_free()
656 nbytes = async->buf_write_alloc_count - async->buf_write_count; in comedi_buf_write_free()
658 async->buf_write_count += nbytes; in comedi_buf_write_free()
660 comedi_buf_munge(async, async->buf_write_count - async->munge_count); in comedi_buf_write_free()
801 async->buf_write_count = 0; in comedi_reset_async_buf()
Dcomedidev.h147 unsigned int buf_write_count; member
424 return async->buf_write_alloc_count - async->buf_write_count; in comedi_buf_write_n_allocated()
Dcomedi_fops.c599 bi.buf_write_count = 0; in do_bufinfo_ioctl()
619 && async->buf_write_count == async->buf_read_count) { in do_bufinfo_ioctl()
631 bi.buf_write_count = async->buf_write_count; in do_bufinfo_ioctl()
1827 async->buf_read_count - async->buf_write_count == 0) { in comedi_read()
Dcomedi.h440 unsigned int buf_write_count; member
/drivers/staging/comedi/drivers/
Ddas6402.c185 if (s->async->buf_write_count >= devpriv->ai_bytes_to_read) { in intr_handler()
Ddas16m1.c498 return s->async->buf_write_count - s->async->buf_read_count; in das16m1_poll()
Dmite.c586 count = nbytes - async->buf_write_count; in mite_sync_input_dma()
Dpcl816.c807 return s->async->buf_write_count - s->async->buf_read_count; in pcl816_ai_poll()
Dni_pcidio.c501 count = s->async->buf_write_count - s->async->buf_read_count; in ni_pcidio_poll()
Dpcl812.c1203 return s->async->buf_write_count - s->async->buf_read_count; in pcl812_ai_poll()
Ddas1800.c918 return s->async->buf_write_count - s->async->buf_read_count; in das1800_ai_poll()
Drtd520.c1715 return s->async->buf_write_count - s->async->buf_read_count;
Dni_mio_common.c1779 count = s->async->buf_write_count - s->async->buf_read_count; in ni_ai_poll()