Lines Matching full:ue

492 axe_setmulti(struct usb_ether *ue)  in axe_setmulti()  argument
494 struct axe_softc *sc = uether_getsc(ue); in axe_setmulti()
495 if_t 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()
737 struct usb_ether *ue; in axe_ax88772a_init() local
739 ue = &sc->sc_ue; in axe_ax88772a_init()
750 struct usb_ether *ue; in axe_ax88772b_init() local
755 ue = &sc->sc_ue; in axe_ax88772b_init()
770 eaddr = ue->ue_eaddr; in axe_ax88772b_init()
814 axe_attach_post(struct usb_ether *ue) in axe_attach_post() argument
816 struct axe_softc *sc = uether_getsc(ue); in axe_attach_post()
837 axe_cmd(sc, AXE_178_CMD_READ_NODEID, 0, 0, ue->ue_eaddr); 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()
847 axe_cmd(sc, AXE_172_CMD_READ_NODEID, 0, 0, ue->ue_eaddr); in axe_attach_post()
862 axe_attach_post_sub(struct usb_ether *ue) in axe_attach_post_sub() argument
869 sc = uether_getsc(ue); in axe_attach_post_sub()
870 ifp = ue->ue_ifp; in axe_attach_post_sub()
899 error = mii_attach(ue->ue_dev, &ue->ue_miibus, ifp, in axe_attach_post_sub()
900 uether_ifmedia_upd, ue->ue_methods->ue_mii_sts, in axe_attach_post_sub()
934 struct usb_ether *ue = &sc->sc_ue; in axe_attach() local
952 ue->ue_sc = sc; in axe_attach()
953 ue->ue_dev = dev; in axe_attach()
954 ue->ue_udev = uaa->device; in axe_attach()
955 ue->ue_mtx = &sc->sc_mtx; in axe_attach()
956 ue->ue_methods = &axe_ue_methods; in axe_attach()
958 error = uether_ifattach(ue); in axe_attach()
974 struct usb_ether *ue = &sc->sc_ue; in axe_detach() local
977 uether_ifdetach(ue); in axe_detach()
991 struct usb_ether *ue = &sc->sc_ue; in axe_bulk_read_callback() local
1000 axe_rx_frame(ue, pc, actlen); in axe_bulk_read_callback()
1007 uether_rxflush(ue); in axe_bulk_read_callback()
1023 axe_rx_frame(struct usb_ether *ue, struct usb_page_cache *pc, int actlen) in axe_rx_frame() argument
1030 sc = uether_getsc(ue); in axe_rx_frame()
1055 axe_rxeof(ue, pc, pos, len, NULL); in axe_rx_frame()
1089 axe_rxeof(ue, pc, pos + sizeof(csum_hdr), in axe_rx_frame()
1094 axe_rxeof(ue, pc, 0, actlen, NULL); in axe_rx_frame()
1097 if_inc_counter(ue->ue_ifp, IFCOUNTER_IERRORS, 1); in axe_rx_frame()
1102 axe_rxeof(struct usb_ether *ue, struct usb_page_cache *pc, unsigned offset, in axe_rxeof() argument
1105 if_t ifp = ue->ue_ifp; in axe_rxeof()
1143 (void)mbufq_enqueue(&ue->ue_rxq, m); in axe_rxeof()
1266 axe_tick(struct usb_ether *ue) in axe_tick() argument
1268 struct axe_softc *sc = uether_getsc(ue); in axe_tick()
1275 axe_miibus_statchg(ue->ue_dev); in axe_tick()
1277 axe_start(ue); in axe_tick()
1282 axe_start(struct usb_ether *ue) in axe_start() argument
1284 struct axe_softc *sc = uether_getsc(ue); in axe_start()
1294 axe_csum_cfg(struct usb_ether *ue) in axe_csum_cfg() argument
1300 sc = uether_getsc(ue); in axe_csum_cfg()
1304 ifp = uether_getifp(ue); in axe_csum_cfg()
1322 axe_init(struct usb_ether *ue) in axe_init() argument
1324 struct axe_softc *sc = uether_getsc(ue); in axe_init()
1325 if_t ifp = uether_getifp(ue); in axe_init()
1334 axe_stop(ue); in axe_init()
1363 axe_csum_cfg(ue); in axe_init()
1410 axe_setmulti(ue); in axe_init()
1420 axe_setpromisc(struct usb_ether *ue) in axe_setpromisc() argument
1422 struct axe_softc *sc = uether_getsc(ue); in axe_setpromisc()
1423 if_t ifp = uether_getifp(ue); in axe_setpromisc()
1438 axe_setmulti(ue); in axe_setpromisc()
1442 axe_stop(struct usb_ether *ue) in axe_stop() argument
1444 struct axe_softc *sc = uether_getsc(ue); in axe_stop()
1445 if_t ifp = uether_getifp(ue); in axe_stop()
1462 struct usb_ether *ue = if_getsoftc(ifp); in axe_ioctl() local
1467 sc = uether_getsc(ue); in axe_ioctl()
1494 uether_init(ue); in axe_ioctl()