Home
last modified time | relevance | path

Searched refs:ue_dev (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/dev/usb/net/
H A Dif_muge.c141 device_printf((sc)->sc_ue.ue_dev, "debug: " fmt, ##args); \
148 device_printf((sc)->sc_ue.ue_dev, "warning: " fmt, ##args)
151 device_printf((sc)->sc_ue.ue_dev, "error: " fmt, ##args)
855 err = lan78xx_miibus_writereg(sc->sc_ue.ue_dev, sc->sc_phyno, in lan78xx_set_mdix_auto()
858 buf = lan78xx_miibus_readreg(sc->sc_ue.ue_dev, sc->sc_phyno, in lan78xx_set_mdix_auto()
863 lan78xx_miibus_readreg(sc->sc_ue.ue_dev, sc->sc_phyno, MII_BMCR); in lan78xx_set_mdix_auto()
864 err += lan78xx_miibus_writereg(sc->sc_ue.ue_dev, sc->sc_phyno, in lan78xx_set_mdix_auto()
867 err += lan78xx_miibus_writereg(sc->sc_ue.ue_dev, sc->sc_phyno, in lan78xx_set_mdix_auto()
900 lan78xx_miibus_writereg(sc->sc_ue.ue_dev, sc->sc_phyno, MII_BMCR, in lan78xx_phy_init()
906 bmcr = lan78xx_miibus_readreg(sc->sc_ue.ue_dev, s in lan78xx_phy_init()
[all...]
H A Dif_ure.c565 ue->ue_dev = dev; in ure_attach()
652 DEVPRINTFN(13, sc->sc_ue.ue_dev, "rcb start\n"); in ure_bulk_read_callback()
665 DEVPRINTFN(13, sc->sc_ue.ue_dev, in ure_bulk_read_callback()
669 DEVPRINTFN(13, sc->sc_ue.ue_dev, "len: %d\n", len); in ure_bulk_read_callback()
715 DEVPRINTFN(13, sc->sc_ue.ue_dev, "rcb end\n"); in ure_bulk_read_callback()
780 device_printf(sc->sc_ue.ue_dev, in ure_bulk_write_callback()
805 device_printf(sc->sc_ue.ue_dev, in ure_bulk_write_callback()
811 DEVPRINTFN(13, sc->sc_ue.ue_dev, in ure_bulk_write_callback()
856 DEVPRINTFN(12, sc->sc_ue.ue_dev, in ure_bulk_write_callback()
925 device_printf(sc->sc_ue.ue_dev, in ure_read_chipver()
[all …]
H A Dif_smsc.c167 device_printf((sc)->sc_ue.ue_dev, "debug: " fmt, ##args); \
174 device_printf((sc)->sc_ue.ue_dev, "warning: " fmt, ##args)
177 device_printf((sc)->sc_ue.ue_dev, "error: " fmt, ##args)
1219 smsc_miibus_statchg(ue->ue_dev); in smsc_tick()
1291 smsc_miibus_writereg(sc->sc_ue.ue_dev, sc->sc_phyno, MII_BMCR, BMCR_RESET); in smsc_phy_init()
1296 bmcr = smsc_miibus_readreg(sc->sc_ue.ue_dev, sc->sc_phyno, MII_BMCR); in smsc_phy_init()
1304 smsc_miibus_writereg(sc->sc_ue.ue_dev, sc->sc_phyno, MII_ANAR, in smsc_phy_init()
1311 smsc_miibus_readreg(sc->sc_ue.ue_dev, sc->sc_phyno, SMSC_PHY_INTR_STAT); in smsc_phy_init()
1312 smsc_miibus_writereg(sc->sc_ue.ue_dev, sc->sc_phyno, SMSC_PHY_INTR_MASK, in smsc_phy_init()
1316 bmcr = smsc_miibus_readreg(sc->sc_ue.ue_dev, sc->sc_phyno, MII_BMCR); in smsc_phy_init()
[all …]
H A Dusb_ethernet.c155 name = device_get_nameunit(ue->ue_dev); in ue_sysctl_parent()
165 if ((ue->ue_dev == NULL) || in uether_ifattach()
172 device_get_nameunit(ue->ue_dev), USB_PRI_MED); in uether_ifattach()
174 device_printf(ue->ue_dev, "could not setup taskqueue\n"); in uether_ifattach()
243 error = mii_attach(ue->ue_dev, &ue->ue_miibus, ifp, in ue_attach_post_task()
251 device_printf(ue->ue_dev, "attaching PHYs failed\n"); in ue_attach_post_task()
255 if_printf(ifp, "<USB Ethernet> on %s\n", device_get_nameunit(ue->ue_dev)); in ue_attach_post_task()
320 device_delete_child(ue->ue_dev, ue->ue_miibus); in uether_ifdetach()
H A Dif_kue.c313 device_printf(sc->sc_ue.ue_dev, "failed to load code segment: %s\n", in kue_load_fw()
322 device_printf(sc->sc_ue.ue_dev, "failed to load fixup segment: %s\n", in kue_load_fw()
331 device_printf(sc->sc_ue.ue_dev, "failed to load trigger segment: %s\n", in kue_load_fw()
430 device_printf(sc->sc_ue.ue_dev, "could not load firmware\n"); in kue_attach_post()
495 ue->ue_dev = dev; in kue_attach()
H A Dif_axe.c573 device_printf(sc->sc_ue.ue_dev, in axe_ax88178_init()
633 axe_miibus_writereg(ue->ue_dev, sc->sc_phyno, in axe_ax88178_init()
635 axe_miibus_writereg(ue->ue_dev, sc->sc_phyno, in axe_ax88178_init()
637 val = axe_miibus_readreg(ue->ue_dev, sc->sc_phyno, in axe_ax88178_init()
639 axe_miibus_writereg(ue->ue_dev, sc->sc_phyno, in axe_ax88178_init()
641 axe_miibus_writereg(ue->ue_dev, sc->sc_phyno, in axe_ax88178_init()
824 device_printf(sc->sc_ue.ue_dev, "PHYADDR 0x%02x:0x%02x\n", in axe_attach_post()
830 device_printf(sc->sc_ue.ue_dev, in axe_attach_post()
900 error = mii_attach(ue->ue_dev, &ue->ue_miibus, ifp, in axe_attach_post_sub()
954 ue->ue_dev = dev; in axe_attach()
[all …]
H A Dif_rue.c350 device_printf(sc->sc_ue.ue_dev, "bad phy register\n"); in rue_miibus_readreg()
400 device_printf(sc->sc_ue.ue_dev, " bad phy register\n"); in rue_miibus_writereg()
544 device_printf(sc->sc_ue.ue_dev, "reset never completed\n"); in rue_reset()
605 ue->ue_dev = dev; in rue_attach()
H A Dif_aue.c398 device_printf(sc->sc_ue.ue_dev, "EEPROM read timed out\n"); in aue_eeprom_getword()
456 device_printf(sc->sc_ue.ue_dev, "MII read timed out\n"); in aue_miibus_readreg()
492 device_printf(sc->sc_ue.ue_dev, "MII write timed out\n"); in aue_miibus_writereg()
605 device_printf(sc->sc_ue.ue_dev, "reset failed\n"); in aue_reset()
707 ue->ue_dev = dev; in aue_attach()
H A Dusb_ethernet.h82 device_t ue_dev; member
H A Dif_cdceem.c117 device_printf(S->sc_ue.ue_dev, "%s: " X "\n", \
125 device_printf(S->sc_ue.ue_dev, \
287 ue->ue_dev = dev; in cdceem_attach()
H A Dif_axge.c488 error = mii_attach(ue->ue_dev, &ue->ue_miibus, ifp, in axge_attach_post_sub()
587 ue->ue_dev = dev; in axge_attach()
H A Dif_urndis.c311 ue->ue_dev = dev; in urndis_attach()
517 device_printf(sc->sc_ue.ue_dev, in urndis_ctrl_handle()
H A Dif_ipheth.c246 ue->ue_dev = dev; in ipheth_attach()
H A Dif_cue.c420 ue->ue_dev = dev; in cue_attach()
H A Dif_udav.c291 ue->ue_dev = dev; in udav_attach()
H A Dif_mos.c708 ue->ue_dev = dev; in mos_attach()
H A Dif_cdce.c764 ue->ue_dev = dev; in cdce_attach()
/freebsd/sys/dev/usb/
H A Dusb_fdt_support.c108 if ((node = usb_fdt_get_node(ue->ue_dev, ue->ue_udev)) == -1) in usb_fdt_get_mac_addr()