Lines Matching refs:shreg
43 unsigned int shreg; member
53 unsigned int shreg; member
71 if (st->shreg <= 1) in modulator_2400_u8()
72 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000; in modulator_2400_u8()
73 st->tx_bit = (st->tx_bit ^ (!(st->shreg & 1))) & 1; in modulator_2400_u8()
74 st->shreg >>= 1; in modulator_2400_u8()
92 if (st->shreg <= 1) in modulator_2400_s16()
93 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000; in modulator_2400_s16()
94 st->tx_bit = (st->tx_bit ^ (!(st->shreg & 1))) & 1; in modulator_2400_s16()
95 st->shreg >>= 1; in modulator_2400_s16()
208 st->shreg >>= 1; in demodulator_2400_u8()
209 st->shreg |= (!(st->last_rxbit ^ in demodulator_2400_u8()
213 if (st->shreg & 1) { in demodulator_2400_u8()
214 hdlcdrv_putbits(&sm->hdrv, st->shreg >> 1); in demodulator_2400_u8()
215 st->shreg = 0x10000; in demodulator_2400_u8()
259 st->shreg >>= 1; in demodulator_2400_s16()
260 st->shreg |= (!(st->last_rxbit ^ in demodulator_2400_s16()
264 if (st->shreg & 1) { in demodulator_2400_s16()
265 hdlcdrv_putbits(&sm->hdrv, st->shreg >> 1); in demodulator_2400_s16()
266 st->shreg = 0x10000; in demodulator_2400_s16()