Lines Matching refs:howmany
703 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
726 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read()
731 if (howmany > bytes_to_do) { in xillybus_read()
734 howmany = bytes_to_do; in xillybus_read()
735 channel->wr_host_buf_pos += howmany; in xillybus_read()
781 + bufpos, howmany)) in xillybus_read()
784 userbuf += howmany; in xillybus_read()
785 bytes_done += howmany; in xillybus_read()
1213 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local
1233 howmany = channel->rd_buf_size - bufpos; in xillybus_write()
1241 if ((howmany > bytes_to_do) && in xillybus_write()
1246 howmany = bytes_to_do; in xillybus_write()
1247 channel->rd_host_buf_pos += howmany; in xillybus_write()
1260 howmany = 0; in xillybus_write()
1324 userbuf, howmany)) in xillybus_write()
1327 userbuf += howmany; in xillybus_write()
1328 bytes_done += howmany; in xillybus_write()