Lines Matching refs:shreg
34 unsigned int shreg; member
44 unsigned int shreg; member
65 if (st->shreg <= 1) in modulator_1200_u8()
66 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000; in modulator_1200_u8()
67 st->tx_bit = (st->tx_bit ^ (!(st->shreg & 1))) & 1; in modulator_1200_u8()
68 st->shreg >>= 1; in modulator_1200_u8()
84 if (st->shreg <= 1) in modulator_1200_s16()
85 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000; in modulator_1200_s16()
86 st->tx_bit = (st->tx_bit ^ (!(st->shreg & 1))) & 1; in modulator_1200_s16()
87 st->shreg >>= 1; in modulator_1200_s16()
186 st->shreg >>= 1; in demodulator_1200_u8()
187 st->shreg |= (!(st->last_rxbit ^ in demodulator_1200_u8()
191 if (st->shreg & 1) { in demodulator_1200_u8()
192 hdlcdrv_putbits(&sm->hdrv, st->shreg >> 1); in demodulator_1200_u8()
193 st->shreg = 0x10000; in demodulator_1200_u8()
235 st->shreg >>= 1; in demodulator_1200_s16()
236 st->shreg |= (!(st->last_rxbit ^ in demodulator_1200_s16()
240 if (st->shreg & 1) { in demodulator_1200_s16()
241 hdlcdrv_putbits(&sm->hdrv, st->shreg >> 1); in demodulator_1200_s16()
242 st->shreg = 0x10000; in demodulator_1200_s16()