Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/usb/line6/
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()
71 (this->pos_read - this->pos_write + this->size - 1) % this->size + in line6_midibuf_bytes_free()
80 (this->pos_write - this->pos_read + this->size - 1) % this->size + in line6_midibuf_bytes_used()
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()
[all …]
Dmidibuf.h15 int pos_read, pos_write; member