Lines Matching refs:phy_iface
44 phy_interface_t phy_iface; member
1200 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
1206 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
1212 if (bsp_priv->phy_iface != PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
1507 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()
1529 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk_gmac_clk_init()
1548 int phy_iface = bsp_priv->phy_iface; in gmac_clk_enable() local
1552 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in gmac_clk_enable()
1594 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in gmac_clk_enable()
1663 of_get_phy_mode(dev->of_node, &bsp_priv->phy_iface); in rk_gmac_setup()
1753 switch (bsp_priv->phy_iface) { in rk_gmac_check_ops()
1767 "unsupported interface %d", bsp_priv->phy_iface); in rk_gmac_check_ops()
1786 switch (bsp_priv->phy_iface) { in rk_gmac_powerup()
1842 switch (bsp_priv->phy_iface) { in rk_fix_speed()
1855 dev_err(dev, "unsupported interface %d", bsp_priv->phy_iface); in rk_fix_speed()