Lines Matching refs:ue_dev
167 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()
1318 smsc_miibus_writereg(sc->sc_ue.ue_dev, sc->sc_phyno, MII_BMCR, bmcr); in smsc_phy_init()
1431 device_printf(sc->sc_ue.ue_dev, "chip 0x%04lx, rev. %04lx\n", in smsc_chip_init()
1661 err = usb_fdt_get_mac_addr(sc->sc_ue.ue_dev, &sc->sc_ue); in smsc_attach_post()
1663 err = smsc_bootargs_get_mac_addr(sc->sc_ue.ue_dev, in smsc_attach_post()
1669 ether_gen_addr_byname(device_get_nameunit(ue->ue_dev), in smsc_attach_post()
1722 error = mii_attach(ue->ue_dev, &ue->ue_miibus, ifp, in smsc_attach_post_sub()
1788 ue->ue_dev = dev; in smsc_attach()