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.c235 err = uether_do_request(&sc->sc_ue, &req, buf, 10000); in axe_cmd()
355 ue = &sc->sc_ue; in axe_ax88178_init()
460 axe_uether_pause(&sc->sc_ue, hz / 16); in axe_ax88772_init()
465 axe_uether_pause(&sc->sc_ue, hz / 64); in axe_ax88772_init()
470 axe_uether_pause(&sc->sc_ue, hz / 16); in axe_ax88772_init()
475 axe_uether_pause(&sc->sc_ue, hz / 4); in axe_ax88772_init()
486 axe_uether_pause(&sc->sc_ue, hz / 64); in axe_ax88772_init()
493 axe_uether_pause(&sc->sc_ue, hz / 4); in axe_ax88772_init()
505 axe_uether_pause(&sc->sc_ue, hz / 32); in axe_ax88772_phywake()
513 axe_uether_pause(&sc->sc_ue, hz / 32); in axe_ax88772_phywake()
[all …]
Dif_cdce.c265 ufd = usbd_find_descriptor(sc->sc_ue.ue_udev, NULL, in cdce_ncm_init()
284 err = usbd_do_request_flags(sc->sc_ue.ue_udev, NULL, &req, in cdce_ncm_init()
293 if (usbd_get_mode(sc->sc_ue.ue_udev) == USB_MODE_HOST) { in cdce_ncm_init()
398 err = usbd_do_request_flags(sc->sc_ue.ue_udev, NULL, &req, in cdce_ncm_init()
412 err = usbd_do_request_flags(sc->sc_ue.ue_udev, NULL, &req, in cdce_ncm_init()
425 err = usbd_do_request_flags(sc->sc_ue.ue_udev, NULL, &req, in cdce_ncm_init()
461 struct usb_ether *ue = &sc->sc_ue; in cdce_attach()
477 sc->sc_ue.ue_udev = uaa->device; in cdce_attach()
585 (void)memcpy_s(&sc->sc_ue.ue_eaddr[1], (NETIF_MAX_HWADDR_LEN - 2), &seed, sizeof(uint32_t)); in cdce_attach()
586 sc->sc_ue.ue_eaddr[0] = 0x2a; in cdce_attach()
[all …]
Dif_axge.c159 if (uether_do_request(&sc->sc_ue, &req, buf, 1000)) { in axge_write_mem()
195 return (uether_do_request(&sc->sc_ue, &req, buf, 1000)); in axge_read_mem()
222 (void)uether_pause(&sc->sc_ue, hz / 4); in axge_chip_init()
225 (void)uether_pause(&sc->sc_ue, hz / 10); in axge_chip_init()
301 cd = usbd_get_config_descriptor(sc->sc_ue.ue_udev); in axge_reset()
303 err = usbd_req_set_config(sc->sc_ue.ue_udev, &sc->sc_mtx, in axge_reset()
309 (void)uether_pause(&sc->sc_ue, hz / 100); in axge_reset()
351 struct usb_ether *ue = &sc->sc_ue; in axge_attach()
388 struct usb_ether *ue = &sc->sc_ue; in axge_detach()
400 struct usb_ether *ue = &sc->sc_ue; in axge_miibus_statchg()
[all …]
Dif_urndis.c188 struct usb_ether *ue = &sc->sc_ue; in urndis_attach()
199 sc->sc_ue.ue_udev = uaa->device; in urndis_attach()
264 (void)memcpy_s(&sc->sc_ue.ue_eaddr, NETIF_MAX_HWADDR_LEN, buf, NETIF_MAX_HWADDR_LEN); in urndis_attach()
313 struct usb_ether *ue = &sc->sc_ue; in urndis_detach()
415 return (usbd_do_request_flags(sc->sc_ue.ue_udev, in urndis_ctrl_msg()
491 device_printf(sc->sc_ue.ue_dev, in urndis_ctrl_handle()
798 struct usb_ether *ue = &sc->sc_ue; in urndis_bulk_read()
924 uether_rxflush(&sc->sc_ue); /* must be last */ in urndis_bulk_read_callback()
945 struct usb_ether *ue = &sc->sc_ue; in urndis_bulk_write_callback()
Dif_axereg.h343 #define GET_MII(sc) uether_getmii(&(sc)->sc_ue)
353 struct usb_ether sc_ue; member
Dif_cdcereg.h94 struct usb_ether sc_ue; member
Dif_axgereg.h166 struct usb_ether sc_ue; member
Dif_urndisreg.h51 struct usb_ether sc_ue; member