Home
last modified time | relevance | path

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

/openbmc/qemu/chardev/
H A Dchardev-internal.h34 #define MUX_BUFFER_MASK (MUX_BUFFER_SIZE - 1) macro
H A Dchar-mux.c199 &d->buffer[m][d->cons[m]++ & MUX_BUFFER_MASK], 1); in mux_chr_accept_input()
237 d->buffer[m][d->prod[m]++ & MUX_BUFFER_MASK] = buf[i]; in mux_chr_read()