Lines Matching refs:ictl

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