Lines Matching full:ue
456 axge_attach_post(struct usb_ether *ue) in axge_attach_post() argument
460 sc = uether_getsc(ue); in axge_attach_post()
465 ue->ue_eaddr, ETHER_ADDR_LEN); in axge_attach_post()
469 axge_attach_post_sub(struct usb_ether *ue) in axge_attach_post_sub() argument
474 ifp = ue->ue_ifp; in axge_attach_post_sub()
487 error = mii_attach(ue->ue_dev, &ue->ue_miibus, ifp, in axge_attach_post_sub()
488 uether_ifmedia_upd, ue->ue_methods->ue_mii_sts, in axge_attach_post_sub()
563 struct usb_ether *ue; in axge_attach() local
569 ue = &sc->sc_ue; in axge_attach()
585 ue->ue_sc = sc; in axge_attach()
586 ue->ue_dev = dev; in axge_attach()
587 ue->ue_udev = uaa->device; in axge_attach()
588 ue->ue_mtx = &sc->sc_mtx; in axge_attach()
589 ue->ue_methods = &axge_ue_methods; in axge_attach()
591 error = uether_ifattach(ue); in axge_attach()
607 struct usb_ether *ue; in axge_detach() local
611 ue = &sc->sc_ue; in axge_detach()
614 usb_proc_drain(&ue->ue_tq); in axge_detach()
621 axge_stop(ue); in axge_detach()
633 uether_ifdetach(ue); in axge_detach()
643 struct usb_ether *ue; in axge_bulk_read_callback() local
648 ue = &sc->sc_ue; in axge_bulk_read_callback()
654 axge_rx_frame(ue, pc, actlen); in axge_bulk_read_callback()
661 uether_rxflush(ue); in axge_bulk_read_callback()
762 axge_tick(struct usb_ether *ue) in axge_tick() argument
767 sc = uether_getsc(ue); in axge_tick()
787 axge_rxfilter(struct usb_ether *ue) in axge_rxfilter() argument
794 sc = uether_getsc(ue); in axge_rxfilter()
795 ifp = uether_getifp(ue); in axge_rxfilter()
825 axge_start(struct usb_ether *ue) in axge_start() argument
829 sc = uether_getsc(ue); in axge_start()
838 axge_init(struct usb_ether *ue) in axge_init() argument
843 sc = uether_getsc(ue); in axge_init()
844 ifp = uether_getifp(ue); in axge_init()
853 axge_stop(ue); in axge_init()
865 axge_csum_cfg(ue); in axge_init()
868 axge_rxfilter(ue); in axge_init()
892 axge_stop(struct usb_ether *ue) in axge_stop() argument
898 sc = uether_getsc(ue); in axge_stop()
899 ifp = uether_getifp(ue); in axge_stop()
921 struct usb_ether *ue; in axge_ioctl() local
926 ue = if_getsoftc(ifp); in axge_ioctl()
927 sc = uether_getsc(ue); in axge_ioctl()
954 uether_init(ue); in axge_ioctl()
962 axge_rx_frame(struct usb_ether *ue, struct usb_page_cache *pc, int actlen) in axge_rx_frame() argument
1028 if_inc_counter(ue->ue_ifp, IFCOUNTER_IERRORS, 1); in axge_rx_frame()
1030 axge_rxeof(ue, pc, pos, pktlen, pkt_hdr.status); in axge_rx_frame()
1036 axge_rxeof(struct usb_ether *ue, struct usb_page_cache *pc, unsigned offset, in axge_rxeof() argument
1042 ifp = ue->ue_ifp; in axge_rxeof()
1077 (void)mbufq_enqueue(&ue->ue_rxq, m); in axge_rxeof()
1081 axge_csum_cfg(struct usb_ether *ue) in axge_csum_cfg() argument
1087 sc = uether_getsc(ue); in axge_csum_cfg()
1089 ifp = uether_getifp(ue); in axge_csum_cfg()