• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/wan/lmc/

Lines Matching defs:ictl

173   sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC5200;
197 sc->lmc_media->set_clock_source (sc, sc->ictl.clock_source);
206 if (ctl->clock_source && !sc->ictl.clock_source)
211 else if (!ctl->clock_source && sc->ictl.clock_source)
227 old = sc->ictl.clock_source;
232 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT;
240 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT;
281 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32;
287 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16;
312 sc->ictl.cable_length = LMC_CTL_CABLE_LENGTH_GT_100FT;
317 sc->ictl.cable_length = LMC_CTL_CABLE_LENGTH_LT_100FT;
342 sc->lmc_media->set_cable_length (sc, sc->ictl.cable_length);
343 sc->lmc_media->set_scrambler (sc, sc->ictl.scrambler_onoff);
352 if (ctl->cable_length && !sc->ictl.cable_length)
354 else if (!ctl->cable_length && sc->ictl.cable_length)
360 if (ctl->scrambler_onoff && !sc->ictl.scrambler_onoff)
362 else if (!ctl->scrambler_onoff && sc->ictl.scrambler_onoff)
373 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC5245;
409 sc->ictl.scrambler_onoff = LMC_CTL_ON;
414 sc->ictl.scrambler_onoff = LMC_CTL_OFF;
516 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32;
522 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16;
544 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC1000;
549 sc->ictl.cable_type = cable;
579 sc->lmc_media->set_clock_source (sc, sc->ictl.clock_source);
580 sc->lmc_media->set_speed (sc, &sc->ictl);
590 && sc->ictl.clock_source == LMC_CTL_CLOCK_SOURCE_EXT)
596 && sc->ictl.clock_source == LMC_CTL_CLOCK_SOURCE_INT)
602 if (ctl->clock_rate != sc->ictl.clock_rate)
620 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT;
628 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT;
637 lmc_ctl_t *ictl = &sc->ictl;
648 av = &ictl->cardspec.ssi;
649 ictl->clock_rate = 1500000;
650 av->f = ictl->clock_rate;
666 ictl->clock_rate = av->f; /* really, this is the rate we are */
667 ictl->cardspec.ssi = *av;
792 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32;
800 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16;
918 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC1200;
983 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT;
992 sc->lmc_media->set_circuit_type (sc, sc->ictl.circuit_type);
1000 && sc->ictl.circuit_type ==
1004 && sc->ictl.circuit_type == LMC_CTL_CIRCUIT_TYPE_T1)
1134 sc->ictl.circuit_type = LMC_CTL_CIRCUIT_TYPE_T1;
1139 sc->ictl.circuit_type = LMC_CTL_CIRCUIT_TYPE_E1;
1156 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32;
1163 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16;
1183 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT;
1191 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT;
1206 sc->ictl.keepalive_onoff = LMC_CTL_ON;