Lines Matching defs:port
21 static int is_device_disabled(enum fm_port port)
26 return port_to_devdisr[port] & devdisr2;
29 void fman_disable_port(enum fm_port port)
34 if (port == FM1_DTSEC1)
37 setbits_be32(&gur->devdisr2, port_to_devdisr[port]);
40 void fman_enable_port(enum fm_port port)
44 clrbits_be32(&gur->devdisr2, port_to_devdisr[port]);
47 phy_interface_t fman_port_enet_if(enum fm_port port)
52 if (is_device_disabled(port))
55 if ((port == FM1_10GEC1) && (is_serdes_configured(XAUI_FM1)))
59 if ((port == FM1_DTSEC4) && ((rcwsr11 & FSL_CORENET_RCWSR11_EC1) ==
63 if ((port == FM1_DTSEC4) && ((rcwsr11 & FSL_CORENET_RCWSR11_EC1) ==
67 if ((port == FM1_DTSEC5) && ((rcwsr11 & FSL_CORENET_RCWSR11_EC2) ==
71 if ((port == FM1_DTSEC5) && ((rcwsr11 & FSL_CORENET_RCWSR11_EC2) ==
75 switch (port) {
81 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1))