Lines Matching refs:link_interface
164 #define SLAVE_LINK_IS_XGMII(s) ((s)->link_interface >= XGMII_LINK_MAC_PHY)
166 (((s)->link_interface >= RGMII_LINK_MAC_PHY) && \
167 ((s)->link_interface <= RGMII_LINK_MAC_PHY_NO_MDIO))
169 ((s)->link_interface <= SGMII_LINK_MAC_PHY_NO_MDIO)
698 u32 link_interface; member
2099 ((slave->link_interface != SGMII_LINK_MAC_PHY) && in netcp_ethss_link_state_action()
2100 (slave->link_interface != RGMII_LINK_MAC_PHY) && in netcp_ethss_link_state_action()
2101 (slave->link_interface != XGMII_LINK_MAC_PHY))) in netcp_ethss_link_state_action()
2110 ((slave->link_interface != SGMII_LINK_MAC_PHY) && in netcp_ethss_link_state_action()
2111 (slave->link_interface != RGMII_LINK_MAC_PHY) && in netcp_ethss_link_state_action()
2112 (slave->link_interface != XGMII_LINK_MAC_PHY))) in netcp_ethss_link_state_action()
2228 (slave->link_interface >= XGMII_LINK_MAC_PHY)) { in gbe_port_config()
2282 slave->link_interface); in gbe_sgmii_config()
2315 if (slave->link_interface == SGMII_LINK_MAC_PHY) { in gbe_slave_open()
2319 } else if (slave->link_interface == RGMII_LINK_MAC_PHY) { in gbe_slave_open()
2334 } else if (slave->link_interface == XGMII_LINK_MAC_PHY) { in gbe_slave_open()
3002 &slave->link_interface)) { in init_slave()
3005 slave->link_interface = SGMII_LINK_MAC_PHY; in init_slave()
3010 if ((slave->link_interface == SGMII_LINK_MAC_PHY) || in init_slave()
3011 (slave->link_interface == RGMII_LINK_MAC_PHY) || in init_slave()
3012 (slave->link_interface == XGMII_LINK_MAC_PHY)) in init_slave()
3016 if (slave->link_interface >= XGMII_LINK_MAC_PHY) in init_slave()
3145 if ((slave->link_interface == SGMII_LINK_MAC_PHY) || in init_secondary_ports()
3146 (slave->link_interface == XGMII_LINK_MAC_PHY)) in init_secondary_ports()
3171 if (slave->link_interface == SGMII_LINK_MAC_PHY) { in init_secondary_ports()
3174 } else if (slave->link_interface == RGMII_LINK_MAC_PHY) { in init_secondary_ports()
3183 if ((slave->link_interface != SGMII_LINK_MAC_PHY) && in init_secondary_ports()
3184 (slave->link_interface != RGMII_LINK_MAC_PHY) && in init_secondary_ports()
3185 (slave->link_interface != XGMII_LINK_MAC_PHY)) in init_secondary_ports()