Lines Matching defs:port
29 static int is_device_disabled(enum fm_port port)
34 return port_to_devdisr[port] & devdisr2;
37 void fman_disable_port(enum fm_port port)
41 setbits_be32(&gur->devdisr2, port_to_devdisr[port]);
44 phy_interface_t fman_port_enet_if(enum fm_port port)
49 if (is_device_disabled(port))
52 if ((port == FM1_10GEC1 || port == FM1_10GEC2) &&
58 if ((port == FM1_10GEC3 || port == FM1_10GEC4) &&
63 if ((port == FM1_DTSEC3) && ((rcwsr13 & FSL_CORENET_RCWSR13_EC1) ==
67 if ((port == FM1_DTSEC4) && ((rcwsr13 & FSL_CORENET_RCWSR13_EC2) ==
71 if ((port == FM1_DTSEC10) && ((rcwsr13 & FSL_CORENET_RCWSR13_EC2) ==
75 switch (port) {
84 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1))