Lines Matching refs:phy_iface
62 phy_interface_t phy_iface; member
1215 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk3576_set_gmac_speed()
1221 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk3576_set_gmac_speed()
1227 if (bsp_priv->phy_iface != PHY_INTERFACE_MODE_RMII) in rk3576_set_gmac_speed()
1357 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
1363 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
1369 if (bsp_priv->phy_iface != PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
1559 int phy_iface = bsp_priv->phy_iface; in rk_gmac_clk_init() local
1565 if (phy_iface == PHY_INTERFACE_MODE_RMII) in rk_gmac_clk_init()
1576 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()
1594 } else if (phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()
1682 bsp_priv->phy_iface = plat->phy_interface; in rk_gmac_setup()
1783 switch (bsp_priv->phy_iface) { in rk_gmac_check_ops()
1797 "unsupported interface %d", bsp_priv->phy_iface); in rk_gmac_check_ops()
1816 switch (bsp_priv->phy_iface) { in rk_gmac_powerup()
1873 switch (bsp_priv->phy_iface) { in rk_set_clk_tx_rate()
1886 dev_err(dev, "unsupported interface %d", bsp_priv->phy_iface); in rk_set_clk_tx_rate()