Home
last modified time | relevance | path

Searched refs:shreg (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/drivers/net/hamradio/soundmodem/
Dsm_hapn4800.c45 unsigned int shreg; member
56 unsigned int shreg; member
70 if (st->shreg <= 1) in modulator_hapn4800_10_u8()
71 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000; in modulator_hapn4800_10_u8()
74 st->tx_bit ^= (!(st->shreg & 1)); in modulator_hapn4800_10_u8()
75 st->shreg >>= 1; in modulator_hapn4800_10_u8()
93 if (st->shreg <= 1) in modulator_hapn4800_10_s16()
94 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000; in modulator_hapn4800_10_s16()
97 st->tx_bit ^= (!(st->shreg & 1)); in modulator_hapn4800_10_s16()
98 st->shreg >>= 1; in modulator_hapn4800_10_s16()
[all …]
Dsm_fsk9600.c35 unsigned int shreg; member
45 unsigned int shreg; member
73 if (st->shreg <= 1) in modulator_9600_4_u8()
74 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000; in modulator_9600_4_u8()
76 st->scram ^= !(st->shreg & 1); in modulator_9600_4_u8()
77 st->shreg >>= 1; in modulator_9600_4_u8()
98 if (st->shreg <= 1) in modulator_9600_4_s16()
99 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000; in modulator_9600_4_s16()
101 st->scram ^= !(st->shreg & 1); in modulator_9600_4_s16()
102 st->shreg >>= 1; in modulator_9600_4_s16()
[all …]
Dsm_afsk1200.c34 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()
[all …]
Dsm_afsk2400_7.c43 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()
[all …]
Dsm_afsk2400_8.c43 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()
[all …]
Dsm_afsk2666.c34 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()
[all …]
Dsm_psk4800.c74 unsigned int shreg; member
86 unsigned int shreg; member
105 if (st->shreg <= 1) in modulator_4800_u8()
106 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000; in modulator_4800_u8()
108 (st->shreg & 1); in modulator_4800_u8()
109 st->shreg >>= 1; in modulator_4800_u8()
142 if (st->shreg <= 1) in modulator_4800_s16()
143 st->shreg = hdlcdrv_getbits(&sm->hdrv) | 0x10000; in modulator_4800_s16()
145 (st->shreg & 1); in modulator_4800_s16()
146 st->shreg >>= 1; in modulator_4800_s16()
[all …]
/linux-2.4.37.9/include/linux/
Dhdlcdrv.h131 unsigned int shreg; member
140 new = buf->shreg & 1; in hdlcdrv_add_bitbuffer()
141 buf->shreg >>= 1; in hdlcdrv_add_bitbuffer()
142 buf->shreg |= (!!bit) << 7; in hdlcdrv_add_bitbuffer()
144 buf->buffer[buf->wr] = buf->shreg; in hdlcdrv_add_bitbuffer()
146 buf->shreg = 0x80; in hdlcdrv_add_bitbuffer()
/linux-2.4.37.9/drivers/net/hamradio/
Dbaycom_ser_hdx.c120 unsigned int shreg; member
208 if (bc->modem.shreg <= 1) in ser12_tx()
209 bc->modem.shreg = 0x10000 | hdlcdrv_getbits(&bc->hdrv); in ser12_tx()
211 (bc->modem.shreg & 1)); in ser12_tx()
212 bc->modem.shreg >>= 1; in ser12_tx()
285 bc->modem.shreg >>= 1; in ser12_rx()
288 bc->modem.shreg |= 0x10000; in ser12_rx()
340 bc->modem.shreg >>= 1; in ser12_rx()
343 bc->modem.shreg |= 0x10000; in ser12_rx()
354 if (bc->modem.shreg & 1) { in ser12_rx()
[all …]
Dbaycom_ser_fdx.c131 unsigned int shreg; member
242 if (bc->modem.shreg & 1) { in ser12_rx()
243 hdlcdrv_putbits(&bc->hdrv, (bc->modem.shreg >> 1) ^ 0xffff); in ser12_rx()
244 bc->modem.shreg = 0x10000; in ser12_rx()
247 bc->modem.shreg >>= 1; in ser12_rx()
261 bc->modem.shreg |= 0x10000; in ser12_rx()
Dhdlcdrv.c773 s->bitbuf_channel.shreg = 0x80; in hdlcdrv_probe()
776 s->bitbuf_hdlc.shreg = 0x80; in hdlcdrv_probe()
Dbaycom_par.c138 unsigned int shreg; member