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

/drivers/staging/line6/
H A Dmidibuf.c38 return (this->pos_read == this->pos_write) && !this->full;
48 this->pos_read = this->pos_write = this->full = 0;
67 printk(KERN_DEBUG "midibuf size=%d split=%d pos_read=%d pos_write=%d "
69 this->pos_read, this->pos_write, this->full, this->command_prev);
77 (this->pos_read - this->pos_write + this->size - 1) % this->size +
86 (this->pos_write - this->pos_read + this->size - 1) % this->size +
126 if (this->pos_write == this->pos_read)
154 length1 = this->size - this->pos_read;
157 command = this->buf[this->pos_read];
181 if (this->buf[this->pos_read
[all...]
H A Dmidibuf.h19 int pos_read, pos_write; member in struct:MidiBuffer

Completed in 63 milliseconds