Searched refs:sc_chiptype (Results 1 – 2 of 2) sorted by relevance
174 uint8_t sc_chiptype; /* type of chip */ member396 sc->sc_chiptype = TYPE_PL2303HX; in uplcom_attach()400 sc->sc_chiptype = TYPE_PL2303HXD; in uplcom_attach()405 sc->sc_chiptype = TYPE_PL2303HXD; in uplcom_attach()413 sc->sc_chiptype = TYPE_PL2303; in uplcom_attach()415 sc->sc_chiptype = TYPE_PL2303HX; in uplcom_attach()417 sc->sc_chiptype = TYPE_PL2303; in uplcom_attach()428 if (sc->sc_chiptype == TYPE_PL2303HX) { in uplcom_attach()437 sc->sc_chiptype = TYPE_PL2303HXN; in uplcom_attach()440 switch (sc->sc_chiptype) { in uplcom_attach()[all …]
191 uint8_t sc_chiptype; /* type of chip */ member358 sc->sc_chiptype = TYPE_CH343; in uchcom_attach()482 (sc->sc_chiptype != TYPE_CH343) ? in uchcom_write_reg()586 if (sc->sc_chiptype == TYPE_CH343) { in uchcom_cfg_set_break()614 if (rate >= 256000 && sc->sc_chiptype == TYPE_CH343) in uchcom_calc_baudrate()632 if (rate == 921600 && sc->sc_chiptype != TYPE_CH343) { in uchcom_calc_baudrate()645 div |= (sc->sc_chiptype != TYPE_CH343) ? 0x80 : 0x00; in uchcom_set_baudrate()695 if (sc->sc_chiptype != TYPE_CH343) { in uchcom_cfg_open()717 switch (sc->sc_chiptype) { in uchcom_pre_param()766 if (sc->sc_chiptype == TYPE_CH343) in uchcom_cfg_param()[all …]