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_DTSEC3)
70 if (port == FM1_DTSEC4)
77 switch (port) {
80 if ((port == FM1_DTSEC2) &&
86 if (is_serdes_configured(SGMII_FM1_DTSEC1 + port - FM1_DTSEC1))
88 else if ((port == FM1_DTSEC9) &&
97 switch (port) {