Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/kernel/
H A Drtlx.c47 chan->lx_read, chan->lx_write); in dump_rtlx()
202 if (chan->lx_read == chan->lx_write) { in rtlx_read_poll()
206 (chan->lx_read != chan->lx_write) || in rtlx_read_poll()
217 return (chan->lx_write + chan->buffer_size - chan->lx_read) in rtlx_read_poll()
259 (size_t)(lx_write + lx->buffer_size - lx->lx_read) in rtlx_read()
263 fl = min(count, (size_t)lx->buffer_size - lx->lx_read); in rtlx_read()
265 failed = copy_to_user(buff, lx->lx_buffer + lx->lx_read, fl); in rtlx_read()
277 lx->lx_read = (lx->lx_read + count) % lx->buffer_size; in rtlx_read()
/openbmc/linux/arch/mips/include/asm/
H A Drtlx.h77 int lx_write, lx_read; member