Lines Matching refs:port_ltp
7173 int port_ltp = PORT_LTP_CRC_MODE_16; /* this mode is mandatory */ in cap_to_port_ltp() local
7176 port_ltp |= PORT_LTP_CRC_MODE_14; in cap_to_port_ltp()
7178 port_ltp |= PORT_LTP_CRC_MODE_48; in cap_to_port_ltp()
7180 port_ltp |= PORT_LTP_CRC_MODE_PER_LANE; in cap_to_port_ltp()
7182 return port_ltp; in cap_to_port_ltp()
7188 int port_ltp_to_cap(int port_ltp) in port_ltp_to_cap() argument
7192 if (port_ltp & PORT_LTP_CRC_MODE_14) in port_ltp_to_cap()
7194 if (port_ltp & PORT_LTP_CRC_MODE_48) in port_ltp_to_cap()
7196 if (port_ltp & PORT_LTP_CRC_MODE_PER_LANE) in port_ltp_to_cap()
7207 int port_ltp = 0; in lcb_to_port_ltp() local
7210 port_ltp = PORT_LTP_CRC_MODE_PER_LANE; in lcb_to_port_ltp()
7212 port_ltp = PORT_LTP_CRC_MODE_48; in lcb_to_port_ltp()
7214 port_ltp = PORT_LTP_CRC_MODE_14; in lcb_to_port_ltp()
7216 port_ltp = PORT_LTP_CRC_MODE_16; in lcb_to_port_ltp()
7218 return port_ltp; in lcb_to_port_ltp()