Home
last modified time | relevance | path

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

/kernel/liteos_a/net/telnet/src/
Dtelnet_dev.c119 telnetDev->cmdFifo->rxIndex %= FIFO_MAX; in TelnetTx()
161 telnetDev->cmdFifo->fifoNum = FIFO_MAX; in TelnetOpen()
218 if (bufLen > (FIFO_MAX - telnetDev->cmdFifo->fifoNum)) { in TelnetRead()
219 bufLen = FIFO_MAX - telnetDev->cmdFifo->fifoNum; in TelnetRead()
224 if (telnetDev->cmdFifo->rxOutIndex >= FIFO_MAX) { in TelnetRead()
230 if (telnetDev->cmdFifo->fifoNum == FIFO_MAX) { in TelnetRead()
327 if (telnetDev->cmdFifo->fifoNum != FIFO_MAX) { in TelnetPoll()
/kernel/liteos_a/net/telnet/include/
Dtelnet_dev.h48 #define FIFO_MAX 1024 macro
60 CHAR rxBuf[FIFO_MAX]; /* the real buffer to store user's commands */