Lines Matching refs:rpos
126 unsigned short rpos; /* latest read pos. write zeroes */
680 dev->rpos = in monitor_card()
708 dev->rpos = in monitor_card()
753 dev->rpos = in monitor_card()
854 dev->rpos = in monitor_card()
962 ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) { in cmm_read()
993 j = min(count, (size_t)(dev->rlen - dev->rpos)); in cmm_read()
994 k = dev->rpos; in cmm_read()
1002 j = min(count, (size_t)(dev->rlen - dev->rpos)); in cmm_read()
1013 if (dev->proto == 0 && count > dev->rlen - dev->rpos && i) { in cmm_read()
1021 dev->rpos = dev->rlen + 1; in cmm_read()
1350 dev->rpos = dev->proto ? 0 : nr == 4 ? 5 : nr > dev->rlen ? 5 : nr; in cmm_write()
1352 dev->rlen, dev->rpos, nr); in cmm_write()