Lines Matching defs:phy
158 device_printf(dev, "missing phy %u device %s\n", priv->phy_id, priv->phy_device);
219 octe_miibus_readreg(device_t dev, int phy, int reg)
229 return (priv->mdio_read(priv->ifp, phy, reg));
234 KASSERT(phy == priv->phy_id,
235 ("read from phy %u but our phy is %u", phy, priv->phy_id));
236 return (cvm_oct_mdio_read(priv->ifp, phy, reg));
240 octe_miibus_writereg(device_t dev, int phy, int reg, int val)
250 priv->mdio_write(priv->ifp, phy, reg, val);
257 KASSERT(phy == priv->phy_id,
258 ("write to phy %u but our phy is %u", phy, priv->phy_id));
259 cvm_oct_mdio_write(priv->ifp, phy, reg, val);