Lines Matching refs:ue
162 static void mos_attach_post(struct usb_ether *ue);
563 mos_setpromisc(struct usb_ether *ue)
565 struct mos_softc *sc = uether_getsc(ue);
566 struct ifnet *ifp = uether_getifp(ue);
587 mos_setmulti(struct usb_ether *ue)
589 struct mos_softc *sc = uether_getsc(ue);
590 struct ifnet *ifp = uether_getifp(ue);
694 struct usb_ether *ue = &sc->sc_ue;
712 ue->ue_sc = sc;
713 ue->ue_dev = dev;
714 ue->ue_udev = uaa->device;
715 ue->ue_mtx = &sc->sc_mtx;
716 ue->ue_methods = &mos_ue_methods;
726 error = uether_ifattach(ue);
741 mos_attach_post(struct usb_ether *ue)
743 struct mos_softc *sc = uether_getsc(ue);
747 err = mos_readmac(sc, ue->ue_eaddr);
752 MOS_DPRINTFN("address: %s", ether_sprintf(ue->ue_eaddr));
761 struct usb_ether *ue = &sc->sc_ue;
764 uether_ifdetach(ue);
781 struct usb_ether *ue = &sc->sc_ue;
782 struct ifnet *ifp = uether_getifp(ue);
827 uether_rxbuf(ue, pc, 0, actlen);
833 uether_rxflush(ue);
904 mos_tick(struct usb_ether *ue)
906 struct mos_softc *sc = uether_getsc(ue);
916 mos_start(ue);
922 mos_start(struct usb_ether *ue)
924 struct mos_softc *sc = uether_getsc(ue);
935 mos_init(struct usb_ether *ue)
937 struct mos_softc *sc = uether_getsc(ue);
938 struct ifnet *ifp = uether_getifp(ue);
963 mos_setpromisc(ue);
969 mos_setmulti(ue);
972 mos_start(ue);
1014 mos_stop(struct usb_ether *ue)
1016 struct mos_softc *sc = uether_getsc(ue);
1017 struct ifnet *ifp = uether_getifp(ue);