Lines Matching refs:ht
552 struct uhso_tty *ht; in uhso_attach() local
629 ht = &sc->sc_tty[i]; in uhso_attach()
633 port = uhso_mux_port_map[ht->ht_muxport]; in uhso_attach()
642 ht->ht_name[0] = 0; in uhso_attach()
644 snprintf(ht->ht_name, 32, "cuaU%d", ucom->sc_super->sc_unit); in uhso_attach()
646 snprintf(ht->ht_name, 32, "cuaU%d.%d", in uhso_attach()
652 "tty", CTLFLAG_RD, ht->ht_name, 0, ""); in uhso_attach()
658 "\"%s\" port at %s\n", desc, ht->ht_name); in uhso_attach()
1153 struct uhso_tty *ht; in uhso_mux_read_callback() local
1160 ht = usbd_xfer_get_priv(xfer); in uhso_mux_read_callback()
1161 UHSO_DPRINTF(3, "ht=%p open=%d\n", ht, ht->ht_open); in uhso_mux_read_callback()
1170 ht->ht_muxport); in uhso_mux_read_callback()
1177 if (ht->ht_open) in uhso_mux_read_callback()
1178 ucom_put_data(&sc->sc_ucom[ht->ht_muxport], pc, 0, len); in uhso_mux_read_callback()
1186 USETW(req.wIndex, ht->ht_muxport); in uhso_mux_read_callback()
1210 struct uhso_tty *ht; in uhso_mux_write_callback() local
1218 ht = usbd_xfer_get_priv(xfer); in uhso_mux_write_callback()
1220 USB_GET_STATE(xfer), ht->ht_muxport); in uhso_mux_write_callback()
1226 ht->ht_muxport); in uhso_mux_write_callback()
1231 if (ucom_get_data(&sc->sc_ucom[ht->ht_muxport], pc, in uhso_mux_write_callback()
1239 USETW(req.wIndex, ht->ht_muxport); in uhso_mux_write_callback()
1250 "on muxport %d\n", actlen, ht->ht_muxport); in uhso_mux_write_callback()