Home
last modified time | relevance | path

Searched refs:lp_abil (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_port.c29 static void decode_sgmii_word(u16 lp_abil, struct sparx5_port_status *status) in decode_sgmii_word() argument
32 if (!(lp_abil & LPA_SGMII_LINK)) { in decode_sgmii_word()
37 switch (lp_abil & LPA_SGMII_SPD_MASK) { in decode_sgmii_word()
51 if (lp_abil & LPA_SGMII_FULL_DUPLEX) in decode_sgmii_word()
57 static void decode_cl37_word(u16 lp_abil, uint16_t ld_abil, struct sparx5_port_status *status) in decode_cl37_word() argument
59 status->link = !(lp_abil & ADVERTISE_RFAULT) && status->link; in decode_cl37_word()
61 status->duplex = (ADVERTISE_1000XFULL & lp_abil) ? in decode_cl37_word()
65 (lp_abil & ADVERTISE_1000XPAUSE)) { in decode_cl37_word()
68 (lp_abil & ADVERTISE_1000XPSE_ASYM)) { in decode_cl37_word()
69 status->pause |= (lp_abil & ADVERTISE_1000XPAUSE) ? in decode_cl37_word()