Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Dhdlcdrv.h131 unsigned int shreg; member
140 new = buf->shreg & 1; in hdlcdrv_add_bitbuffer()
141 buf->shreg >>= 1; in hdlcdrv_add_bitbuffer()
142 buf->shreg |= (!!bit) << 7; in hdlcdrv_add_bitbuffer()
144 buf->buffer[buf->wr] = buf->shreg; in hdlcdrv_add_bitbuffer()
146 buf->shreg = 0x80; in hdlcdrv_add_bitbuffer()
/linux-2.6.39/drivers/net/hamradio/
Dbaycom_ser_hdx.c121 unsigned int shreg; member
209 if (bc->modem.shreg <= 1) in ser12_tx()
210 bc->modem.shreg = 0x10000 | hdlcdrv_getbits(&bc->hdrv); in ser12_tx()
212 (bc->modem.shreg & 1)); in ser12_tx()
213 bc->modem.shreg >>= 1; in ser12_tx()
286 bc->modem.shreg >>= 1; in ser12_rx()
289 bc->modem.shreg |= 0x10000; in ser12_rx()
341 bc->modem.shreg >>= 1; in ser12_rx()
344 bc->modem.shreg |= 0x10000; in ser12_rx()
355 if (bc->modem.shreg & 1) { in ser12_rx()
[all …]
Dbaycom_ser_fdx.c134 unsigned int shreg; member
245 if (bc->modem.shreg & 1) { in ser12_rx()
246 hdlcdrv_putbits(&bc->hdrv, (bc->modem.shreg >> 1) ^ 0xffff); in ser12_rx()
247 bc->modem.shreg = 0x10000; in ser12_rx()
250 bc->modem.shreg >>= 1; in ser12_rx()
264 bc->modem.shreg |= 0x10000; in ser12_rx()
Dhdlcdrv.c662 s->bitbuf_channel.shreg = 0x80; in hdlcdrv_setup()
665 s->bitbuf_hdlc.shreg = 0x80; in hdlcdrv_setup()
Dbaycom_par.c138 unsigned int shreg; member