Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/line6/
Dmidibuf.c38 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty()
48 this->pos_read = this->pos_write = this->full = 0; in line6_midibuf_reset()
69 this->pos_read, this->pos_write, this->full, this->command_prev); in line6_midibuf_status()
77 (this->pos_read - this->pos_write + this->size - 1) % this->size + in line6_midibuf_bytes_free()
86 (this->pos_write - this->pos_read + this->size - 1) % this->size + in line6_midibuf_bytes_used()
112 length1 = this->size - this->pos_write; in line6_midibuf_write()
116 memcpy(this->buf + this->pos_write, data, length); in line6_midibuf_write()
117 this->pos_write += length; in line6_midibuf_write()
121 memcpy(this->buf + this->pos_write, data, length1); in line6_midibuf_write()
123 this->pos_write = length2; in line6_midibuf_write()
[all …]
Dmidibuf.h19 int pos_read, pos_write; member