Lines Matching refs:hbuf
167 while (!hdlcdrv_hbuf_empty(&s->hdlcrx.hbuf)) {
168 word = hdlcdrv_hbuf_get(&s->hdlcrx.hbuf);
267 if (hdlcdrv_hbuf_full(&s->hdlctx.hbuf)) {
271 hdlcdrv_hbuf_put(&s->hdlctx.hbuf, s->hdlctx.bitbuf);
441 s->hdlcrx.hbuf.rd = s->hdlcrx.hbuf.wr = 0;
445 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0;
634 spin_lock_init(&s->hdlcrx.hbuf.lock);
635 s->hdlcrx.hbuf.rd = s->hdlcrx.hbuf.wr = 0;
639 spin_lock_init(&s->hdlctx.hbuf.lock);
640 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0;