Searched refs:sc_ue (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-13-stable/sys/dev/usb/net/
H A Dif_urndisreg.h39 struct usb_ether sc_ue; member in struct:urndis_softc
H A Dif_smsc.c169 device_printf((sc)->sc_ue.ue_dev, "debug: " fmt, ##args); \
176 device_printf((sc)->sc_ue.ue_dev, "warning: " fmt, ##args)
179 device_printf((sc)->sc_ue.ue_dev, "error: " fmt, ##args)
278 err = uether_do_request(&sc->sc_ue, &req, &buf, 1000);
316 err = uether_do_request(&sc->sc_ue, &req, &buf, 1000);
352 uether_pause(&sc->sc_ue, hz / 100);
406 uether_pause(&sc->sc_ue, hz / 100);
539 struct mii_data *mii = uether_getmii(&sc->sc_ue);
550 ifp = uether_getifp(&sc->sc_ue);
637 struct mii_data *mii = uether_getmii(&sc->sc_ue);
[all...]
H A Dif_iphethvar.h70 struct usb_ether sc_ue; member in struct:ipheth_softc
H A Dif_cdce.c334 ufd = usbd_find_descriptor(sc->sc_ue.ue_udev, NULL,
353 err = usbd_do_request_flags(sc->sc_ue.ue_udev, NULL, &req,
360 if (usbd_get_mode(sc->sc_ue.ue_udev) == USB_MODE_HOST) {
465 err = usbd_do_request_flags(sc->sc_ue.ue_udev, NULL, &req,
479 err = usbd_do_request_flags(sc->sc_ue.ue_udev, NULL, &req,
492 err = usbd_do_request_flags(sc->sc_ue.ue_udev, NULL, &req,
567 struct usb_ether *ue = &sc->sc_ue;
581 sc->sc_ue.ue_udev = uaa->device;
684 sc->sc_ue.ue_eaddr[0] = 0x2a;
685 memcpy(&sc->sc_ue
[all...]
H A Dif_mosreg.h162 struct usb_ether sc_ue; member in struct:mos_softc
175 #define GET_MII(sc) uether_getmii(&(sc)->sc_ue)
H A Dif_ure.c303 return (uether_do_request(&sc->sc_ue, &req, buf, 1000));
499 ifp = uether_getifp(&sc->sc_ue);
560 struct usb_ether *ue = &sc->sc_ue;
606 struct usb_ether *ue = &sc->sc_ue;
656 struct usb_ether *ue = &sc->sc_ue;
672 DEVPRINTFN(13, sc->sc_ue.ue_dev, "rcb start\n");
685 DEVPRINTFN(13, sc->sc_ue.ue_dev,
689 DEVPRINTFN(13, sc->sc_ue.ue_dev, "len: %d\n", len);
735 DEVPRINTFN(13, sc->sc_ue.ue_dev, "rcb end\n");
762 struct ifnet *ifp = uether_getifp(&sc->sc_ue);
[all...]
H A Dif_muge.c145 device_printf((sc)->sc_ue.ue_dev, "debug: " fmt, ##args); \
152 device_printf((sc)->sc_ue.ue_dev, "warning: " fmt, ##args)
155 device_printf((sc)->sc_ue.ue_dev, "error: " fmt, ##args)
173 struct usb_ether sc_ue; member in struct:muge_softc
294 err = uether_do_request(&sc->sc_ue, &req, &buf, 1000);
330 err = uether_do_request(&sc->sc_ue, &req, &buf, 1000);
364 uether_pause(&sc->sc_ue, hz / 100);
431 uether_pause(&sc->sc_ue, hz / 100);
762 struct mii_data *mii = uether_getmii(&sc->sc_ue);
773 ifp = uether_getifp(&sc->sc_ue);
[all...]
H A Dif_axe.c317 err = uether_do_request(&sc->sc_ue, &req, buf, 1000);
386 ifp = uether_getifp(&sc->sc_ue);
558 ue = &sc->sc_ue;
577 device_printf(sc->sc_ue.ue_dev,
672 uether_pause(&sc->sc_ue, hz / 16);
677 uether_pause(&sc->sc_ue, hz / 64);
682 uether_pause(&sc->sc_ue, hz / 16);
687 uether_pause(&sc->sc_ue, hz / 4);
698 uether_pause(&sc->sc_ue, hz / 64);
705 uether_pause(&sc->sc_ue, h
[all...]
H A Dif_kue.c248 err = uether_do_request(&sc->sc_ue, req, data, 60000);
293 dd = usbd_get_device_descriptor(sc->sc_ue.ue_udev);
317 device_printf(sc->sc_ue.ue_dev, "failed to load code segment: %s\n",
326 device_printf(sc->sc_ue.ue_dev, "failed to load fixup segment: %s\n",
335 device_printf(sc->sc_ue.ue_dev, "failed to load trigger segment: %s\n",
414 cd = usbd_get_config_descriptor(sc->sc_ue.ue_udev);
416 err = usbd_req_set_config(sc->sc_ue.ue_udev, &sc->sc_mtx,
422 uether_pause(&sc->sc_ue, hz / 100);
434 device_printf(sc->sc_ue.ue_dev, "could not load firmware\n");
476 struct usb_ether *ue = &sc->sc_ue;
[all...]
H A Dif_aue.c323 err = uether_do_request(&sc->sc_ue, &req, &val, 1000);
342 err = uether_do_request(&sc->sc_ue, &req, &val, 1000);
360 if (uether_do_request(&sc->sc_ue, &req, &val, 1000)) {
378 if (uether_do_request(&sc->sc_ue, &req, &val, 1000)) {
397 if (uether_pause(&sc->sc_ue, hz / 100))
402 device_printf(sc->sc_ue.ue_dev, "EEPROM read timed out\n");
455 if (uether_pause(&sc->sc_ue, hz / 100))
460 device_printf(sc->sc_ue.ue_dev, "MII read timed out\n");
491 if (uether_pause(&sc->sc_ue, hz / 100))
496 device_printf(sc->sc_ue
[all...]
H A Dif_udavreg.h142 #define GET_MII(sc) uether_getmii(&(sc)->sc_ue)
157 struct usb_ether sc_ue; member in struct:udav_softc
H A Dif_cue.c212 if (uether_do_request(&sc->sc_ue, &req, &val, 1000)) {
230 (void)uether_do_request(&sc->sc_ue, &req, &val, 1000);
245 return (uether_do_request(&sc->sc_ue, &req, NULL, 1000));
262 return (uether_do_request(&sc->sc_ue, &req, buf, 1000));
276 return (uether_do_request(&sc->sc_ue, &req, buf, 1000));
366 if (uether_do_request(&sc->sc_ue, &req, NULL, 1000)) {
373 uether_pause(&sc->sc_ue, hz / 100);
408 struct usb_ether *ue = &sc->sc_ue;
445 struct usb_ether *ue = &sc->sc_ue;
458 struct usb_ether *ue = &sc->sc_ue;
[all...]
H A Dif_cdcereg.h82 struct usb_ether sc_ue; member in struct:cdce_softc
H A Dif_udav.c267 struct usb_ether *ue = &sc->sc_ue;
317 struct usb_ether *ue = &sc->sc_ue;
341 return (uether_do_request(&sc->sc_ue, &req, buf, 1000));
358 return (uether_do_request(&sc->sc_ue, &req, buf, 1000));
373 return (uether_do_request(&sc->sc_ue, &req, NULL, 1000));
390 return (uether_do_request(&sc->sc_ue, &req, buf, 1000));
407 return (uether_do_request(&sc->sc_ue, &req, buf, 1000));
433 return (uether_do_request(&sc->sc_ue, &req, NULL, 1000));
440 struct ifnet *ifp = uether_getifp(&sc->sc_ue);
500 if (uether_pause(&sc->sc_ue, h
[all...]
H A Dif_ipheth.c202 error = usbd_do_request(sc->sc_ue.ue_udev, NULL, &req, sc->sc_data);
207 memcpy(sc->sc_ue.ue_eaddr, sc->sc_data, ETHER_ADDR_LEN);
227 struct usb_ether *ue = &sc->sc_ue;
277 struct usb_ether *ue = &sc->sc_ue;
390 struct ifnet *ifp = uether_getifp(&sc->sc_ue);
502 uether_rxmbuf(&sc->sc_ue, m, len - IPHETH_RX_ADJ);
528 uether_rxflush(&sc->sc_ue);
H A Dif_auereg.h188 #define GET_MII(sc) uether_getmii(&(sc)->sc_ue)
207 struct usb_ether sc_ue; member in struct:aue_softc
H A Dif_axgereg.h147 #define GET_MII(sc) uether_getmii(&(sc)->sc_ue)
201 struct usb_ether sc_ue; member in struct:axge_softc
H A Dif_ruereg.h149 #define GET_MII(sc) uether_getmii(&(sc)->sc_ue)
170 struct usb_ether sc_ue; member in struct:rue_softc
H A Dif_cuereg.h124 struct usb_ether sc_ue; member in struct:cue_softc
H A Dif_axge.c232 return (uether_do_request(&sc->sc_ue, &req, buf, 1000));
249 if (uether_do_request(&sc->sc_ue, &req, buf, 1000)) {
344 ifp = uether_getifp(&sc->sc_ue);
413 uether_pause(&sc->sc_ue, hz / 4);
416 uether_pause(&sc->sc_ue, hz / 10);
425 cd = usbd_get_config_descriptor(sc->sc_ue.ue_udev);
427 err = usbd_req_set_config(sc->sc_ue.ue_udev, &sc->sc_mtx,
433 uether_pause(&sc->sc_ue, hz / 100);
556 ue = &sc->sc_ue;
596 ue = &sc->sc_ue;
[all...]
H A Dif_mos.c283 err = uether_do_request(&sc->sc_ue, &req, &val, 1000);
307 err = uether_do_request(&sc->sc_ue, &req, &val, 1000);
330 err = uether_do_request(&sc->sc_ue, &req, &val, 1000);
354 err = uether_do_request(&sc->sc_ue, &req, &val, 1000);
375 err = uether_do_request(&sc->sc_ue, &req, mac, 1000);
395 err = uether_do_request(&sc->sc_ue, &req, mac, 1000);
416 err = uether_do_request(&sc->sc_ue, &req, hashtbl, 1000);
696 struct usb_ether *ue = &sc->sc_ue;
760 struct usb_ether *ue = &sc->sc_ue;
777 struct usb_ether *ue = &sc->sc_ue;
[all...]
H A Dif_rue.c256 return (uether_do_request(&sc->sc_ue, &req, buf, 1000));
270 return (uether_do_request(&sc->sc_ue, &req, buf, 1000));
355 device_printf(sc->sc_ue.ue_dev, "bad phy register\n");
405 device_printf(sc->sc_ue.ue_dev, " bad phy register\n");
543 if (uether_pause(&sc->sc_ue, hz / 1000))
549 device_printf(sc->sc_ue.ue_dev, "reset never completed\n");
551 uether_pause(&sc->sc_ue, hz / 100);
593 struct usb_ether *ue = &sc->sc_ue;
631 struct usb_ether *ue = &sc->sc_ue;
644 struct ifnet *ifp = uether_getifp(&sc->sc_ue);
[all...]
H A Dif_cdceem.c93 struct usb_ether sc_ue; member in struct:cdceem_softc
119 device_printf(S->sc_ue.ue_dev, "%s: " X "\n", \
127 device_printf(S->sc_ue.ue_dev, \
267 ue = &sc->sc_ue;
311 struct usb_ether *ue = &sc->sc_ue;
438 ue = &sc->sc_ue;
554 uether_rxflush(&sc->sc_ue);
660 ifp = uether_getifp(&sc->sc_ue);
761 ifp = uether_getifp(&sc->sc_ue);
828 if (usbd_get_mode(sc->sc_ue
[all...]
H A Dif_urndis.c232 struct usb_ether *ue = &sc->sc_ue;
241 sc->sc_ue.ue_udev = uaa->device;
299 memcpy(&sc->sc_ue.ue_eaddr, buf, ETHER_ADDR_LEN);
342 struct usb_ether *ue = &sc->sc_ue;
446 return (usbd_do_request_flags(sc->sc_ue.ue_udev,
521 device_printf(sc->sc_ue.ue_dev,
823 struct ifnet *ifp = uether_getifp(&sc->sc_ue);
918 uether_rxmbuf(&sc->sc_ue, m, msg.rm_datalen);
931 uether_rxflush(&sc->sc_ue); /* must be last */
952 struct ifnet *ifp = uether_getifp(&sc->sc_ue);
[all...]
H A Dif_kuereg.h129 struct usb_ether sc_ue; member in struct:kue_softc

Completed in 214 milliseconds

12