Home
last modified time | relevance | path

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

/linux/sound/usb/line6/
A Dmidibuf.c39 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty()
49 this->pos_read = this->pos_write = this->full = 0; in line6_midibuf_reset()
120 if (this->pos_write == this->pos_read) in line6_midibuf_write()
149 length1 = this->size - this->pos_read; in line6_midibuf_read()
152 command = this->buf[this->pos_read]; in line6_midibuf_read()
176 if (this->buf[this->pos_read + i] & 0x80) in line6_midibuf_read()
185 if (this->buf[this->pos_read + i] & 0x80) in line6_midibuf_read()
215 memcpy(data + repeat, this->buf + this->pos_read, length); in line6_midibuf_read()
216 this->pos_read += length; in line6_midibuf_read()
222 this->pos_read = length2; in line6_midibuf_read()
[all …]
A Dmidibuf.h15 int pos_read, pos_write; member

Completed in 5 milliseconds