Lines Matching refs:plat
243 if (priv->plat->has_gmac4) { in stmmac_mdio_read()
312 if (priv->plat->has_gmac4) { in stmmac_mdio_write()
394 if (!priv->plat->has_gmac4) in stmmac_mdio_reset()
409 mode = priv->plat->phy_interface; in stmmac_xpcs_setup()
445 struct stmmac_mdio_bus_data *mdio_bus_data = priv->plat->mdio_bus_data; in stmmac_mdio_register()
446 struct device_node *mdio_node = priv->plat->mdio_node; in stmmac_mdio_register()
462 if (priv->plat->has_gmac4) in stmmac_mdio_register()
465 if (priv->plat->has_xgmac) { in stmmac_mdio_register()
473 if (priv->plat->phy_addr > MII_XGMAC_MAX_C22ADDR) in stmmac_mdio_register()
486 new_bus->name, priv->plat->bus_id); in stmmac_mdio_register()
498 if (priv->plat->has_xgmac) in stmmac_mdio_register()
501 if (priv->plat->phy_node || mdio_node) in stmmac_mdio_register()
526 if (priv->plat->phy_addr == -1) in stmmac_mdio_register()
527 priv->plat->phy_addr = addr; in stmmac_mdio_register()