Lines Matching refs:bufpos
703 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
725 bufpos = channel->wr_host_buf_pos; in xillybus_read()
728 - bufpos; in xillybus_read()
772 if (bufpos == 0) /* Position zero means it's virgin */ in xillybus_read()
781 + bufpos, howmany)) in xillybus_read()
1213 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local
1232 bufpos = channel->rd_host_buf_pos; in xillybus_write()
1233 howmany = channel->rd_buf_size - bufpos; in xillybus_write()
1243 ((bufpos >> channel->log2_element_size) == 0))) { in xillybus_write()
1262 end_offset_plus1 = bufpos >> in xillybus_write()
1308 if ((bufpos == 0) || /* Zero means it's virgin */ in xillybus_write()
1316 for (i = 0; i < bufpos; i++) in xillybus_write()
1323 channel->rd_buffers[bufidx]->addr + bufpos, in xillybus_write()