Lines Matching defs:uhso_port
271 struct uhso_port;
275 typedef int (*uhso_callback)(struct uhso_port *);
277 struct uhso_port {
330 struct uhso_port *sc_port[UHSO_PORT_MAX];
350 Static int uhso_mux_abort(struct uhso_port *);
351 Static int uhso_mux_detach(struct uhso_port *);
352 Static int uhso_mux_init(struct uhso_port *);
353 Static int uhso_mux_clean(struct uhso_port *);
354 Static int uhso_mux_write(struct uhso_port *);
355 Static int uhso_mux_read(struct uhso_port *);
356 Static int uhso_mux_control(struct uhso_port *);
360 Static int uhso_bulk_abort(struct uhso_port *);
361 Static int uhso_bulk_detach(struct uhso_port *);
362 Static int uhso_bulk_init(struct uhso_port *);
363 Static int uhso_bulk_clean(struct uhso_port *);
364 Static int uhso_bulk_write(struct uhso_port *);
365 Static int uhso_bulk_read(struct uhso_port *);
366 Static int uhso_bulk_control(struct uhso_port *);
369 Static void uhso_tty_attach(struct uhso_port *);
370 Static void uhso_tty_detach(struct uhso_port *);
398 Static int uhso_tty_init(struct uhso_port *);
399 Static void uhso_tty_clean(struct uhso_port *);
400 Static int uhso_tty_do_ioctl(struct uhso_port *, u_long, void *, int, struct lwp *);
403 Static int uhso_tty_control(struct uhso_port *, u_long, int);
417 Static int uhso_ifnet_abort(struct uhso_port *);
418 Static int uhso_ifnet_detach(struct uhso_port *);
424 Static int uhso_ifnet_init(struct uhso_port *);
425 Static void uhso_ifnet_clean(struct uhso_port *);
534 struct uhso_port *hp;
733 struct uhso_port *hp;
800 hp = kmem_zalloc(sizeof(struct uhso_port), KM_SLEEP);
844 uhso_mux_abort(struct uhso_port *hp)
859 uhso_mux_detach(struct uhso_port *hp)
872 kmem_free(hp, sizeof(struct uhso_port));
877 uhso_mux_init(struct uhso_port *hp)
905 uhso_mux_clean(struct uhso_port *hp)
916 uhso_mux_write(struct uhso_port *hp)
945 uhso_mux_read(struct uhso_port *hp)
983 uhso_mux_control(struct uhso_port *hp)
995 struct uhso_port *hp;
1043 struct uhso_port *hp;
1076 hp = kmem_zalloc(sizeof(struct uhso_port), KM_SLEEP);
1112 uhso_bulk_abort(struct uhso_port *hp)
1121 uhso_bulk_detach(struct uhso_port *hp)
1127 kmem_free(hp, sizeof(struct uhso_port));
1132 uhso_bulk_init(struct uhso_port *hp)
1182 uhso_bulk_clean(struct uhso_port *hp)
1232 uhso_bulk_write(struct uhso_port *hp)
1253 uhso_bulk_read(struct uhso_port *hp)
1274 uhso_bulk_control(struct uhso_port *hp)
1316 struct uhso_port *hp = p;
1369 uhso_tty_attach(struct uhso_port *hp)
1384 uhso_tty_detach(struct uhso_port *hp)
1399 struct uhso_port *hp = p;
1432 struct uhso_port *hp = p;
1483 struct uhso_port *hp;
1527 uhso_tty_init(struct uhso_port *hp)
1585 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)];
1608 uhso_tty_clean(struct uhso_port *hp)
1636 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)];
1659 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)];
1682 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)];
1701 uhso_tty_do_ioctl(struct uhso_port *hp, u_long cmd, void *data, int flag,
1768 struct uhso_port *hp = sc->sc_port[UHSOPORT(tp->t_dev)];
1778 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)];
1787 struct uhso_port *hp = sc->sc_port[UHSOPORT(dev)];
1809 struct uhso_port *hp = sc->sc_port[UHSOPORT(tp->t_dev)];
1847 struct uhso_port *hp = sc->sc_port[UHSOPORT(tp->t_dev)];
1870 uhso_tty_control(struct uhso_port *hp, u_long cmd, int bits)
1908 struct uhso_port *hp;
1939 hp = kmem_zalloc(sizeof(struct uhso_port), KM_SLEEP);
1979 uhso_port *hp)
1990 uhso_ifnet_detach(struct uhso_port *hp)
2001 kmem_free(hp, sizeof(struct uhso_port));
2008 struct uhso_port *hp = p;
2049 struct uhso_port *hp = p;
2192 struct uhso_port *hp = ifp->if_softc;
2278 uhso_ifnet_init(struct uhso_port *hp)
2300 uhso_ifnet_clean(struct uhso_port *hp)
2312 struct uhso_port *hp = ifp->if_softc;