Lines Matching refs:ue
45 static void axge_rx_frame(struct usb_ether *ue, struct usb_page_cache *pc, int actlen);
230 axge_csum_cfg(struct usb_ether *ue) in axge_csum_cfg() argument
232 struct axge_softc *sc = ue->ue_sc; in axge_csum_cfg()
245 axge_setmulti(struct usb_ether *ue) in axge_setmulti() argument
247 struct axge_softc *sc = ue->ue_sc; in axge_setmulti()
248 struct los_eth_driver *ifp = ue->ue_drv_sc; in axge_setmulti()
263 axge_setpromisc(struct usb_ether *ue) in axge_setpromisc() argument
265 struct axge_softc *sc = uether_getsc(ue); in axge_setpromisc()
266 struct los_eth_driver *ifp = ue->ue_drv_sc; in axge_setpromisc()
277 axge_setmulti(ue); in axge_setpromisc()
281 axge_tick(struct usb_ether *ue) in axge_tick() argument
283 struct axge_softc *sc = uether_getsc(ue); in axge_tick()
316 axge_attach_post(struct usb_ether *ue) in axge_attach_post() argument
318 struct axge_softc *sc = uether_getsc(ue); in axge_attach_post()
323 ue->ue_eaddr, NETIF_MAX_HWADDR_LEN); in axge_attach_post()
352 struct usb_ether *ue = &sc->sc_ue; in axge_attach() local
368 ue->ue_sc = sc; in axge_attach()
369 ue->ue_dev = dev; in axge_attach()
370 ue->ue_udev = uaa->device; in axge_attach()
371 ue->ue_mtx = &sc->sc_mtx; in axge_attach()
372 ue->ue_methods = &axge_ue_methods; in axge_attach()
373 error = uether_ifattach(ue); in axge_attach()
389 struct usb_ether *ue = &sc->sc_ue; in axge_detach() local
392 uether_ifdetach(ue); in axge_detach()
401 struct usb_ether *ue = &sc->sc_ue; in axge_miibus_statchg() local
402 struct los_eth_driver *ifp = ue->ue_drv_sc; in axge_miibus_statchg()
451 struct usb_ether *ue = &sc->sc_ue; in axge_bulk_read_callback() local
459 axge_rx_frame(ue, pc, actlen); in axge_bulk_read_callback()
465 uether_rxflush(ue); in axge_bulk_read_callback()
481 axge_rxeof(struct usb_ether *ue, struct usb_page_cache *pc, unsigned int offset, in axge_rxeof() argument
484 struct los_eth_driver *ifp = ue->ue_drv_sc; in axge_rxeof()
519 axge_rx_frame(struct usb_ether *ue, struct usb_page_cache *pc, int actlen) in axge_rx_frame() argument
558 (void)axge_rxeof(ue, pc, pos, pktlen, pkt_hdr); in axge_rx_frame()
572 struct usb_ether *ue = &(sc->sc_ue); in axge_bulk_write_callback() local
573 struct los_eth_driver *ifp = ue->ue_drv_sc; in axge_bulk_write_callback()
593 UE_LOCK(ue); in axge_bulk_write_callback()
594 IF_DEQUEUE(&(ue->ue_txq), p); in axge_bulk_write_callback()
595 UE_UNLOCK(ue); in axge_bulk_write_callback()
626 UE_LOCK(ue); in axge_bulk_write_callback()
627 IF_DEQUEUE(&(ue->ue_txq), p); in axge_bulk_write_callback()
628 UE_UNLOCK(ue); in axge_bulk_write_callback()
650 axge_start(struct usb_ether *ue) in axge_start() argument
652 struct axge_softc *sc = ue->ue_sc; in axge_start()
662 axge_init(struct usb_ether *ue) in axge_init() argument
664 struct axge_softc *sc = uether_getsc(ue); in axge_init()
665 struct los_eth_driver *ifp = ue->ue_drv_sc; in axge_init()
676 axge_stop(ue); in axge_init()
689 axge_csum_cfg(ue); in axge_init()
707 axge_setmulti(ue); in axge_init()
713 axge_stop(struct usb_ether *ue) in axge_stop() argument
715 struct axge_softc *sc = uether_getsc(ue); in axge_stop()
716 struct los_eth_driver *ifp = ue->ue_drv_sc; in axge_stop()