Lines Matching refs:ictl

173   sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC5200;  in lmc_hssi_init()
197 sc->lmc_media->set_clock_source (sc, sc->ictl.clock_source); in lmc_hssi_set_status()
206 if (ctl->clock_source && !sc->ictl.clock_source) in lmc_hssi_set_status()
211 else if (!ctl->clock_source && sc->ictl.clock_source) in lmc_hssi_set_status()
227 old = sc->ictl.clock_source; in lmc_hssi_set_clock()
232 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT; in lmc_hssi_set_clock()
240 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT; in lmc_hssi_set_clock()
281 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32; in lmc_hssi_set_crc_length()
287 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16; in lmc_hssi_set_crc_length()
312 sc->ictl.cable_length = LMC_CTL_CABLE_LENGTH_GT_100FT; in lmc_ds3_set_100ft()
317 sc->ictl.cable_length = LMC_CTL_CABLE_LENGTH_LT_100FT; in lmc_ds3_set_100ft()
342 sc->lmc_media->set_cable_length (sc, sc->ictl.cable_length); in lmc_ds3_set_status()
343 sc->lmc_media->set_scrambler (sc, sc->ictl.scrambler_onoff); in lmc_ds3_set_status()
352 if (ctl->cable_length && !sc->ictl.cable_length) in lmc_ds3_set_status()
354 else if (!ctl->cable_length && sc->ictl.cable_length) in lmc_ds3_set_status()
360 if (ctl->scrambler_onoff && !sc->ictl.scrambler_onoff) in lmc_ds3_set_status()
362 else if (!ctl->scrambler_onoff && sc->ictl.scrambler_onoff) in lmc_ds3_set_status()
373 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC5245; in lmc_ds3_init()
409 sc->ictl.scrambler_onoff = LMC_CTL_ON; in lmc_ds3_set_scram()
414 sc->ictl.scrambler_onoff = LMC_CTL_OFF; in lmc_ds3_set_scram()
516 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32; in lmc_ds3_set_crc_length()
522 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16; in lmc_ds3_set_crc_length()
544 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC1000; in lmc_ssi_init()
549 sc->ictl.cable_type = cable; in lmc_ssi_init()
579 sc->lmc_media->set_clock_source (sc, sc->ictl.clock_source); in lmc_ssi_set_status()
580 sc->lmc_media->set_speed (sc, &sc->ictl); in lmc_ssi_set_status()
590 && sc->ictl.clock_source == LMC_CTL_CLOCK_SOURCE_EXT) in lmc_ssi_set_status()
596 && sc->ictl.clock_source == LMC_CTL_CLOCK_SOURCE_INT) in lmc_ssi_set_status()
602 if (ctl->clock_rate != sc->ictl.clock_rate) in lmc_ssi_set_status()
620 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT; in lmc_ssi_set_clock()
628 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT; in lmc_ssi_set_clock()
637 lmc_ctl_t *ictl = &sc->ictl; in lmc_ssi_set_speed() local
648 av = &ictl->cardspec.ssi; in lmc_ssi_set_speed()
649 ictl->clock_rate = 1500000; in lmc_ssi_set_speed()
650 av->f = ictl->clock_rate; in lmc_ssi_set_speed()
666 ictl->clock_rate = av->f; /* really, this is the rate we are */ in lmc_ssi_set_speed()
667 ictl->cardspec.ssi = *av; in lmc_ssi_set_speed()
792 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32; in lmc_ssi_set_crc_length()
800 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16; in lmc_ssi_set_crc_length()
842 LMC_PRINTF_ARGS, sc->ictl.clock_rate, n, m, v, x, r); in write_av9110()
922 sc->ictl.cardtype = LMC_CTL_CARDTYPE_LMC1200; in lmc_t1_init()
987 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT; in lmc_t1_default()
996 sc->lmc_media->set_circuit_type (sc, sc->ictl.circuit_type); in lmc_t1_set_status()
1004 && sc->ictl.circuit_type == in lmc_t1_set_status()
1008 && sc->ictl.circuit_type == LMC_CTL_CIRCUIT_TYPE_T1) in lmc_t1_set_status()
1138 sc->ictl.circuit_type = LMC_CTL_CIRCUIT_TYPE_T1; in lmc_t1_set_circuit_type()
1143 sc->ictl.circuit_type = LMC_CTL_CIRCUIT_TYPE_E1; in lmc_t1_set_circuit_type()
1160 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_32; in lmc_t1_set_crc_length()
1167 sc->ictl.crc_length = LMC_CTL_CRC_LENGTH_16; in lmc_t1_set_crc_length()
1187 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_EXT; in lmc_t1_set_clock()
1195 sc->ictl.clock_source = LMC_CTL_CLOCK_SOURCE_INT; in lmc_t1_set_clock()
1210 sc->ictl.keepalive_onoff = LMC_CTL_ON; in lmc_set_protocol()