Home
last modified time | relevance | path

Searched refs:scram (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/net/hamradio/soundmodem/
Dsm_fsk9600.c46 unsigned long scram; member
75 st->scram = (st->scram << 1) | (st->scram & 1); in modulator_9600_4_u8()
76 st->scram ^= !(st->shreg & 1); in modulator_9600_4_u8()
78 if (st->scram & (SCRAM_TAP1 << 1)) in modulator_9600_4_u8()
79 st->scram ^= SCRAM_TAPN << 1; in modulator_9600_4_u8()
80 st->tx_bit = (st->tx_bit << 1) | (!!(st->scram & (SCRAM_TAP1 << 2))); in modulator_9600_4_u8()
100 st->scram = (st->scram << 1) | (st->scram & 1); in modulator_9600_4_s16()
101 st->scram ^= !(st->shreg & 1); in modulator_9600_4_s16()
103 if (st->scram & (SCRAM_TAP1 << 1)) in modulator_9600_4_s16()
104 st->scram ^= SCRAM_TAPN << 1; in modulator_9600_4_s16()
[all …]
Dsm_afsk2666.c48 unsigned long scram; member
77 st->scram = ((st->scram << 1) | (st->scram & 1)); in modulator_2666_u8()
78 st->scram ^= (!(st->shreg & 1)); in modulator_2666_u8()
80 if (st->scram & (SCRAM_TAP1 << 1)) in modulator_2666_u8()
81 st->scram ^= SCRAM_TAPN << 1; in modulator_2666_u8()
82 st->phinc = afsk26_carfreq[!(st->scram & (SCRAM_TAP1 << 2))]; in modulator_2666_u8()
101 st->scram = ((st->scram << 1) | (st->scram & 1)); in modulator_2666_s16()
102 st->scram ^= (!(st->shreg & 1)); in modulator_2666_s16()
104 if (st->scram & (SCRAM_TAP1 << 1)) in modulator_2666_s16()
105 st->scram ^= SCRAM_TAPN << 1; in modulator_2666_s16()
[all …]
Dsm_psk4800.c87 unsigned long scram; member
107 st->scram = (st->scram << 1) | in modulator_4800_u8()
110 if (st->scram & SCRAM_TAP1) in modulator_4800_u8()
111 st->scram ^= SCRAM_TAPN; in modulator_4800_u8()
113 j = (st->scram >> (SCRAM_SHIFT+3)) & 7; in modulator_4800_u8()
144 st->scram = (st->scram << 1) | in modulator_4800_s16()
147 if (st->scram & SCRAM_TAP1) in modulator_4800_s16()
148 st->scram ^= SCRAM_TAPN; in modulator_4800_s16()
150 j = (st->scram >> (SCRAM_SHIFT+3)) & 7; in modulator_4800_s16()
391 st->scram = 1; in mod_init_4800()
/linux-2.4.37.9/drivers/net/hamradio/
Dbaycom_par.c143 unsigned long scram; member
204 bc->modem.par96.scram = ((bc->modem.par96.scram << 1) | in par96_tx()
205 (bc->modem.par96.scram & 1)); in par96_tx()
207 bc->modem.par96.scram ^= 1; in par96_tx()
208 if (bc->modem.par96.scram & (PAR96_SCRAM_TAP1 << 1)) in par96_tx()
209 bc->modem.par96.scram ^= in par96_tx()
211 if (bc->modem.par96.scram & (PAR96_SCRAM_TAP1 << 2)) in par96_tx()