Lines Matching refs:ue

481 axe_setmulti(struct usb_ether *ue)  in axe_setmulti()  argument
483 struct axe_softc *sc = uether_getsc(ue); in axe_setmulti()
484 struct ifnet *ifp = uether_getifp(ue); in axe_setmulti()
543 uether_pause(ue, (y)); \
549 struct usb_ether *ue; in axe_ax88178_init() local
553 ue = &sc->sc_ue; in axe_ax88178_init()
632 axe_miibus_writereg(ue->ue_dev, sc->sc_phyno, in axe_ax88178_init()
634 axe_miibus_writereg(ue->ue_dev, sc->sc_phyno, in axe_ax88178_init()
636 val = axe_miibus_readreg(ue->ue_dev, sc->sc_phyno, in axe_ax88178_init()
638 axe_miibus_writereg(ue->ue_dev, sc->sc_phyno, in axe_ax88178_init()
640 axe_miibus_writereg(ue->ue_dev, sc->sc_phyno, in axe_ax88178_init()
651 uether_pause(ue, hz / 4); in axe_ax88178_init()
655 uether_pause(ue, hz / 4); in axe_ax88178_init()
658 uether_pause(ue, hz / 4); in axe_ax88178_init()
707 struct usb_ether *ue; in axe_ax88772_phywake() local
709 ue = &sc->sc_ue; in axe_ax88772_phywake()
740 struct usb_ether *ue; in axe_ax88772a_init() local
742 ue = &sc->sc_ue; in axe_ax88772a_init()
753 struct usb_ether *ue; in axe_ax88772b_init() local
758 ue = &sc->sc_ue; in axe_ax88772b_init()
773 eaddr = ue->ue_eaddr; in axe_ax88772b_init()
817 axe_attach_post(struct usb_ether *ue) in axe_attach_post() argument
819 struct axe_softc *sc = uether_getsc(ue); in axe_attach_post()
840 axe_cmd(sc, AXE_178_CMD_READ_NODEID, 0, 0, ue->ue_eaddr); in axe_attach_post()
843 axe_cmd(sc, AXE_178_CMD_READ_NODEID, 0, 0, ue->ue_eaddr); in axe_attach_post()
846 axe_cmd(sc, AXE_178_CMD_READ_NODEID, 0, 0, ue->ue_eaddr); in axe_attach_post()
850 axe_cmd(sc, AXE_172_CMD_READ_NODEID, 0, 0, ue->ue_eaddr); in axe_attach_post()
865 axe_attach_post_sub(struct usb_ether *ue) in axe_attach_post_sub() argument
872 sc = uether_getsc(ue); in axe_attach_post_sub()
873 ifp = ue->ue_ifp; in axe_attach_post_sub()
903 error = mii_attach(ue->ue_dev, &ue->ue_miibus, ifp, in axe_attach_post_sub()
904 uether_ifmedia_upd, ue->ue_methods->ue_mii_sts, in axe_attach_post_sub()
938 struct usb_ether *ue = &sc->sc_ue; in axe_attach() local
956 ue->ue_sc = sc; in axe_attach()
957 ue->ue_dev = dev; in axe_attach()
958 ue->ue_udev = uaa->device; in axe_attach()
959 ue->ue_mtx = &sc->sc_mtx; in axe_attach()
960 ue->ue_methods = &axe_ue_methods; in axe_attach()
962 error = uether_ifattach(ue); in axe_attach()
978 struct usb_ether *ue = &sc->sc_ue; in axe_detach() local
981 uether_ifdetach(ue); in axe_detach()
995 struct usb_ether *ue = &sc->sc_ue; in axe_bulk_read_callback() local
1004 axe_rx_frame(ue, pc, actlen); in axe_bulk_read_callback()
1011 uether_rxflush(ue); in axe_bulk_read_callback()
1028 axe_rx_frame(struct usb_ether *ue, struct usb_page_cache *pc, int actlen) in axe_rx_frame() argument
1035 sc = uether_getsc(ue); in axe_rx_frame()
1060 axe_rxeof(ue, pc, pos, len, NULL); in axe_rx_frame()
1094 axe_rxeof(ue, pc, pos + sizeof(csum_hdr), in axe_rx_frame()
1099 axe_rxeof(ue, pc, 0, actlen, NULL); in axe_rx_frame()
1102 if_inc_counter(ue->ue_ifp, IFCOUNTER_IERRORS, 1); in axe_rx_frame()
1107 axe_rxeof(struct usb_ether *ue, struct usb_page_cache *pc, unsigned int offset, in axe_rxeof() argument
1110 struct ifnet *ifp = ue->ue_ifp; in axe_rxeof()
1148 _IF_ENQUEUE(&ue->ue_rxq, m); in axe_rxeof()
1272 axe_tick(struct usb_ether *ue) in axe_tick() argument
1274 struct axe_softc *sc = uether_getsc(ue); in axe_tick()
1281 axe_miibus_statchg(ue->ue_dev); in axe_tick()
1283 axe_start(ue); in axe_tick()
1288 axe_start(struct usb_ether *ue) in axe_start() argument
1290 struct axe_softc *sc = uether_getsc(ue); in axe_start()
1300 axe_csum_cfg(struct usb_ether *ue) in axe_csum_cfg() argument
1306 sc = uether_getsc(ue); in axe_csum_cfg()
1310 ifp = uether_getifp(ue); in axe_csum_cfg()
1328 axe_init(struct usb_ether *ue) in axe_init() argument
1330 struct axe_softc *sc = uether_getsc(ue); in axe_init()
1331 struct ifnet *ifp = uether_getifp(ue); in axe_init()
1340 axe_stop(ue); in axe_init()
1369 axe_csum_cfg(ue); in axe_init()
1416 axe_setmulti(ue); in axe_init()
1426 axe_setpromisc(struct usb_ether *ue) in axe_setpromisc() argument
1428 struct axe_softc *sc = uether_getsc(ue); in axe_setpromisc()
1429 struct ifnet *ifp = uether_getifp(ue); in axe_setpromisc()
1444 axe_setmulti(ue); in axe_setpromisc()
1448 axe_stop(struct usb_ether *ue) in axe_stop() argument
1450 struct axe_softc *sc = uether_getsc(ue); in axe_stop()
1451 struct ifnet *ifp = uether_getifp(ue); in axe_stop()
1468 struct usb_ether *ue = ifp->if_softc; in axe_ioctl() local
1473 sc = uether_getsc(ue); in axe_ioctl()
1500 uether_init(ue); in axe_ioctl()