Lines Matching refs:ue
311 axe_setmulti(struct usb_ether *ue) in axe_setmulti() argument
347 axe_uether_pause(ue, (y)); \
353 struct usb_ether *ue; in axe_ax88178_init() local
357 ue = &sc->sc_ue; in axe_ax88178_init()
446 axe_uether_pause(ue, hz / 4); in axe_ax88178_init()
450 axe_uether_pause(ue, hz / 4); in axe_ax88178_init()
453 axe_uether_pause(ue, hz / 4); in axe_ax88178_init()
532 struct usb_ether *ue = &sc->sc_ue; in axe_ax88772b_init() local
537 struct los_eth_driver *ifp = ue->ue_drv_sc; in axe_ax88772b_init()
553 eaddr = ue->ue_eaddr; in axe_ax88772b_init()
564 axe_cmd(sc, AXE_178_CMD_WRITE_NODEID, 0, 0, ue->ue_eaddr); in axe_ax88772b_init()
566 axe_attach_post(ue); in axe_ax88772b_init()
573 ifp = ue->ue_drv_sc; in axe_ax88772b_init()
613 axe_attach_post(struct usb_ether *ue) in axe_attach_post() argument
615 struct axe_softc *sc = uether_getsc(ue); in axe_attach_post()
659 struct usb_ether *ue = &sc->sc_ue; in axe_miibus_statchg() local
660 struct los_eth_driver *ifp = ue->ue_drv_sc; in axe_miibus_statchg()
673 axe_start(ue); in axe_miibus_statchg()
697 struct usb_ether *ue = &sc->sc_ue; in axe_attach() local
715 ue->ue_sc = sc; in axe_attach()
716 ue->ue_dev = dev; in axe_attach()
717 ue->ue_udev = uaa->device; in axe_attach()
718 ue->ue_mtx = &sc->sc_mtx; in axe_attach()
719 ue->ue_methods = &axe_ue_methods; in axe_attach()
720 error = uether_ifattach(ue); in axe_attach()
736 struct usb_ether *ue = &sc->sc_ue; in axe_detach() local
739 uether_ifdetach(ue); in axe_detach()
753 struct usb_ether *ue = &sc->sc_ue; in axe_bulk_read_callback() local
761 (void) axe_rx_frame(ue, pc, actlen); in axe_bulk_read_callback()
767 uether_rxflush(ue); in axe_bulk_read_callback()
783 axe_rx_frame(struct usb_ether *ue, struct usb_page_cache *pc, int actlen) in axe_rx_frame() argument
785 struct axe_softc *sc = ue->ue_sc; in axe_rx_frame()
815 (void) axe_rxeof(ue, pc, pos, len, NULL); in axe_rx_frame()
849 (void) axe_rxeof(ue, pc, pos + sizeof(csum_hdr), in axe_rx_frame()
854 (void)axe_rxeof(ue, pc, 0, actlen, NULL); in axe_rx_frame()
860 axe_rxeof(struct usb_ether *ue, struct usb_page_cache *pc, unsigned int offset, in axe_rxeof() argument
863 struct los_eth_driver *ifp = ue->ue_drv_sc; in axe_rxeof()
907 struct usb_ether *ue = &(sc->sc_ue); in axe_bulk_write_callback() local
908 struct los_eth_driver *ifp = ue->ue_drv_sc; in axe_bulk_write_callback()
928 UE_LOCK(ue); in axe_bulk_write_callback()
929 IF_DEQUEUE(&(ue->ue_txq), p); in axe_bulk_write_callback()
930 UE_UNLOCK(ue); in axe_bulk_write_callback()
961 UE_LOCK(ue); in axe_bulk_write_callback()
962 IF_DEQUEUE(&(ue->ue_txq), p); in axe_bulk_write_callback()
963 UE_UNLOCK(ue); in axe_bulk_write_callback()
987 axe_start(struct usb_ether *ue) in axe_start() argument
989 struct axe_softc *sc = ue->ue_sc; in axe_start()
999 axe_csum_cfg(struct usb_ether *ue) in axe_csum_cfg() argument
1001 (void)ue; in axe_csum_cfg()
1005 axe_init(struct usb_ether *ue) in axe_init() argument
1007 struct axe_softc *sc = uether_getsc(ue); in axe_init()
1008 struct los_eth_driver *ifp = ue->ue_drv_sc; in axe_init()
1019 axe_stop(ue); in axe_init()
1024 axe_cmd(sc, AXE_178_CMD_READ_NODEID, 0, 0, ue->ue_eaddr); in axe_init()
1028 axe_cmd(sc, AXE_178_CMD_READ_NODEID, 0, 0, ue->ue_eaddr); in axe_init()
1039 axe_csum_cfg(ue); in axe_init()
1084 axe_setmulti(ue); in axe_init()
1094 axe_setpromisc(struct usb_ether *ue) in axe_setpromisc() argument
1096 struct axe_softc *sc = uether_getsc(ue); in axe_setpromisc()
1097 struct los_eth_driver *ifp = ue->ue_drv_sc; in axe_setpromisc()
1112 axe_setmulti(ue); in axe_setpromisc()
1116 axe_tick(struct usb_ether *ue) in axe_tick() argument
1118 struct axe_softc *sc = uether_getsc(ue); in axe_tick()
1131 axe_stop(struct usb_ether *ue) in axe_stop() argument
1133 struct axe_softc *sc = uether_getsc(ue); in axe_stop()
1134 struct los_eth_driver *ifp = ue->ue_drv_sc; in axe_stop()