Lines Matching refs:rxfill
87 int rxfill; /* Bytes already RX'd in buffer */ member
240 elm->rxfill = 0; in can327_init_device()
481 if (elm->rxfill >= hexlen + 3 && in can327_parse_frame()
663 elm->rxfill -= i; in can327_drop_bytes()
674 elm->rxfill = 0; in can327_parse_rxbuf()
679 for (pos = 0; pos < elm->rxfill; pos++) { in can327_parse_rxbuf()
697 if (can327_is_ready_char(elm->rxbuf[elm->rxfill - 1])) in can327_parse_rxbuf()
700 elm->rxfill = 0; in can327_parse_rxbuf()
706 while (len < elm->rxfill && elm->rxbuf[len] != '\r') in can327_parse_rxbuf()
716 } else if (len == elm->rxfill) { in can327_parse_rxbuf()
717 if (can327_is_ready_char(elm->rxbuf[elm->rxfill - 1])) { in can327_parse_rxbuf()
722 elm->rxfill = 0; in can327_parse_rxbuf()
738 if (elm->rxfill) in can327_parse_rxbuf()
761 elm->rxfill = 0; in can327_netdev_open()
902 first_new_char_idx = elm->rxfill; in can327_ldisc_rx()
905 if (elm->rxfill >= CAN327_SIZE_RXBUF) { in can327_ldisc_rx()
933 elm->rxbuf[elm->rxfill++] = *cp; in can327_ldisc_rx()