Home
last modified time | relevance | path

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

/sound/usb/line6/
Dmidibuf.c43 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty()
53 this->pos_read = this->pos_write = this->full = 0; in line6_midibuf_reset()
75 (this->pos_read - this->pos_write + this->size - 1) % this->size + in line6_midibuf_bytes_free()
84 (this->pos_write - this->pos_read + this->size - 1) % this->size + in line6_midibuf_bytes_used()
124 if (this->pos_write == this->pos_read) in line6_midibuf_write()
153 length1 = this->size - this->pos_read; in line6_midibuf_read()
156 command = this->buf[this->pos_read]; in line6_midibuf_read()
180 if (this->buf[this->pos_read + i] & 0x80) in line6_midibuf_read()
189 if (this->buf[this->pos_read + i] & 0x80) in line6_midibuf_read()
219 memcpy(data + repeat, this->buf + this->pos_read, length); in line6_midibuf_read()
[all …]
Dmidibuf.h19 int pos_read, pos_write; member