Lines Matching refs:port
36 static int is_device_disabled(enum fm_port port)
41 return port_to_devdisr[port] & devdisr2;
44 void fman_disable_port(enum fm_port port)
48 setbits_be32(&gur->devdisr2, port_to_devdisr[port]);
51 phy_interface_t fman_port_enet_if(enum fm_port port)
56 if (is_device_disabled(port))
59 if ((port == FM1_10GEC1) && (is_serdes_configured(XFI_FM1_MAC9)))
62 if ((port == FM1_DTSEC9) && (is_serdes_configured(XFI_FM1_MAC9)))
65 if ((port == FM1_10GEC2) && (is_serdes_configured(XFI_FM1_MAC10)))
68 if ((port == FM1_DTSEC10) && (is_serdes_configured(XFI_FM1_MAC10)))
71 if (port == FM1_DTSEC3)
76 if (port == FM1_DTSEC4)
82 switch (port) {
88 if (is_serdes_configured(SGMII_FM1_DTSEC2 + port - FM1_DTSEC2))
96 switch (port) {
101 port - FM1_DTSEC5))
109 switch (port) {