Lines Matching defs:ictl
172 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC5200;
196 sc->lmc_media->set_clock_source (sc, sc->ictl.clock_source);
205 if (ctl->clock_source && !sc->ictl.clock_source)
210 else if (!ctl->clock_source && sc->ictl.clock_source)
226 old = sc->ictl.clock_source;
231 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT;
239 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT;
280 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32;
286 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16;
311 sc->ictl.cable_length = LMC_CTL_CABLE_LENGTH_GT_100FT;
316 sc->ictl.cable_length = LMC_CTL_CABLE_LENGTH_LT_100FT;
341 sc->lmc_media->set_cable_length (sc, sc->ictl.cable_length);
342 sc->lmc_media->set_scrambler (sc, sc->ictl.scrambler_onoff);
351 if (ctl->cable_length && !sc->ictl.cable_length)
353 else if (!ctl->cable_length && sc->ictl.cable_length)
359 if (ctl->scrambler_onoff && !sc->ictl.scrambler_onoff)
361 else if (!ctl->scrambler_onoff && sc->ictl.scrambler_onoff)
372 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC5245;
408 sc->ictl.scrambler_onoff = LMC_CTL_ON;
413 sc->ictl.scrambler_onoff = LMC_CTL_OFF;
515 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32;
521 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16;
543 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC1000;
548 sc->ictl.cable_type = cable;
578 sc->lmc_media->set_clock_source (sc, sc->ictl.clock_source);
579 sc->lmc_media->set_speed (sc, &sc->ictl);
589 && sc->ictl.clock_source == LMC_CTL_CLOCK_SOURCE_EXT)
595 && sc->ictl.clock_source == LMC_CTL_CLOCK_SOURCE_INT)
601 if (ctl->clock_rate != sc->ictl.clock_rate)
619 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT;
627 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT;
636 lmc_ctl_t *ictl = &sc->ictl;
647 av = &ictl->cardspec.ssi;
648 ictl->clock_rate = 1500000;
649 av->f = ictl->clock_rate;
665 ictl->clock_rate = av->f; /* really, this is the rate we are */
666 ictl->cardspec.ssi = *av;
791 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32;
799 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16;
841 LMC_PRINTF_ARGS, sc->ictl.clock_rate, n, m, v, x, r);
921 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC1200;
986 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT;
995 sc->lmc_media->set_circuit_type (sc, sc->ictl.circuit_type);
1003 && sc->ictl.circuit_type ==
1007 && sc->ictl.circuit_type == LMC_CTL_CIRCUIT_TYPE_T1)
1133 sc->ictl.circuit_type = LMC_CTL_CIRCUIT_TYPE_T1;
1138 sc->ictl.circuit_type = LMC_CTL_CIRCUIT_TYPE_E1;
1155 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32;
1162 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16;
1182 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT;
1190 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT;
1205 sc->ictl.keepalive_onoff = LMC_CTL_ON;