Lines Matching refs:bufpos
682 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
704 bufpos = channel->wr_host_buf_pos; in xillybus_read()
707 - bufpos; in xillybus_read()
751 if (bufpos == 0) /* Position zero means it's virgin */ in xillybus_read()
761 + bufpos, howmany)) in xillybus_read()
1195 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local
1214 bufpos = channel->rd_host_buf_pos; in xillybus_write()
1215 howmany = channel->rd_buf_size - bufpos; in xillybus_write()
1225 ((bufpos >> channel->log2_element_size) == 0))) { in xillybus_write()
1244 end_offset_plus1 = bufpos >> in xillybus_write()
1290 if ((bufpos == 0) || /* Zero means it's virgin */ in xillybus_write()
1299 for (i = 0; i < bufpos; i++) in xillybus_write()
1306 channel->rd_buffers[bufidx]->addr + bufpos, in xillybus_write()