Home | History | Annotate | Download | only in tx

Lines Matching defs:txcom_chip

84 struct txcom_chip {
99 struct txcom_chip *sc_chip;
139 void txcom_reset (struct txcom_chip *);
140 int txcom_enable (struct txcom_chip *, bool);
141 void txcom_disable (struct txcom_chip *);
142 void txcom_setmode (struct txcom_chip *);
143 void txcom_setbaudrate(struct txcom_chip *);
152 inline int __txcom_txbufready(struct txcom_chip *, int);
156 void txcom_dump(struct txcom_chip *);
165 struct txcom_chip txcom_chip;
208 struct txcom_chip *chip;
212 console = (ua->ua_slot == txcom_chip.sc_slot) &&
213 (txcom_chip.sc_hwflags & TXCOM_HW_CONSOLE);
216 sc->sc_chip = &txcom_chip;
218 sc->sc_chip = kmem_zalloc(sizeof(struct txcom_chip),
307 txcom_reset(struct txcom_chip *chip)
327 txcom_enable(struct txcom_chip *chip, bool console)
380 txcom_disable(struct txcom_chip *chip)
405 __txcom_txbufready(struct txcom_chip *chip, int retry)
422 struct txcom_chip *chip = sc->sc_chip;
449 tc = txcom_chip.sc_tc;
450 ofs = TX39_UARTCTRL1_REG(txcom_chip.sc_slot);
456 tx_conf_read(tc, TX39_UARTRXHOLD_REG(txcom_chip.sc_slot)));
469 struct txcom_chip *chip = &txcom_chip;
492 txcom_setmode(struct txcom_chip *chip)
535 txcom_setbaudrate(struct txcom_chip *chip)
565 txcom_chip.sc_tc = tx_conf_get_tag();
566 txcom_chip.sc_slot = slot;
567 txcom_chip.sc_cflag = cflag;
568 txcom_chip.sc_speed = speed;
569 txcom_chip.sc_hwflags |= TXCOM_HW_CONSOLE;
571 txcom_reset(&txcom_chip);
573 txcom_setmode(&txcom_chip);
574 txcom_setbaudrate(&txcom_chip);
576 if (txcom_enable(&txcom_chip, true) != 0)
588 struct txcom_chip *chip = sc->sc_chip;
597 struct txcom_chip *chip = sc->sc_chip;
695 struct txcom_chip *chip = sc->sc_chip;
744 struct txcom_chip *chip = sc->sc_chip;
783 struct txcom_chip *chip;
1024 struct txcom_chip *chip;
1065 struct txcom_chip *chip;
1152 struct txcom_chip *chip = sc->sc_chip;
1168 struct txcom_chip *chip = sc->sc_chip;
1187 txcom_dump(struct txcom_chip *chip)