Lines Matching refs:phy_iface
60 phy_interface_t phy_iface; member
1213 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk3576_set_gmac_speed()
1219 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk3576_set_gmac_speed()
1225 if (bsp_priv->phy_iface != PHY_INTERFACE_MODE_RMII) in rk3576_set_gmac_speed()
1367 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
1373 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
1379 if (bsp_priv->phy_iface != PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
1647 int phy_iface = bsp_priv->phy_iface; in rk_gmac_clk_init() local
1653 if (phy_iface == PHY_INTERFACE_MODE_RMII) in rk_gmac_clk_init()
1664 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()
1682 } else if (phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()
1770 of_get_phy_mode(dev->of_node, &bsp_priv->phy_iface); in rk_gmac_setup()
1857 switch (bsp_priv->phy_iface) { in rk_gmac_check_ops()
1871 "unsupported interface %d", bsp_priv->phy_iface); in rk_gmac_check_ops()
1890 switch (bsp_priv->phy_iface) { in rk_gmac_powerup()
1946 switch (bsp_priv->phy_iface) { in rk_fix_speed()
1959 dev_err(dev, "unsupported interface %d", bsp_priv->phy_iface); in rk_fix_speed()