Searched refs:hdlctx (Results 1 – 3 of 3) sorted by relevance
270 hdlcdrv_hbuf_put(&s->hdlctx.hbuf, s->hdlctx.bitbuf); in hdlcdrv_transmitter()312 s->hdlctx.bp = s->hdlctx.buffer; in hdlcdrv_transmitter()325 s->hdlctx.len--; in hdlcdrv_transmitter()326 s->hdlctx.bitbuf |= *s->hdlctx.bp << in hdlcdrv_transmitter()329 s->hdlctx.bitstream |= (*s->hdlctx.bp++) << 16; in hdlcdrv_transmitter()357 s->hdlctx.bitbuf = s->hdlctx.bitstream = s->hdlctx.numbits = 0; in start_tx()359 s->hdlctx.ptt = 1; in start_tx()449 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0; in hdlcdrv_open()453 s->hdlctx.bitstream = s->hdlctx.bitbuf = s->hdlctx.numbits = 0; in hdlcdrv_open()649 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0; in hdlcdrv_setup()[all …]
190 } hdlctx; member374 wp = bc->hdlctx.buf; in encode_hdlc()412 bc->hdlctx.bufptr = bc->hdlctx.buf; in encode_hdlc()413 bc->hdlctx.bufcnt = wp - bc->hdlctx.buf; in encode_hdlc()428 if (bc->hdlctx.state == tx_idle && bc->hdlctx.calibrate <= 0) { in transmit()445 if (bc->hdlctx.state == tx_idle && bc->hdlctx.bufcnt > 0) { in transmit()455 bc->hdlctx.flags -= i; in transmit()477 bc->hdlctx.bufcnt -= i; in transmit()481 bc->hdlctx.bufptr += i; in transmit()493 bc->hdlctx.flags -= i; in transmit()[all …]
142 } hdlctx; member230 if (hdlcdrv_hbuf_empty(&s->hdlctx.hbuf)) { in hdlcdrv_getbits()231 if (s->hdlctx.calibrate > 0) in hdlcdrv_getbits()232 s->hdlctx.calibrate--; in hdlcdrv_getbits()234 s->hdlctx.ptt = 0; in hdlcdrv_getbits()237 ret = hdlcdrv_hbuf_get(&s->hdlctx.hbuf); in hdlcdrv_getbits()258 return s->hdlctx.ptt || (s->hdlctx.calibrate > 0); in hdlcdrv_ptt()