Searched refs:hdlctx (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/net/hamradio/
H A Dhdlcdrv.c262 if (test_and_set_bit(0, &s->hdlctx.in_hdlc_tx))
265 if (s->hdlctx.numbits >= 16) {
266 if (hdlcdrv_hbuf_full(&s->hdlctx.hbuf)) {
267 clear_bit(0, &s->hdlctx.in_hdlc_tx);
270 hdlcdrv_hbuf_put(&s->hdlctx.hbuf, s->hdlctx.bitbuf);
271 s->hdlctx.bitbuf >>= 16;
272 s->hdlctx.numbits -= 16;
274 switch (s->hdlctx.tx_state) {
276 clear_bit(0, &s->hdlctx
[all...]
H A Dbaycom_epp.c190 } hdlctx; member in struct:baycom_state
367 if (bc->hdlctx.bufcnt > 0)
374 wp = bc->hdlctx.buf;
412 bc->hdlctx.bufptr = bc->hdlctx.buf;
413 bc->hdlctx.bufcnt = wp - bc->hdlctx.buf;
426 if (bc->hdlctx.state == tx_tail && !(stat & EPP_PTTBIT))
427 bc->hdlctx.state = tx_idle;
428 if (bc->hdlctx
[all...]
/linux-master/include/linux/
H A Dhdlcdrv.h142 } hdlctx; member in struct:hdlcdrv_state
230 if (hdlcdrv_hbuf_empty(&s->hdlctx.hbuf)) {
231 if (s->hdlctx.calibrate > 0)
232 s->hdlctx.calibrate--;
234 s->hdlctx.ptt = 0;
237 ret = hdlcdrv_hbuf_get(&s->hdlctx.hbuf);
258 return s->hdlctx.ptt || (s->hdlctx.calibrate > 0);

Completed in 110 milliseconds