Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c72 phy_interface_t phy_iface; member
1416 int phy_iface = bsp_priv->phy_iface; in rk_gmac_clk_init() local
1423 if (phy_iface == PHY_INTERFACE_MODE_RMII) in rk_gmac_clk_init()
1434 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()
1446 } else if (phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()
1535 bsp_priv->phy_iface = plat->phy_interface; in rk_gmac_setup()
1636 switch (bsp_priv->phy_iface) { in rk_gmac_check_ops()
1650 "unsupported interface %d", bsp_priv->phy_iface); in rk_gmac_check_ops()
1669 switch (bsp_priv->phy_iface) { in rk_gmac_powerup()
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c993 phy_interface_t phy_iface = intf->phy_interface; in bcmasp_netif_init() local
1035 switch (phy_iface) { in bcmasp_netif_init()
1037 phy_iface = PHY_INTERFACE_MODE_RGMII_ID; in bcmasp_netif_init()
1040 phy_iface = PHY_INTERFACE_MODE_RGMII_RXID; in bcmasp_netif_init()
1049 phy_iface); in bcmasp_netif_init()
/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()