Home
last modified time | relevance | path

Searched refs:hdlcrx (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/hamradio/
H A Dhdlcdrv.c118 while (s->hdlcrx.rx_state && num >= 8) { in hdlc_rx_add_bytes()
119 if (s->hdlcrx.len >= sizeof(s->hdlcrx.buffer)) { in hdlc_rx_add_bytes()
120 s->hdlcrx.rx_state = 0; in hdlc_rx_add_bytes()
123 *s->hdlcrx.bp++ = bits >> (32-num); in hdlc_rx_add_bytes()
124 s->hdlcrx.len++; in hdlc_rx_add_bytes()
137 if (s->hdlcrx.len < 4) in hdlc_rx_flag()
139 if (!check_crc_ccitt(s->hdlcrx.buffer, s->hdlcrx.len)) in hdlc_rx_flag()
141 pkt_len = s->hdlcrx in hdlc_rx_flag()
[all...]
H A Dbaycom_epp.c180 } hdlcrx; member
533 if (bc->hdlcrx.bufcnt < 4) in do_rxpacket()
535 if (!check_crc_ccitt(bc->hdlcrx.buf, bc->hdlcrx.bufcnt)) in do_rxpacket()
537 pktlen = bc->hdlcrx.bufcnt-2+1; /* KISS kludge */ in do_rxpacket()
545 memcpy(cp, bc->hdlcrx.buf, pktlen - 1); in do_rxpacket()
561 numbits = bc->hdlcrx.numbits; in receive()
562 state = bc->hdlcrx.state; in receive()
563 bitstream = bc->hdlcrx.bitstream; in receive()
564 bitbuf = bc->hdlcrx in receive()
[all...]
/kernel/linux/linux-6.6/drivers/net/hamradio/
H A Dhdlcdrv.c119 while (s->hdlcrx.rx_state && num >= 8) { in hdlc_rx_add_bytes()
120 if (s->hdlcrx.len >= sizeof(s->hdlcrx.buffer)) { in hdlc_rx_add_bytes()
121 s->hdlcrx.rx_state = 0; in hdlc_rx_add_bytes()
124 *s->hdlcrx.bp++ = bits >> (32-num); 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()
142 pkt_len = s->hdlcrx in hdlc_rx_flag()
[all...]
H A Dbaycom_epp.c180 } hdlcrx; member
533 if (bc->hdlcrx.bufcnt < 4) in do_rxpacket()
535 if (!check_crc_ccitt(bc->hdlcrx.buf, bc->hdlcrx.bufcnt)) in do_rxpacket()
537 pktlen = bc->hdlcrx.bufcnt-2+1; /* KISS kludge */ in do_rxpacket()
545 memcpy(cp, bc->hdlcrx.buf, pktlen - 1); in do_rxpacket()
561 numbits = bc->hdlcrx.numbits; in receive()
562 state = bc->hdlcrx.state; in receive()
563 bitstream = bc->hdlcrx.bitstream; in receive()
564 bitbuf = bc->hdlcrx in receive()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dhdlcdrv.h119 } hdlcrx; member
223 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()
/kernel/linux/linux-6.6/include/linux/
H A Dhdlcdrv.h119 } hdlcrx; member
223 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()

Completed in 6 milliseconds