Home
last modified time | relevance | path

Searched refs:bytes_left (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/accelerants/radeon/
H A DCP.h115 #define WRITE_IB_PACKET3_HEAD( command, count, bytes_left, dwords_per_block, dwords_in_header ) \ argument
117 (min( bytes_left, (1 << 14) - 1 + 2) - dwords_in_header) / dwords_per_block ); \
/haiku/src/add-ons/kernel/drivers/midi/usb_midi/
H A Dusb_midi.cpp201 size_t bytes_left = midiDevice->actual_length; in interpret_midi_buffer() local
204 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() local
667 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()