Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/speakup/
Dbuffers.c12 static u16 *buff_in = synth_buffer; variable
50 if (buff_in >= buff_out) in synth_buffer_free()
51 chars_free = SYNTH_BUF_SIZE - (buff_in - buff_out); in synth_buffer_free()
53 chars_free = buff_out - buff_in; in synth_buffer_free()
59 return (buff_in == buff_out); in synth_buffer_empty()
77 *buff_in++ = ch; in synth_buffer_add()
78 if (buff_in > buffer_end) in synth_buffer_add()
79 buff_in = synth_buffer; in synth_buffer_add()
90 if (buff_out == buff_in) in synth_buffer_getc()
101 if (buff_out == buff_in) in synth_buffer_peek()
[all …]
/Linux-v5.4/sound/drivers/
Dserial-u16550.c147 int buff_in; member
365 uart->buff_in = 0; in snd_uart16550_do_open()
584 unsigned short buff_in = uart->buff_in; in snd_uart16550_write_buffer() local
586 uart->tx_buff[buff_in] = byte; in snd_uart16550_write_buffer()
587 buff_in++; in snd_uart16550_write_buffer()
588 buff_in &= TX_BUFF_MASK; in snd_uart16550_write_buffer()
589 uart->buff_in = buff_in; in snd_uart16550_write_buffer()