Lines Matching defs:phy
51 #include <dev/extres/phy/phy.h>
95 phy_t phy[MV_MAX_LANES];
112 rv = phy_get_by_ofw_idx(sc->dev, sc->node, i, &(sc->phy[i]));
114 device_printf(sc->dev, "Cannot get phy[%d]\n", i);
115 /* XXX revert when phy driver will be implemented */
122 if (sc->phy[i] == NULL)
124 rv = phy_enable(sc->phy[i]);
126 device_printf(sc->dev, "Cannot enable phy[%d]\n", i);
134 if (sc->phy[i] == NULL)
136 phy_release(sc->phy[i]);