Lines Matching refs:port_ltp
7204 int port_ltp = PORT_LTP_CRC_MODE_16; /* this mode is mandatory */ in cap_to_port_ltp() local
7207 port_ltp |= PORT_LTP_CRC_MODE_14; in cap_to_port_ltp()
7209 port_ltp |= PORT_LTP_CRC_MODE_48; in cap_to_port_ltp()
7211 port_ltp |= PORT_LTP_CRC_MODE_PER_LANE; in cap_to_port_ltp()
7213 return port_ltp; in cap_to_port_ltp()
7219 int port_ltp_to_cap(int port_ltp) in port_ltp_to_cap() argument
7223 if (port_ltp & PORT_LTP_CRC_MODE_14) in port_ltp_to_cap()
7225 if (port_ltp & PORT_LTP_CRC_MODE_48) in port_ltp_to_cap()
7227 if (port_ltp & PORT_LTP_CRC_MODE_PER_LANE) in port_ltp_to_cap()
7238 int port_ltp = 0; in lcb_to_port_ltp() local
7241 port_ltp = PORT_LTP_CRC_MODE_PER_LANE; in lcb_to_port_ltp()
7243 port_ltp = PORT_LTP_CRC_MODE_48; in lcb_to_port_ltp()
7245 port_ltp = PORT_LTP_CRC_MODE_14; in lcb_to_port_ltp()
7247 port_ltp = PORT_LTP_CRC_MODE_16; in lcb_to_port_ltp()
7249 return port_ltp; in lcb_to_port_ltp()