Lines Matching refs:ue
158 static void mos_attach_post(struct usb_ether *ue);
559 mos_setpromisc(struct usb_ether *ue)
561 struct mos_softc *sc = uether_getsc(ue);
562 struct ifnet *ifp = uether_getifp(ue);
583 mos_setmulti(struct usb_ether *ue)
585 struct mos_softc *sc = uether_getsc(ue);
586 struct ifnet *ifp = uether_getifp(ue);
690 struct usb_ether *ue = &sc->sc_ue;
708 ue->ue_sc = sc;
709 ue->ue_dev = dev;
710 ue->ue_udev = uaa->device;
711 ue->ue_mtx = &sc->sc_mtx;
712 ue->ue_methods = &mos_ue_methods;
722 error = uether_ifattach(ue);
737 mos_attach_post(struct usb_ether *ue)
739 struct mos_softc *sc = uether_getsc(ue);
743 err = mos_readmac(sc, ue->ue_eaddr);
748 MOS_DPRINTFN("address: %s", ether_sprintf(ue->ue_eaddr));
757 struct usb_ether *ue = &sc->sc_ue;
760 uether_ifdetach(ue);
777 struct usb_ether *ue = &sc->sc_ue;
778 struct ifnet *ifp = uether_getifp(ue);
823 uether_rxbuf(ue, pc, 0, actlen);
829 uether_rxflush(ue);
900 mos_tick(struct usb_ether *ue)
902 struct mos_softc *sc = uether_getsc(ue);
912 mos_start(ue);
918 mos_start(struct usb_ether *ue)
920 struct mos_softc *sc = uether_getsc(ue);
931 mos_init(struct usb_ether *ue)
933 struct mos_softc *sc = uether_getsc(ue);
934 struct ifnet *ifp = uether_getifp(ue);
959 mos_setpromisc(ue);
965 mos_setmulti(ue);
968 mos_start(ue);
1010 mos_stop(struct usb_ether *ue)
1012 struct mos_softc *sc = uether_getsc(ue);
1013 struct ifnet *ifp = uether_getifp(ue);