Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c62 phy_interface_t phy_iface; member
1214 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
1220 if (bsp_priv->phy_iface == PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
1226 if (bsp_priv->phy_iface != PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
1494 int phy_iface = bsp_priv->phy_iface; in rk_gmac_clk_init() local
1500 if (phy_iface == PHY_INTERFACE_MODE_RMII) in rk_gmac_clk_init()
1511 if (phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()
1529 } else if (phy_iface == PHY_INTERFACE_MODE_RMII) { in rk_gmac_clk_init()
1617 of_get_phy_mode(dev->of_node, &bsp_priv->phy_iface); in rk_gmac_setup()
1704 switch (bsp_priv->phy_iface) { in rk_gmac_check_ops()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c304 phy_interface_t phy_iface = priv->phy_interface; in bcmgenet_mii_probe() local
339 phy_iface = PHY_INTERFACE_MODE_RGMII_ID; in bcmgenet_mii_probe()
342 phy_iface = PHY_INTERFACE_MODE_RGMII_RXID; in bcmgenet_mii_probe()
350 phy_flags, phy_iface); in bcmgenet_mii_probe()
380 phy_iface); in bcmgenet_mii_probe()
/openbmc/u-boot/board/freescale/lx2160a/
H A Deth_lx2160aqds.c756 phy_interface_t phy_iface; in fdt_fixup_board_phy() local
792 phy_iface = wriop_get_enet_if(dpmac_id); in fdt_fixup_board_phy()
795 phy_string_for_interface(phy_iface)); in fdt_fixup_board_phy()
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c1006 phy_interface_t phy_iface = intf->phy_interface; in bcmasp_netif_init() local
1048 switch (phy_iface) { in bcmasp_netif_init()
1050 phy_iface = PHY_INTERFACE_MODE_RGMII_ID; in bcmasp_netif_init()
1053 phy_iface = PHY_INTERFACE_MODE_RGMII_RXID; in bcmasp_netif_init()
1062 phy_iface); in bcmasp_netif_init()
/openbmc/linux/drivers/net/ethernet/altera/
H A Daltera_tse.h466 phy_interface_t phy_iface; member
H A Daltera_tse_main.c611 ret = of_get_phy_mode(np, &priv->phy_iface); in altera_tse_phy_get_addr_mdio_create()
1445 priv->phy_iface, &alt_tse_phylink_ops); in altera_tse_probe()
/openbmc/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()