Lines Matching refs:port_ltp
7205 int port_ltp = PORT_LTP_CRC_MODE_16; /* this mode is mandatory */ in cap_to_port_ltp() local
7208 port_ltp |= PORT_LTP_CRC_MODE_14; in cap_to_port_ltp()
7210 port_ltp |= PORT_LTP_CRC_MODE_48; in cap_to_port_ltp()
7212 port_ltp |= PORT_LTP_CRC_MODE_PER_LANE; in cap_to_port_ltp()
7214 return port_ltp; in cap_to_port_ltp()
7220 int port_ltp_to_cap(int port_ltp) in port_ltp_to_cap() argument
7224 if (port_ltp & PORT_LTP_CRC_MODE_14) in port_ltp_to_cap()
7226 if (port_ltp & PORT_LTP_CRC_MODE_48) in port_ltp_to_cap()
7228 if (port_ltp & PORT_LTP_CRC_MODE_PER_LANE) in port_ltp_to_cap()
7239 int port_ltp = 0; in lcb_to_port_ltp() local
7242 port_ltp = PORT_LTP_CRC_MODE_PER_LANE; in lcb_to_port_ltp()
7244 port_ltp = PORT_LTP_CRC_MODE_48; in lcb_to_port_ltp()
7246 port_ltp = PORT_LTP_CRC_MODE_14; in lcb_to_port_ltp()
7248 port_ltp = PORT_LTP_CRC_MODE_16; in lcb_to_port_ltp()
7250 return port_ltp; in lcb_to_port_ltp()