Lines Matching refs:howmany
682 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
705 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read()
710 if (howmany > bytes_to_do) { in xillybus_read()
713 howmany = bytes_to_do; in xillybus_read()
714 channel->wr_host_buf_pos += howmany; in xillybus_read()
761 + bufpos, howmany)) in xillybus_read()
764 userbuf += howmany; in xillybus_read()
765 bytes_done += howmany; in xillybus_read()
1195 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local
1215 howmany = channel->rd_buf_size - bufpos; in xillybus_write()
1223 if ((howmany > bytes_to_do) && in xillybus_write()
1228 howmany = bytes_to_do; in xillybus_write()
1229 channel->rd_host_buf_pos += howmany; in xillybus_write()
1242 howmany = 0; in xillybus_write()
1307 userbuf, howmany)) in xillybus_write()
1310 userbuf += howmany; in xillybus_write()
1311 bytes_done += howmany; in xillybus_write()