Lines Matching refs:shreg
34 unsigned int shreg; member
47 unsigned int shreg; member
75 if (st->shreg <= 1) in modulator_2666_u8()
76 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000; in modulator_2666_u8()
78 st->scram ^= (!(st->shreg & 1)); in modulator_2666_u8()
79 st->shreg >>= 1; in modulator_2666_u8()
99 if (st->shreg <= 1) in modulator_2666_s16()
100 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000; in modulator_2666_s16()
102 st->scram ^= (!(st->shreg & 1)); in modulator_2666_s16()
103 st->shreg >>= 1; in modulator_2666_s16()
284 st->shreg >>= 1; in demod_one_sample()
285 st->shreg |= (!(descx & 1)) << 16; in demod_one_sample()
286 if (st->shreg & 1) { in demod_one_sample()
287 hdlcdrv_putbits(&sm->hdrv, st->shreg >> 1); in demod_one_sample()
288 st->shreg = 0x10000; in demod_one_sample()