Lines Matching refs:ue
158 static void mos_attach_post(struct usb_ether *ue);
558 mos_setpromisc(struct usb_ether *ue)
560 struct mos_softc *sc = uether_getsc(ue);
561 struct ifnet *ifp = uether_getifp(ue);
582 mos_setmulti(struct usb_ether *ue)
584 struct mos_softc *sc = uether_getsc(ue);
585 struct ifnet *ifp = uether_getifp(ue);
689 struct usb_ether *ue = &sc->sc_ue;
707 ue->ue_sc = sc;
708 ue->ue_dev = dev;
709 ue->ue_udev = uaa->device;
710 ue->ue_mtx = &sc->sc_mtx;
711 ue->ue_methods = &mos_ue_methods;
721 error = uether_ifattach(ue);
736 mos_attach_post(struct usb_ether *ue)
738 struct mos_softc *sc = uether_getsc(ue);
742 err = mos_readmac(sc, ue->ue_eaddr);
747 MOS_DPRINTFN("address: %s", ether_sprintf(ue->ue_eaddr));
756 struct usb_ether *ue = &sc->sc_ue;
759 uether_ifdetach(ue);
776 struct usb_ether *ue = &sc->sc_ue;
777 struct ifnet *ifp = uether_getifp(ue);
822 uether_rxbuf(ue, pc, 0, actlen);
828 uether_rxflush(ue);
899 mos_tick(struct usb_ether *ue)
901 struct mos_softc *sc = uether_getsc(ue);
911 mos_start(ue);
917 mos_start(struct usb_ether *ue)
919 struct mos_softc *sc = uether_getsc(ue);
930 mos_init(struct usb_ether *ue)
932 struct mos_softc *sc = uether_getsc(ue);
933 struct ifnet *ifp = uether_getifp(ue);
958 mos_setpromisc(ue);
964 mos_setmulti(ue);
967 mos_start(ue);
1009 mos_stop(struct usb_ether *ue)
1011 struct mos_softc *sc = uether_getsc(ue);
1012 struct ifnet *ifp = uether_getifp(ue);