Searched refs:hdlcrx (Results 1 – 3 of 3) sorted by relevance
120 if (s->hdlcrx.len >= sizeof(s->hdlcrx.buffer)) { in hdlc_rx_add_bytes()125 s->hdlcrx.len++; in hdlc_rx_add_bytes()138 if (s->hdlcrx.len < 4) in hdlc_rx_flag()140 if (!check_crc_ccitt(s->hdlcrx.buffer, s->hdlcrx.len)) in hdlc_rx_flag()193 s->hdlcrx.len = 0; in hdlcdrv_receiver()194 s->hdlcrx.bp = s->hdlcrx.buffer; in hdlcdrv_receiver()200 s->hdlcrx.bitbuf = (s->hdlcrx.bitbuf & (~mask6)) | in hdlcdrv_receiver()204 s->hdlcrx.numbits -= hdlc_rx_add_bytes(s, s->hdlcrx.bitbuf, in hdlcdrv_receiver()373 if (s->hdlcrx.dcd) { in hdlcdrv_arbitrate()445 s->hdlcrx.hbuf.rd = s->hdlcrx.hbuf.wr = 0; in hdlcdrv_open()[all …]
180 } hdlcrx; member533 if (bc->hdlcrx.bufcnt < 4) in do_rxpacket()535 if (!check_crc_ccitt(bc->hdlcrx.buf, bc->hdlcrx.bufcnt)) in do_rxpacket()562 state = bc->hdlcrx.state; in receive()564 bitbuf = bc->hdlcrx.bitbuf; in receive()593 bc->hdlcrx.bufcnt = 0; in receive()594 bc->hdlcrx.bufptr = bc->hdlcrx.buf; in receive()611 bc->hdlcrx.bufcnt++; in receive()618 bc->hdlcrx.state = state; in receive()923 bc->hdlcrx.state = 0; in epp_open()[all …]
119 } hdlcrx; member223 hdlcdrv_hbuf_put(&s->hdlcrx.hbuf, bits); in hdlcdrv_putbits()239 hdlcdrv_hbuf_put(&s->hdlcrx.hbuf, ret); in hdlcdrv_getbits()253 s->hdlcrx.dcd = !!dcd; in hdlcdrv_setdcd()