Lines Matching refs:port_ltp
7246 int port_ltp = PORT_LTP_CRC_MODE_16; /* this mode is mandatory */ in cap_to_port_ltp() local
7249 port_ltp |= PORT_LTP_CRC_MODE_14; in cap_to_port_ltp()
7251 port_ltp |= PORT_LTP_CRC_MODE_48; in cap_to_port_ltp()
7253 port_ltp |= PORT_LTP_CRC_MODE_PER_LANE; in cap_to_port_ltp()
7255 return port_ltp; in cap_to_port_ltp()
7261 int port_ltp_to_cap(int port_ltp) in port_ltp_to_cap() argument
7265 if (port_ltp & PORT_LTP_CRC_MODE_14) in port_ltp_to_cap()
7267 if (port_ltp & PORT_LTP_CRC_MODE_48) in port_ltp_to_cap()
7269 if (port_ltp & PORT_LTP_CRC_MODE_PER_LANE) in port_ltp_to_cap()
7280 int port_ltp = 0; in lcb_to_port_ltp() local
7283 port_ltp = PORT_LTP_CRC_MODE_PER_LANE; in lcb_to_port_ltp()
7285 port_ltp = PORT_LTP_CRC_MODE_48; in lcb_to_port_ltp()
7287 port_ltp = PORT_LTP_CRC_MODE_14; in lcb_to_port_ltp()
7289 port_ltp = PORT_LTP_CRC_MODE_16; in lcb_to_port_ltp()
7291 return port_ltp; in lcb_to_port_ltp()