Home
last modified time | relevance | path

Searched refs:dcd_sum0 (Results 1 – 9 of 9) sorted by relevance

/linux-2.4.37.9/drivers/net/hamradio/soundmodem/
Dsm_fsk9600.c40 int dcd_sum0, dcd_sum1, dcd_sum2; member
131 st->dcd_sum0 += 8 * hweight8(st->dcd_shreg & 0x0c) - in demodulator_9600_4_u8()
137 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + in demodulator_9600_4_u8()
141 st->dcd_sum1 = st->dcd_sum0; in demodulator_9600_4_u8()
142 st->dcd_sum0 = 2; /* slight bias */ in demodulator_9600_4_u8()
179 st->dcd_sum0 += 8 * hweight8(st->dcd_shreg & 0x0c) - in demodulator_9600_4_s16()
185 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + in demodulator_9600_4_s16()
189 st->dcd_sum1 = st->dcd_sum0; in demodulator_9600_4_s16()
190 st->dcd_sum0 = 2; /* slight bias */ in demodulator_9600_4_s16()
277 st->dcd_sum0 += 16 * hweight8(st->dcd_shreg & 0x0c) - in demodulator_9600_5_u8()
[all …]
Dsm_afsk1200.c38 int dcd_sum0, dcd_sum1, dcd_sum2; member
172 st->dcd_sum0 += j; in demodulator_1200_u8()
176 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + in demodulator_1200_u8()
180 st->dcd_sum1 = st->dcd_sum0; in demodulator_1200_u8()
181 st->dcd_sum0 = 2; /* slight bias */ in demodulator_1200_u8()
221 st->dcd_sum0 += j; in demodulator_1200_s16()
225 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + in demodulator_1200_s16()
229 st->dcd_sum1 = st->dcd_sum0; in demodulator_1200_s16()
230 st->dcd_sum0 = 2; /* slight bias */ in demodulator_1200_s16()
256 st->dcd_sum0 = 2; in demod_init_1200()
Dsm_hapn4800.c50 int dcd_sum0, dcd_sum1, dcd_sum2; member
275 st->dcd_sum0 += 16 * hweight32(st->dcd_shreg & 0x18c6318c) - in demodulator_hapn4800_10_u8()
280 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + in demodulator_hapn4800_10_u8()
284 st->dcd_sum1 = st->dcd_sum0; in demodulator_hapn4800_10_u8()
285 st->dcd_sum0 = 2; /* slight bias */ in demodulator_hapn4800_10_u8()
340 st->dcd_sum0 += 16 * hweight32(st->dcd_shreg & 0x18c6318c) - in demodulator_hapn4800_10_s16()
345 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + in demodulator_hapn4800_10_s16()
349 st->dcd_sum1 = st->dcd_sum0; in demodulator_hapn4800_10_s16()
350 st->dcd_sum0 = 2; /* slight bias */ in demodulator_hapn4800_10_s16()
405 st->dcd_sum0 += 16 * hweight32(st->dcd_shreg & 0x44444444) - in demodulator_hapn4800_8_u8()
[all …]
Dsm_afsk2400_7.c47 int dcd_sum0, dcd_sum1, dcd_sum2; member
194 st->dcd_sum0 += j; in demodulator_2400_u8()
198 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + in demodulator_2400_u8()
202 st->dcd_sum1 = st->dcd_sum0; in demodulator_2400_u8()
203 st->dcd_sum0 = 2; /* slight bias */ in demodulator_2400_u8()
245 st->dcd_sum0 += j; in demodulator_2400_s16()
249 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + in demodulator_2400_s16()
253 st->dcd_sum1 = st->dcd_sum0; in demodulator_2400_s16()
254 st->dcd_sum0 = 2; /* slight bias */ in demodulator_2400_s16()
280 st->dcd_sum0 = 2; in demod_init_2400()
Dsm_afsk2400_8.c47 int dcd_sum0, dcd_sum1, dcd_sum2; member
194 st->dcd_sum0 += j; in demodulator_2400_u8()
198 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + in demodulator_2400_u8()
202 st->dcd_sum1 = st->dcd_sum0; in demodulator_2400_u8()
203 st->dcd_sum0 = 2; /* slight bias */ in demodulator_2400_u8()
245 st->dcd_sum0 += j; in demodulator_2400_s16()
249 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + in demodulator_2400_s16()
253 st->dcd_sum1 = st->dcd_sum0; in demodulator_2400_s16()
254 st->dcd_sum0 = 2; /* slight bias */ in demodulator_2400_s16()
280 st->dcd_sum0 = 2; in demod_init_2400()
Dsm_psk4800.c79 int dcd_sum0, dcd_sum1, dcd_sum2; member
231 st->dcd_sum0 = 4*hweight8(st->dcd_shreg & 0xf8)- in demod_psk48_baseband()
235 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + st->dcd_sum1 + in demod_psk48_baseband()
238 st->dcd_sum1 = st->dcd_sum0; in demod_psk48_baseband()
239 st->dcd_sum0 = 2; /* slight bias */ in demod_psk48_baseband()
280 st->dcd_sum0 += 8 * in demod_psk48_baseband()
287 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + in demod_psk48_baseband()
291 st->dcd_sum1 = st->dcd_sum0; in demod_psk48_baseband()
292 st->dcd_sum0 = 2; /* slight bias */ in demod_psk48_baseband()
401 st->dcd_sum0 = 2; in demod_init_4800()
Dsm_afsk2666.c42 int dcd_sum0, dcd_sum1, dcd_sum2; member
265 st->dcd_sum0 += 4*hweight8(st->dcd_shreg & 0x1e) - in demod_one_sample()
271 hdlcdrv_setdcd(&sm->hdrv, (st->dcd_sum0 + st->dcd_sum1 + in demod_one_sample()
274 st->dcd_sum1 = st->dcd_sum0; in demod_one_sample()
275 st->dcd_sum0 = 2; /* slight bias */ in demod_one_sample()
341 st->dcd_sum0 = 2; in demod_init_2666()
/linux-2.4.37.9/drivers/net/hamradio/
Dbaycom_ser_hdx.c123 int dcd_sum0, dcd_sum1, dcd_sum2; member
240 bc->modem.ser12.dcd_sum0 += 16*dcdspos - dcdsneg; in ser12_rx()
242 bc->modem.ser12.dcd_sum0--; in ser12_rx()
245 hdlcdrv_setdcd(&bc->hdrv, (bc->modem.ser12.dcd_sum0 + in ser12_rx()
249 bc->modem.ser12.dcd_sum1 = bc->modem.ser12.dcd_sum0; in ser12_rx()
251 bc->modem.ser12.dcd_sum0 = 2; in ser12_rx()
308 bc->modem.ser12.dcd_sum0 += 16*dcdspos - dcdsneg; in ser12_rx()
351 bc->modem.ser12.dcd_sum0 -= (bc->modem.ser12.dcd_shreg & 1); in ser12_rx()
362 hdlcdrv_setdcd(&bc->hdrv, (bc->modem.ser12.dcd_sum0 + in ser12_rx()
366 bc->modem.ser12.dcd_sum1 = bc->modem.ser12.dcd_sum0; in ser12_rx()
[all …]
Dbaycom_ser_fdx.c135 int dcd_sum0, dcd_sum1, dcd_sum2; member
251 hdlcdrv_setdcd(&bc->hdrv, (bc->modem.ser12.dcd_sum0 + in ser12_rx()
255 bc->modem.ser12.dcd_sum1 = bc->modem.ser12.dcd_sum0; in ser12_rx()
256 bc->modem.ser12.dcd_sum0 = 2; /* slight bias */ in ser12_rx()
269 bc->modem.ser12.dcd_sum0 += 4; in ser12_rx()
271 bc->modem.ser12.dcd_sum0--; in ser12_rx()