Searched refs:buf_write_count (Results 1 – 12 of 12) sorted by relevance
158 async->buf_write_count = 0; in comedi_buf_reset()258 return async->buf_write_alloc_count - async->buf_write_count; in comedi_buf_write_n_allocated()270 async->buf_write_count += nbytes; in comedi_buf_write_free()272 comedi_buf_munge(async, async->buf_write_count - async->munge_count); in comedi_buf_write_free()
142 unsigned int buf_write_count; member
935 bi.buf_write_count = 0; in do_bufinfo_ioctl()954 async->buf_write_count == async->buf_read_count) { in do_bufinfo_ioctl()966 bi.buf_write_count = async->buf_write_count; in do_bufinfo_ioctl()2190 async->buf_read_count - async->buf_write_count == 0) { in comedi_read()
488 unsigned int buf_write_count; member
169 if (s->async->buf_write_count >= devpriv->ai_bytes_to_read) { in intr_handler()
495 return s->async->buf_write_count - s->async->buf_read_count; in das16m1_poll()
560 count = nbytes - async->buf_write_count; in mite_sync_input_dma()
675 return s->async->buf_write_count - s->async->buf_read_count; in pcl816_ai_poll()
400 count = s->async->buf_write_count - s->async->buf_read_count; in ni_pcidio_poll()
975 return s->async->buf_write_count - s->async->buf_read_count; in pcl812_ai_poll()
715 return s->async->buf_write_count - s->async->buf_read_count; in das1800_ai_poll()
1835 count = s->async->buf_write_count - s->async->buf_read_count; in ni_ai_poll()