Lines Matching defs:port
26 static int is_device_disabled(enum fm_port port)
31 return port_to_devdisr[port] & devdisr2;
34 void fman_disable_port(enum fm_port port)
38 setbits_be32(&gur->devdisr2, port_to_devdisr[port]);
41 void fman_enable_port(enum fm_port port)
45 clrbits_be32(&gur->devdisr2, port_to_devdisr[port]);
48 phy_interface_t fman_port_enet_if(enum fm_port port)
57 if (is_device_disabled(port))
61 if ((port == FM1_10GEC1 || port == FM1_10GEC2) &&
106 if ((port == FM1_10GEC1 ||
107 port == FM1_10GEC2) &&
111 else if ((port == FM1_DTSEC1) ||
112 (port == FM1_DTSEC2) ||
113 (port == FM1_DTSEC3) ||
114 (port == FM1_DTSEC4))
123 switch (port) {
130 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1))