Lines Matching refs:shreg
122 unsigned int shreg; member
210 if (bc->modem.shreg <= 1) in ser12_tx()
211 bc->modem.shreg = 0x10000 | hdlcdrv_getbits(&bc->hdrv); in ser12_tx()
213 (bc->modem.shreg & 1)); in ser12_tx()
214 bc->modem.shreg >>= 1; in ser12_tx()
287 bc->modem.shreg >>= 1; in ser12_rx()
290 bc->modem.shreg |= 0x10000; in ser12_rx()
342 bc->modem.shreg >>= 1; in ser12_rx()
345 bc->modem.shreg |= 0x10000; in ser12_rx()
356 if (bc->modem.shreg & 1) { in ser12_rx()
357 hdlcdrv_putbits(&bc->hdrv, bc->modem.shreg >> 1); in ser12_rx()
358 bc->modem.shreg = 0x10000; in ser12_rx()