Lines Matching refs:enet_if
52 bool sgmii_2500 = (priv->enet_if == in dtsec_configure_serdes()
104 if ((priv->enet_if == PHY_INTERFACE_MODE_QSGMII) && (i < 3)) { in dtsec_configure_serdes()
134 if (fm_eth->enet_if == PHY_INTERFACE_MODE_SGMII || in dtsec_init_phy()
135 fm_eth->enet_if == PHY_INTERFACE_MODE_QSGMII || in dtsec_init_phy()
136 fm_eth->enet_if == PHY_INTERFACE_MODE_SGMII_2500) in dtsec_init_phy()
432 if (((fm_eth->enet_if == PHY_INTERFACE_MODE_SGMII) || in fm_eth_startup()
433 (fm_eth->enet_if == PHY_INTERFACE_MODE_SGMII_2500) || in fm_eth_startup()
434 (fm_eth->enet_if == PHY_INTERFACE_MODE_QSGMII)) && in fm_eth_startup()
436 mac->set_if_mode(mac, fm_eth->enet_if, SPEED_100); in fm_eth_startup()
531 mac->set_if_mode(mac, fm_eth->enet_if, fm_eth->phydev->speed); in fm_eth_open()
532 debug("MAC IF mode %d, speed %d, link %d\n", fm_eth->enet_if, in fm_eth_open()
830 if (fm_eth->enet_if == PHY_INTERFACE_MODE_SGMII_2500) in init_phy()
853 fm_eth->enet_if); in init_phy()
938 fm_eth->enet_if = info->enet_if; in fm_eth_initialize()
1039 fm_eth->enet_if = fman_read_sys_if(dev); in fm_eth_probe()
1041 fm_eth->enet_if = PHY_INTERFACE_MODE_SGMII; in fm_eth_probe()
1085 switch (fm_eth->enet_if) { in fm_eth_probe()