Searched refs:hdlctx (Results 1 – 2 of 2) sorted by relevance
262 if (test_and_set_bit(0, &s->hdlctx.in_hdlc_tx)) in hdlcdrv_transmitter()265 if (s->hdlctx.numbits >= 16) { in hdlcdrv_transmitter()266 if (hdlcdrv_hbuf_full(&s->hdlctx.hbuf)) { in hdlcdrv_transmitter()267 clear_bit(0, &s->hdlctx.in_hdlc_tx); in hdlcdrv_transmitter()270 hdlcdrv_hbuf_put(&s->hdlctx.hbuf, s->hdlctx.bitbuf); in hdlcdrv_transmitter()271 s->hdlctx.bitbuf >>= 16; in hdlcdrv_transmitter()272 s->hdlctx.numbits -= 16; in hdlcdrv_transmitter()274 switch (s->hdlctx.tx_state) { in hdlcdrv_transmitter()276 clear_bit(0, &s->hdlctx.in_hdlc_tx); in hdlcdrv_transmitter()280 if (s->hdlctx.numflags) { in hdlcdrv_transmitter()[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()