Lines Matching refs:bufpos
679 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
701 bufpos = channel->wr_host_buf_pos; in xillybus_read()
704 - bufpos; in xillybus_read()
748 if (bufpos == 0) /* Position zero means it's virgin */ in xillybus_read()
758 + bufpos, howmany)) in xillybus_read()
1192 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local
1211 bufpos = channel->rd_host_buf_pos; in xillybus_write()
1212 howmany = channel->rd_buf_size - bufpos; in xillybus_write()
1222 ((bufpos >> channel->log2_element_size) == 0))) { in xillybus_write()
1241 end_offset_plus1 = bufpos >> in xillybus_write()
1287 if ((bufpos == 0) || /* Zero means it's virgin */ in xillybus_write()
1296 for (i = 0; i < bufpos; i++) in xillybus_write()
1303 channel->rd_buffers[bufidx]->addr + bufpos, in xillybus_write()