Lines Matching refs:ue
309 axe_setmulti(struct usb_ether *ue)
345 axe_uether_pause(ue, (y)); \
351 struct usb_ether *ue;
355 ue = &sc->sc_ue;
444 axe_uether_pause(ue, hz / 4);
448 axe_uether_pause(ue, hz / 4);
451 axe_uether_pause(ue, hz / 4);
530 struct usb_ether *ue = &sc->sc_ue;
535 struct los_eth_driver *ifp = ue->ue_drv_sc;
551 eaddr = ue->ue_eaddr;
562 axe_cmd(sc, AXE_178_CMD_WRITE_NODEID, 0, 0, ue->ue_eaddr);
564 axe_attach_post(ue);
571 ifp = ue->ue_drv_sc;
611 axe_attach_post(struct usb_ether *ue)
613 struct axe_softc *sc = uether_getsc(ue);
657 struct usb_ether *ue = &sc->sc_ue;
658 struct los_eth_driver *ifp = ue->ue_drv_sc;
671 axe_start(ue);
695 struct usb_ether *ue = &sc->sc_ue;
713 ue->ue_sc = sc;
714 ue->ue_dev = dev;
715 ue->ue_udev = uaa->device;
716 ue->ue_mtx = &sc->sc_mtx;
717 ue->ue_methods = &axe_ue_methods;
718 error = uether_ifattach(ue);
734 struct usb_ether *ue = &sc->sc_ue;
737 uether_ifdetach(ue);
751 struct usb_ether *ue = &sc->sc_ue;
759 (void) axe_rx_frame(ue, pc, actlen);
765 uether_rxflush(ue);
781 axe_rx_frame(struct usb_ether *ue, struct usb_page_cache *pc, int actlen)
783 struct axe_softc *sc = ue->ue_sc;
813 (void) axe_rxeof(ue, pc, pos, len, NULL);
847 (void) axe_rxeof(ue, pc, pos + sizeof(csum_hdr),
852 (void)axe_rxeof(ue, pc, 0, actlen, NULL);
858 axe_rxeof(struct usb_ether *ue, struct usb_page_cache *pc, unsigned int offset,
861 struct los_eth_driver *ifp = ue->ue_drv_sc;
905 struct usb_ether *ue = &(sc->sc_ue);
906 struct los_eth_driver *ifp = ue->ue_drv_sc;
926 UE_LOCK(ue);
927 IF_DEQUEUE(&(ue->ue_txq), p);
928 UE_UNLOCK(ue);
959 UE_LOCK(ue);
960 IF_DEQUEUE(&(ue->ue_txq), p);
961 UE_UNLOCK(ue);
985 axe_start(struct usb_ether *ue)
987 struct axe_softc *sc = ue->ue_sc;
997 axe_csum_cfg(struct usb_ether *ue)
999 (void)ue;
1003 axe_init(struct usb_ether *ue)
1005 struct axe_softc *sc = uether_getsc(ue);
1006 struct los_eth_driver *ifp = ue->ue_drv_sc;
1017 axe_stop(ue);
1022 axe_cmd(sc, AXE_178_CMD_READ_NODEID, 0, 0, ue->ue_eaddr);
1026 axe_cmd(sc, AXE_178_CMD_READ_NODEID, 0, 0, ue->ue_eaddr);
1037 axe_csum_cfg(ue);
1082 axe_setmulti(ue);
1092 axe_setpromisc(struct usb_ether *ue)
1094 struct axe_softc *sc = uether_getsc(ue);
1095 struct los_eth_driver *ifp = ue->ue_drv_sc;
1110 axe_setmulti(ue);
1114 axe_tick(struct usb_ether *ue)
1116 struct axe_softc *sc = uether_getsc(ue);
1129 axe_stop(struct usb_ether *ue)
1131 struct axe_softc *sc = uether_getsc(ue);
1132 struct los_eth_driver *ifp = ue->ue_drv_sc;