Lines Matching refs:modem
128 } modem; member
187 bc->modem.par96.scram = ((bc->modem.par96.scram << 1) | in par96_tx()
188 (bc->modem.par96.scram & 1)); in par96_tx()
190 bc->modem.par96.scram ^= 1; in par96_tx()
191 if (bc->modem.par96.scram & (PAR96_SCRAM_TAP1 << 1)) in par96_tx()
192 bc->modem.par96.scram ^= in par96_tx()
194 if (bc->modem.par96.scram & (PAR96_SCRAM_TAP1 << 2)) in par96_tx()
213 bc->modem.par96.descram = (bc->modem.par96.descram << 1); in par96_rx()
215 bc->modem.par96.descram |= 1; in par96_rx()
216 descx = bc->modem.par96.descram ^ in par96_rx()
217 (bc->modem.par96.descram >> 1); in par96_rx()
232 bc->modem.par96.dcd_shreg = (bc->modem.par96.dcd_shreg >> 16) in par96_rx()
237 if ((bc->modem.par96.dcd_shreg & mask) == mask2) in par96_rx()
238 bc->modem.par96.dcd_count = HDLCDRV_MAXFLEN+4; in par96_rx()
242 if (((bc->modem.par96.dcd_shreg & mask) == mask2) && in par96_rx()
243 (bc->modem.par96.dcd_count >= 0)) in par96_rx()
244 bc->modem.par96.dcd_count -= HDLCDRV_MAXFLEN-10; in par96_rx()
246 if (bc->modem.par96.dcd_count >= 0) in par96_rx()
247 bc->modem.par96.dcd_count -= 2; in par96_rx()
248 hdlcdrv_setdcd(&bc->hdrv, bc->modem.par96.dcd_count > 0); in par96_rx()
269 if (--bc->modem.arb_divider <= 0) { in par96_interrupt()
270 bc->modem.arb_divider = 6; in par96_interrupt()
319 memset(&bc->modem, 0, sizeof(bc->modem)); in par96_open()