Lines Matching refs:ictl
174 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC5200; in lmc_hssi_init()
198 sc->lmc_media->set_clock_source (sc, sc->ictl.clock_source); in lmc_hssi_set_status()
207 if (ctl->clock_source && !sc->ictl.clock_source) in lmc_hssi_set_status()
212 else if (!ctl->clock_source && sc->ictl.clock_source) in lmc_hssi_set_status()
228 old = sc->ictl.clock_source; in lmc_hssi_set_clock()
233 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT; in lmc_hssi_set_clock()
241 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT; in lmc_hssi_set_clock()
282 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32; in lmc_hssi_set_crc_length()
288 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16; in lmc_hssi_set_crc_length()
313 sc->ictl.cable_length = LMC_CTL_CABLE_LENGTH_GT_100FT; in lmc_ds3_set_100ft()
318 sc->ictl.cable_length = LMC_CTL_CABLE_LENGTH_LT_100FT; in lmc_ds3_set_100ft()
343 sc->lmc_media->set_cable_length (sc, sc->ictl.cable_length); in lmc_ds3_set_status()
344 sc->lmc_media->set_scrambler (sc, sc->ictl.scrambler_onoff); in lmc_ds3_set_status()
353 if (ctl->cable_length && !sc->ictl.cable_length) in lmc_ds3_set_status()
355 else if (!ctl->cable_length && sc->ictl.cable_length) in lmc_ds3_set_status()
361 if (ctl->scrambler_onoff && !sc->ictl.scrambler_onoff) in lmc_ds3_set_status()
363 else if (!ctl->scrambler_onoff && sc->ictl.scrambler_onoff) in lmc_ds3_set_status()
374 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC5245; in lmc_ds3_init()
410 sc->ictl.scrambler_onoff = LMC_CTL_ON; in lmc_ds3_set_scram()
415 sc->ictl.scrambler_onoff = LMC_CTL_OFF; in lmc_ds3_set_scram()
517 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32; in lmc_ds3_set_crc_length()
523 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16; in lmc_ds3_set_crc_length()
545 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC1000; in lmc_ssi_init()
550 sc->ictl.cable_type = cable; in lmc_ssi_init()
580 sc->lmc_media->set_clock_source (sc, sc->ictl.clock_source); in lmc_ssi_set_status()
581 sc->lmc_media->set_speed (sc, &sc->ictl); in lmc_ssi_set_status()
591 && sc->ictl.clock_source == LMC_CTL_CLOCK_SOURCE_EXT) in lmc_ssi_set_status()
597 && sc->ictl.clock_source == LMC_CTL_CLOCK_SOURCE_INT) in lmc_ssi_set_status()
603 if (ctl->clock_rate != sc->ictl.clock_rate) in lmc_ssi_set_status()
621 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT; in lmc_ssi_set_clock()
629 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT; in lmc_ssi_set_clock()
638 lmc_ctl_t *ictl = &sc->ictl; in lmc_ssi_set_speed() local
649 av = &ictl->cardspec.ssi; in lmc_ssi_set_speed()
650 ictl->clock_rate = 1500000; in lmc_ssi_set_speed()
651 av->f = ictl->clock_rate; in lmc_ssi_set_speed()
667 ictl->clock_rate = av->f; /* really, this is the rate we are */ in lmc_ssi_set_speed()
668 ictl->cardspec.ssi = *av; in lmc_ssi_set_speed()
793 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32; in lmc_ssi_set_crc_length()
801 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16; in lmc_ssi_set_crc_length()
843 LMC_PRINTF_ARGS, sc->ictl.clock_rate, n, m, v, x, r); in write_av9110()
923 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC1200; in lmc_t1_init()
988 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT; in lmc_t1_default()
997 sc->lmc_media->set_circuit_type (sc, sc->ictl.circuit_type); in lmc_t1_set_status()
1005 && sc->ictl.circuit_type == in lmc_t1_set_status()
1009 && sc->ictl.circuit_type == LMC_CTL_CIRCUIT_TYPE_T1) in lmc_t1_set_status()
1139 sc->ictl.circuit_type = LMC_CTL_CIRCUIT_TYPE_T1; in lmc_t1_set_circuit_type()
1144 sc->ictl.circuit_type = LMC_CTL_CIRCUIT_TYPE_E1; in lmc_t1_set_circuit_type()
1161 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32; in lmc_t1_set_crc_length()
1168 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16; in lmc_t1_set_crc_length()
1188 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT; in lmc_t1_set_clock()
1196 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT; in lmc_t1_set_clock()
1211 sc->ictl.keepalive_onoff = LMC_CTL_ON; in lmc_set_protocol()