Searched refs:shreg (Results 1 – 5 of 5) sorted by relevance
131 unsigned int shreg; member140 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()
121 unsigned int shreg; member209 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 …]
134 unsigned int shreg; member245 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()
662 s->bitbuf_channel.shreg = 0x80; in hdlcdrv_setup()665 s->bitbuf_hdlc.shreg = 0x80; in hdlcdrv_setup()
138 unsigned int shreg; member