Lines Matching refs:port_ltp
7199 int port_ltp = PORT_LTP_CRC_MODE_16; /* this mode is mandatory */ in cap_to_port_ltp() local
7202 port_ltp |= PORT_LTP_CRC_MODE_14; in cap_to_port_ltp()
7204 port_ltp |= PORT_LTP_CRC_MODE_48; in cap_to_port_ltp()
7206 port_ltp |= PORT_LTP_CRC_MODE_PER_LANE; in cap_to_port_ltp()
7208 return port_ltp; in cap_to_port_ltp()
7214 int port_ltp_to_cap(int port_ltp) in port_ltp_to_cap() argument
7218 if (port_ltp & PORT_LTP_CRC_MODE_14) in port_ltp_to_cap()
7220 if (port_ltp & PORT_LTP_CRC_MODE_48) in port_ltp_to_cap()
7222 if (port_ltp & PORT_LTP_CRC_MODE_PER_LANE) in port_ltp_to_cap()
7233 int port_ltp = 0; in lcb_to_port_ltp() local
7236 port_ltp = PORT_LTP_CRC_MODE_PER_LANE; in lcb_to_port_ltp()
7238 port_ltp = PORT_LTP_CRC_MODE_48; in lcb_to_port_ltp()
7240 port_ltp = PORT_LTP_CRC_MODE_14; in lcb_to_port_ltp()
7242 port_ltp = PORT_LTP_CRC_MODE_16; in lcb_to_port_ltp()
7244 return port_ltp; in lcb_to_port_ltp()