Lines Matching refs:mii
49 writel(reg, sp->ioaddr + sp->hw->mii.data); in sxgbe_mdio_ctrl_data()
60 writel(reg, sp->ioaddr + sp->hw->mii.addr); in sxgbe_mdio_c45()
74 writel(reg, sp->ioaddr + sp->hw->mii.addr); in sxgbe_mdio_c22()
82 const struct mii_regs *mii = &sp->hw->mii; in sxgbe_mdio_access() local
85 rc = sxgbe_mdio_busy_wait(sp->ioaddr, mii->data); in sxgbe_mdio_access()
99 return sxgbe_mdio_busy_wait(sp->ioaddr, mii->data); in sxgbe_mdio_access()
119 return readl(priv->ioaddr + priv->hw->mii.data) & 0xffff; in sxgbe_mdio_read()
226 priv->mii = mdio_bus; in sxgbe_mdio_register()
242 if (!priv->mii) in sxgbe_mdio_unregister()
245 mdiobus_unregister(priv->mii); in sxgbe_mdio_unregister()
246 priv->mii->priv = NULL; in sxgbe_mdio_unregister()
247 mdiobus_free(priv->mii); in sxgbe_mdio_unregister()
248 priv->mii = NULL; in sxgbe_mdio_unregister()