Lines Matching refs:phy
52 #include <dev/extres/phy/phy.h>
96 phy_t phy[MV_MAX_LANES];
113 rv = phy_get_by_ofw_idx(sc->dev, sc->node, i, &(sc->phy[i]));
115 device_printf(sc->dev, "Cannot get phy[%d]\n", i);
116 /* XXX revert when phy driver will be implemented */
123 if (sc->phy[i] == NULL)
125 rv = phy_enable(sc->phy[i]);
127 device_printf(sc->dev, "Cannot enable phy[%d]\n", i);
135 if (sc->phy[i] == NULL)
137 phy_release(sc->phy[i]);