Home
last modified time | relevance | path

Searched refs:sc_ue (Results 1 – 8 of 8) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/net/
Dif_axe.c237 err = uether_do_request(&sc->sc_ue, &req, buf, 10000); in axe_cmd()
357 ue = &sc->sc_ue; in axe_ax88178_init()
462 axe_uether_pause(&sc->sc_ue, hz / 16); in axe_ax88772_init()
467 axe_uether_pause(&sc->sc_ue, hz / 64); in axe_ax88772_init()
472 axe_uether_pause(&sc->sc_ue, hz / 16); in axe_ax88772_init()
477 axe_uether_pause(&sc->sc_ue, hz / 4); in axe_ax88772_init()
488 axe_uether_pause(&sc->sc_ue, hz / 64); in axe_ax88772_init()
495 axe_uether_pause(&sc->sc_ue, hz / 4); in axe_ax88772_init()
507 axe_uether_pause(&sc->sc_ue, hz / 32); in axe_ax88772_phywake()
515 axe_uether_pause(&sc->sc_ue, hz / 32); in axe_ax88772_phywake()
[all …]
Dif_cdce.c268 ufd = usbd_find_descriptor(sc->sc_ue.ue_udev, NULL, in cdce_ncm_init()
287 err = usbd_do_request_flags(sc->sc_ue.ue_udev, NULL, &req, in cdce_ncm_init()
296 if (usbd_get_mode(sc->sc_ue.ue_udev) == USB_MODE_HOST) { in cdce_ncm_init()
401 err = usbd_do_request_flags(sc->sc_ue.ue_udev, NULL, &req, in cdce_ncm_init()
415 err = usbd_do_request_flags(sc->sc_ue.ue_udev, NULL, &req, in cdce_ncm_init()
428 err = usbd_do_request_flags(sc->sc_ue.ue_udev, NULL, &req, in cdce_ncm_init()
464 struct usb_ether *ue = &sc->sc_ue; in cdce_attach()
480 sc->sc_ue.ue_udev = uaa->device; in cdce_attach()
591 (void)memcpy_s(&sc->sc_ue.ue_eaddr[1], (NETIF_MAX_HWADDR_LEN - 2), &seed, sizeof(uint32_t)); in cdce_attach()
592 sc->sc_ue.ue_eaddr[0] = 0x2a; in cdce_attach()
[all …]
Dif_axge.c160 if (uether_do_request(&sc->sc_ue, &req, buf, 1000)) { in axge_write_mem()
196 return (uether_do_request(&sc->sc_ue, &req, buf, 1000)); in axge_read_mem()
223 (void)uether_pause(&sc->sc_ue, hz / 4); in axge_chip_init()
226 (void)uether_pause(&sc->sc_ue, hz / 10); in axge_chip_init()
302 cd = usbd_get_config_descriptor(sc->sc_ue.ue_udev); in axge_reset()
304 err = usbd_req_set_config(sc->sc_ue.ue_udev, &sc->sc_mtx, in axge_reset()
310 (void)uether_pause(&sc->sc_ue, hz / 100); in axge_reset()
352 struct usb_ether *ue = &sc->sc_ue; in axge_attach()
389 struct usb_ether *ue = &sc->sc_ue; in axge_detach()
401 struct usb_ether *ue = &sc->sc_ue; in axge_miibus_statchg()
[all …]
Dif_urndis.c189 struct usb_ether *ue = &sc->sc_ue; in urndis_attach()
200 sc->sc_ue.ue_udev = uaa->device; in urndis_attach()
265 (void)memcpy_s(&sc->sc_ue.ue_eaddr, NETIF_MAX_HWADDR_LEN, buf, NETIF_MAX_HWADDR_LEN); in urndis_attach()
314 struct usb_ether *ue = &sc->sc_ue; in urndis_detach()
416 return (usbd_do_request_flags(sc->sc_ue.ue_udev, in urndis_ctrl_msg()
492 device_printf(sc->sc_ue.ue_dev, in urndis_ctrl_handle()
799 struct usb_ether *ue = &sc->sc_ue; in urndis_bulk_read()
925 uether_rxflush(&sc->sc_ue); /* must be last */ in urndis_bulk_read_callback()
946 struct usb_ether *ue = &sc->sc_ue; in urndis_bulk_write_callback()
Dif_axereg.h345 #define GET_MII(sc) uether_getmii(&(sc)->sc_ue)
355 struct usb_ether sc_ue; member
Dif_cdcereg.h94 struct usb_ether sc_ue; member
Dif_axgereg.h164 struct usb_ether sc_ue; member
Dif_urndisreg.h53 struct usb_ether sc_ue; member