Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/microchip/sparx5/
Dsparx5_port.c28 static void decode_sgmii_word(u16 lp_abil, struct sparx5_port_status *status) in decode_sgmii_word() argument
31 if (!(lp_abil & LPA_SGMII_LINK)) { in decode_sgmii_word()
36 switch (lp_abil & LPA_SGMII_SPD_MASK) { in decode_sgmii_word()
50 if (lp_abil & LPA_SGMII_FULL_DUPLEX) in decode_sgmii_word()
56 static void decode_cl37_word(u16 lp_abil, uint16_t ld_abil, struct sparx5_port_status *status) in decode_cl37_word() argument
58 status->link = !(lp_abil & ADVERTISE_RFAULT) && status->link; in decode_cl37_word()
60 status->duplex = (ADVERTISE_1000XFULL & lp_abil) ? in decode_cl37_word()
64 (lp_abil & ADVERTISE_1000XPAUSE)) { in decode_cl37_word()
67 (lp_abil & ADVERTISE_1000XPSE_ASYM)) { in decode_cl37_word()
68 status->pause |= (lp_abil & ADVERTISE_1000XPAUSE) ? in decode_cl37_word()