tq 80 bsp/drv/dev/base/tty.c tty_getc(struct tty_queue *tq) tq 86 bsp/drv/dev/base/tty.c if (ttyq_empty(tq)) { tq 90 bsp/drv/dev/base/tty.c c = tq->tq_buf[tq->tq_head]; tq 91 bsp/drv/dev/base/tty.c tq->tq_head = ttyq_next(tq->tq_head); tq 92 bsp/drv/dev/base/tty.c tq->tq_count--; tq 101 bsp/drv/dev/base/tty.c tty_putc(int c, struct tty_queue *tq) tq 106 bsp/drv/dev/base/tty.c if (ttyq_full(tq)) { tq 110 bsp/drv/dev/base/tty.c tq->tq_buf[tq->tq_tail] = (char)(c & 0xff); tq 111 bsp/drv/dev/base/tty.c tq->tq_tail = ttyq_next(tq->tq_tail); tq 112 bsp/drv/dev/base/tty.c tq->tq_count++; tq 120 bsp/drv/dev/base/tty.c tty_unputc(struct tty_queue *tq) tq 125 bsp/drv/dev/base/tty.c if (ttyq_empty(tq)) tq 128 bsp/drv/dev/base/tty.c tq->tq_tail = ttyq_prev(tq->tq_tail); tq 129 bsp/drv/dev/base/tty.c c = tq->tq_buf[tq->tq_tail]; tq 130 bsp/drv/dev/base/tty.c tq->tq_count--;