Lines Matching refs:port
37 static int is_device_disabled(enum fm_port port) in is_device_disabled() argument
42 return port_to_devdisr[port] & devdisr2; in is_device_disabled()
45 void fman_disable_port(enum fm_port port) in fman_disable_port() argument
49 setbits_be32(&gur->devdisr2, port_to_devdisr[port]); in fman_disable_port()
52 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if() argument
57 if (is_device_disabled(port)) in fman_port_enet_if()
60 if ((port == FM1_10GEC1) && (is_serdes_configured(XFI_FM1_MAC9))) in fman_port_enet_if()
63 if ((port == FM1_DTSEC9) && (is_serdes_configured(XFI_FM1_MAC9))) in fman_port_enet_if()
66 if ((port == FM1_10GEC2) && (is_serdes_configured(XFI_FM1_MAC10))) in fman_port_enet_if()
69 if ((port == FM1_DTSEC10) && (is_serdes_configured(XFI_FM1_MAC10))) in fman_port_enet_if()
72 if (port == FM1_DTSEC3) in fman_port_enet_if()
77 if (port == FM1_DTSEC4) in fman_port_enet_if()
83 switch (port) { in fman_port_enet_if()
89 if (is_serdes_configured(SGMII_FM1_DTSEC2 + port - FM1_DTSEC2)) in fman_port_enet_if()
97 switch (port) { in fman_port_enet_if()
102 port - FM1_DTSEC5)) in fman_port_enet_if()
110 switch (port) { in fman_port_enet_if()