Lines Matching refs:buf_rx
101 volatile struct st_cpc_rx_list buf_rx; /* ptr. to reception buffer */ member
271 cpc_tty->buf_rx.first = cpc_tty->buf_rx.last = NULL; in cpc_tty_init()
327 if (cpc_tty_area[port].buf_rx.first) { in cpc_tty_open()
329 while (cpc_tty_area[port].buf_rx.first) { in cpc_tty_open()
330 aux = (unsigned char *)cpc_tty_area[port].buf_rx.first; in cpc_tty_open()
331 cpc_tty_area[port].buf_rx.first = cpc_tty_area[port].buf_rx.first->next; in cpc_tty_open()
334 cpc_tty_area[port].buf_rx.first = NULL; in cpc_tty_open()
335 cpc_tty_area[port].buf_rx.last = NULL; in cpc_tty_open()
396 if (cpc_tty->buf_rx.first) { in cpc_tty_close()
398 while (cpc_tty->buf_rx.first) { in cpc_tty_close()
399 aux = (unsigned char *)cpc_tty->buf_rx.first; in cpc_tty_close()
400 cpc_tty->buf_rx.first = cpc_tty->buf_rx.first->next; in cpc_tty_close()
403 cpc_tty->buf_rx.first = NULL; in cpc_tty_close()
404 cpc_tty->buf_rx.last = NULL; in cpc_tty_close()
686 if ((buf=cpc_tty->buf_rx.first) != NULL) { in cpc_tty_rx_work()
697 cpc_tty->buf_rx.first = cpc_tty->buf_rx.first->next; in cpc_tty_rx_work()
699 buf = cpc_tty->buf_rx.first; in cpc_tty_rx_work()
871 if (cpc_tty->buf_rx.first == NULL) { in cpc_tty_receive()
872 cpc_tty->buf_rx.first = new; in cpc_tty_receive()
873 cpc_tty->buf_rx.last = new; in cpc_tty_receive()
875 cpc_tty->buf_rx.last->next = new; in cpc_tty_receive()
876 cpc_tty->buf_rx.last = new; in cpc_tty_receive()