Lines Matching defs:phy
159 device_printf(dev, "missing phy %u device %s\n", priv->phy_id, priv->phy_device);
220 octe_miibus_readreg(device_t dev, int phy, int reg)
230 return (priv->mdio_read(priv->ifp, phy, reg));
235 KASSERT(phy == priv->phy_id,
236 ("read from phy %u but our phy is %u", phy, priv->phy_id));
237 return (cvm_oct_mdio_read(priv->ifp, phy, reg));
241 octe_miibus_writereg(device_t dev, int phy, int reg, int val)
251 priv->mdio_write(priv->ifp, phy, reg, val);
258 KASSERT(phy == priv->phy_id,
259 ("write to phy %u but our phy is %u", phy, priv->phy_id));
260 cvm_oct_mdio_write(priv->ifp, phy, reg, val);