Home
last modified time | relevance | path

Searched refs:HDLCDRV_HDLCBUFFER (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/include/linux/
H A Dhdlcdrv.h17 #define HDLCDRV_HDLCBUFFER 32 /* should be a power of 2 for speed reasons */ macro
29 unsigned short buf[HDLCDRV_HDLCBUFFER];
164 ret = !((HDLCDRV_HDLCBUFFER - 1 + hb->rd - hb->wr) % HDLCDRV_HDLCBUFFER); in hdlcdrv_hbuf_full()
194 newr = (hb->rd+1) % HDLCDRV_HDLCBUFFER; in hdlcdrv_hbuf_get()
211 newp = (hb->wr+1) % HDLCDRV_HDLCBUFFER; in hdlcdrv_hbuf_put()