Home
last modified time | relevance | path

Searched refs:phy_iface (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c91 phy_interface_t phy_iface; member
1108 int phy_iface = bsp_priv->phy_iface; in rk_gmac_clk_init() local
1115 if (phy_iface == PHY_INTERFACE_MODE_RMII) in rk_gmac_clk_init()
1126 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()
1138 } else if (phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()
1229 bsp_priv->phy_iface = plat->phy_interface; in rk_gmac_setup()
1355 switch (bsp_priv->phy_iface) { in rk_gmac_check_ops()
1369 "unsupported interface %d", bsp_priv->phy_iface); in rk_gmac_check_ops()
1385 ret = rk_get_phy_intf_sel(bsp_priv->phy_iface); in rk_gmac_powerup()
1423 switch (bsp_priv->phy_iface) { in rk_gmac_powerup()
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c1082 phy_interface_t phy_iface; in bcmasp_phy_attach() local
1084 phy_iface = bcmasp_phy_iface_for_connect(intf->phy_interface); in bcmasp_phy_attach()
1087 phy_iface); in bcmasp_phy_attach()
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_main.c270 int phy_iface = priv->plat->interface; in sxgbe_init_phy() local
288 phydev = phy_connect(ndev, phy_id_fmt, &sxgbe_adjust_link, phy_iface); in sxgbe_init_phy()
296 if ((phy_iface == PHY_INTERFACE_MODE_MII) || in sxgbe_init_phy()
297 (phy_iface == PHY_INTERFACE_MODE_RMII)) in sxgbe_init_phy()
/linux/drivers/net/ethernet/altera/
H A Daltera_tse_main.c608 ret = of_get_phy_mode(np, &priv->phy_iface); in altera_tse_phy_get_addr_mdio_create()
1418 priv->phy_iface, &alt_tse_phylink_ops); in altera_tse_probe()