Searched refs:shreg (Results 1 – 5 of 5) sorted by relevance
36 unsigned int shreg; member45 new = buf->shreg & 1; in hdlcdrv_add_bitbuffer()46 buf->shreg >>= 1; in hdlcdrv_add_bitbuffer()47 buf->shreg |= (!!bit) << 7; in hdlcdrv_add_bitbuffer()49 buf->buffer[buf->wr] = buf->shreg; in hdlcdrv_add_bitbuffer()51 buf->shreg = 0x80; in hdlcdrv_add_bitbuffer()
106 unsigned int shreg; member194 if (bc->modem.shreg <= 1) in ser12_tx()195 bc->modem.shreg = 0x10000 | hdlcdrv_getbits(&bc->hdrv); in ser12_tx()197 (bc->modem.shreg & 1)); in ser12_tx()198 bc->modem.shreg >>= 1; in ser12_tx()271 bc->modem.shreg >>= 1; in ser12_rx()274 bc->modem.shreg |= 0x10000; in ser12_rx()326 bc->modem.shreg >>= 1; in ser12_rx()329 bc->modem.shreg |= 0x10000; in ser12_rx()340 if (bc->modem.shreg & 1) { in ser12_rx()[all …]
121 unsigned int shreg; member207 if (bc->modem.shreg & 1) { in ser12_rx()208 hdlcdrv_putbits(&bc->hdrv, (bc->modem.shreg >> 1) ^ 0xffff); in ser12_rx()209 bc->modem.shreg = 0x10000; in ser12_rx()212 bc->modem.shreg >>= 1; in ser12_rx()226 bc->modem.shreg |= 0x10000; in ser12_rx()
660 s->bitbuf_channel.shreg = 0x80; in hdlcdrv_setup()663 s->bitbuf_hdlc.shreg = 0x80; in hdlcdrv_setup()
121 unsigned int shreg; member