Lines Matching refs:shreg
120 unsigned int shreg; member
208 if (bc->modem.shreg <= 1) in ser12_tx()
209 bc->modem.shreg = 0x10000 | hdlcdrv_getbits(&bc->hdrv); in ser12_tx()
211 (bc->modem.shreg & 1)); in ser12_tx()
212 bc->modem.shreg >>= 1; in ser12_tx()
285 bc->modem.shreg >>= 1; in ser12_rx()
288 bc->modem.shreg |= 0x10000; in ser12_rx()
340 bc->modem.shreg >>= 1; in ser12_rx()
343 bc->modem.shreg |= 0x10000; in ser12_rx()
354 if (bc->modem.shreg & 1) { in ser12_rx()
355 hdlcdrv_putbits(&bc->hdrv, bc->modem.shreg >> 1); in ser12_rx()
356 bc->modem.shreg = 0x10000; in ser12_rx()