Lines Matching refs:scc
59 struct memacphy_softc_common scc; member
70 memacphy_miibus_statchg(&sc->scc); in memacphy_fdt_miibus_statchg()
79 return (memacphy_set_ni_dev(&sc->scc, nidev)); in memacphy_fdt_set_ni_dev()
88 return (memacphy_get_phy_loc(&sc->scc, phy_loc)); in memacphy_fdt_get_phy_loc()
111 sc->scc.dev = dev; in memacphy_fdt_attach()
117 sc->scc.phy = sc->reg; in memacphy_fdt_attach()
119 sc->scc.phy = -1; in memacphy_fdt_attach()
128 node, ofw_bus_get_name(dev), sc->reg, sc->xref, sc->scc.phy); in memacphy_fdt_attach()
130 if (sc->scc.phy == -1) in memacphy_fdt_attach()
169 struct memac_mdio_softc_common scc; member
178 return (memac_miibus_readreg(&sc->scc, phy, reg)); in memac_fdt_miibus_readreg()
187 return (memac_miibus_writereg(&sc->scc, phy, reg, data)); in memac_fdt_miibus_writereg()
234 sc->scc.dev = dev; in memac_mdio_fdt_attach()
236 error = memac_mdio_generic_attach(&sc->scc); in memac_mdio_fdt_attach()
261 return (memac_mdio_generic_detach(&sc->scc)); in memac_mdio_fdt_detach()