Lines Matching full:ue
166 static void mos_attach_post(struct usb_ether *ue);
560 mos_setpromisc(struct usb_ether *ue) in mos_setpromisc() argument
562 struct mos_softc *sc = uether_getsc(ue); in mos_setpromisc()
563 if_t ifp = uether_getifp(ue); in mos_setpromisc()
594 mos_setmulti(struct usb_ether *ue) in mos_setmulti() argument
596 struct mos_softc *sc = uether_getsc(ue); in mos_setmulti()
597 if_t ifp = uether_getifp(ue); in mos_setmulti()
688 struct usb_ether *ue = &sc->sc_ue; in mos_attach() local
706 ue->ue_sc = sc; in mos_attach()
707 ue->ue_dev = dev; in mos_attach()
708 ue->ue_udev = uaa->device; in mos_attach()
709 ue->ue_mtx = &sc->sc_mtx; in mos_attach()
710 ue->ue_methods = &mos_ue_methods; in mos_attach()
719 error = uether_ifattach(ue); in mos_attach()
732 mos_attach_post(struct usb_ether *ue) in mos_attach_post() argument
734 struct mos_softc *sc = uether_getsc(ue); in mos_attach_post()
738 err = mos_readmac(sc, ue->ue_eaddr); in mos_attach_post()
743 MOS_DPRINTFN("address: %s", ether_sprintf(ue->ue_eaddr)); in mos_attach_post()
752 struct usb_ether *ue = &sc->sc_ue; in mos_detach() local
755 uether_ifdetach(ue); in mos_detach()
769 struct usb_ether *ue = &sc->sc_ue; in mos_bulk_read_callback() local
770 if_t ifp = uether_getifp(ue); in mos_bulk_read_callback()
815 uether_rxbuf(ue, pc, 0, actlen); in mos_bulk_read_callback()
821 uether_rxflush(ue); in mos_bulk_read_callback()
889 mos_tick(struct usb_ether *ue) in mos_tick() argument
891 struct mos_softc *sc = uether_getsc(ue); in mos_tick()
901 mos_start(ue); in mos_tick()
906 mos_start(struct usb_ether *ue) in mos_start() argument
908 struct mos_softc *sc = uether_getsc(ue); in mos_start()
919 mos_init(struct usb_ether *ue) in mos_init() argument
921 struct mos_softc *sc = uether_getsc(ue); in mos_init()
922 if_t ifp = uether_getifp(ue); in mos_init()
947 mos_setpromisc(ue); in mos_init()
953 mos_setmulti(ue); in mos_init()
956 mos_start(ue); in mos_init()
996 mos_stop(struct usb_ether *ue) in mos_stop() argument
998 struct mos_softc *sc = uether_getsc(ue); in mos_stop()
999 if_t ifp = uether_getifp(ue); in mos_stop()