Lines Matching refs:howmany
680 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_read() local
703 howmany = ((channel->wr_buffers[bufidx]->end_offset in xillybus_read()
708 if (howmany > bytes_to_do) { in xillybus_read()
711 howmany = bytes_to_do; in xillybus_read()
712 channel->wr_host_buf_pos += howmany; in xillybus_read()
759 + bufpos, howmany)) in xillybus_read()
762 userbuf += howmany; in xillybus_read()
763 bytes_done += howmany; in xillybus_read()
1193 int howmany = 0, bufpos = 0, bufidx = 0, bufferdone = 0; in xillybus_write() local
1213 howmany = channel->rd_buf_size - bufpos; in xillybus_write()
1221 if ((howmany > bytes_to_do) && in xillybus_write()
1226 howmany = bytes_to_do; in xillybus_write()
1227 channel->rd_host_buf_pos += howmany; in xillybus_write()
1240 howmany = 0; in xillybus_write()
1305 userbuf, howmany)) in xillybus_write()
1308 userbuf += howmany; in xillybus_write()
1309 bytes_done += howmany; in xillybus_write()