Lines Matching refs:bufpos
680 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
702 bufpos = channel->wr_host_buf_pos; in xillybus_read()
705 - bufpos; in xillybus_read()
749 if (bufpos == 0) /* Position zero means it's virgin */ in xillybus_read()
759 + bufpos, howmany)) in xillybus_read()
1193 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local
1212 bufpos = channel->rd_host_buf_pos; in xillybus_write()
1213 howmany = channel->rd_buf_size - bufpos; in xillybus_write()
1223 ((bufpos >> channel->log2_element_size) == 0))) { in xillybus_write()
1242 end_offset_plus1 = bufpos >> in xillybus_write()
1288 if ((bufpos == 0) || /* Zero means it's virgin */ in xillybus_write()
1297 for (i = 0; i < bufpos; i++) in xillybus_write()
1304 channel->rd_buffers[bufidx]->addr + bufpos, in xillybus_write()