Home
last modified time | relevance | path

Searched refs:mii_phyno (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/mii/
H A Dmii.c187 retval += printf(" PHY %d", ma->mii_phyno); in miibus_print_child()
232 sbuf_printf(sb, "phyno=%d", ma->mii_phyno); in miibus_child_location()
252 if (args->mii_phyno == val) { in miibus_hinted_child()
274 ma->mii_phyno = val; in miibus_hinted_child()
444 for (ma.mii_phyno = phymin; ma.mii_phyno <= phymax; ma.mii_phyno++) { in mii_attach()
452 if (args->mii_phyno == ma.mii_phyno) { in mii_attach()
466 bmsr = MIIBUS_READREG(dev, ma.mii_phyno, MII_BMSR); in mii_attach()
483 if ((phymask & (1 << ma.mii_phyno)) == 0) in mii_attach()
491 ma.mii_id1 = MIIBUS_READREG(dev, ma.mii_phyno, MII_PHYIDR1); in mii_attach()
492 ma.mii_id2 = MIIBUS_READREG(dev, ma.mii_phyno, MII_PHYIDR2); in mii_attach()
H A Dmii_fdt.c210 cfg->phynode = mii_fdt_lookup_phy(cfg->macnode, ma->mii_phyno); in mii_fdt_get_config()
274 ma->mii_phyno); in miibus_fdt_attach()
278 ma->mii_phyno); in miibus_fdt_attach()
285 ma->mii_phyno); in miibus_fdt_attach()
H A Dgentbi.c134 bmsr = MIIBUS_READREG(parent, ma->mii_phyno, MII_BMSR); in gentbi_probe()
138 extsr = MIIBUS_READREG(parent, ma->mii_phyno, MII_EXTSR); in gentbi_probe()
H A Dmiivar.h210 u_int mii_phyno; /* MII address */ member
H A Dmii_physubr.c602 sc->mii_phy = ma->mii_phyno; in mii_phy_dev_attach()