Lines Matching refs:ht
554 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()
1154 struct uhso_tty *ht; in uhso_mux_read_callback() local
1161 ht = usbd_xfer_get_priv(xfer); in uhso_mux_read_callback()
1162 UHSO_DPRINTF(3, "ht=%p open=%d\n", ht, ht->ht_open); in uhso_mux_read_callback()
1171 ht->ht_muxport); in uhso_mux_read_callback()
1178 if (ht->ht_open) in uhso_mux_read_callback()
1179 ucom_put_data(&sc->sc_ucom[ht->ht_muxport], pc, 0, len); in uhso_mux_read_callback()
1187 USETW(req.wIndex, ht->ht_muxport); in uhso_mux_read_callback()
1211 struct uhso_tty *ht; in uhso_mux_write_callback() local
1219 ht = usbd_xfer_get_priv(xfer); in uhso_mux_write_callback()
1221 USB_GET_STATE(xfer), ht->ht_muxport); in uhso_mux_write_callback()
1227 ht->ht_muxport); in uhso_mux_write_callback()
1232 if (ucom_get_data(&sc->sc_ucom[ht->ht_muxport], pc, in uhso_mux_write_callback()
1241 USETW(req.wIndex, ht->ht_muxport); in uhso_mux_write_callback()
1252 "on muxport %d\n", actlen, ht->ht_muxport); in uhso_mux_write_callback()