Searched refs:bytes_left (Results 1 – 2 of 2) sorted by relevance
115 #define WRITE_IB_PACKET3_HEAD( command, count, bytes_left, dwords_per_block, dwords_in_header ) \ argument117 (min( bytes_left, (1 << 14) - 1 + 2) - dwords_in_header) / dwords_per_block ); \
201 size_t bytes_left = midiDevice->actual_length; in interpret_midi_buffer() local204 while (bytes_left >= sizeof(usb_midi_event_packet)) { in interpret_midi_buffer()226 bytes_left -= sizeof(usb_midi_event_packet); in interpret_midi_buffer()666 size_t bytes_left = *num_bytes; in usb_midi_write() local667 while (bytes_left) { in usb_midi_write()668 size_t xfer_bytes = (bytes_left < buff_lim) ? bytes_left : buff_lim; in usb_midi_write()691 bytes_left -= pkt_bytes; in usb_midi_write()695 if (midicode == 0xF0 && bytes_left < 4) cin = 4 + bytes_left; in usb_midi_write()