Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/sun/
Dsunhme.c509 hp->sw_lpa = happy_meal_tcvr_read(hp, tregs, MII_LPA); in display_link_mode()
514 hp->sw_lpa & (LPA_100HALF | LPA_100FULL) ? 100 : 10, in display_link_mode()
515 hp->sw_lpa & (LPA_100FULL | LPA_10FULL) ? "Full" : "Half"); in display_link_mode()
537 hp->sw_lpa = happy_meal_tcvr_read(hp, tregs, MII_LPA); in set_happy_link_modes()
538 if (!(hp->sw_lpa & (LPA_10HALF | LPA_10FULL | LPA_100HALF | LPA_100FULL))) in set_happy_link_modes()
540 if (hp->sw_lpa & LPA_100FULL) in set_happy_link_modes()
542 else if (hp->sw_lpa & LPA_100HALF) in set_happy_link_modes()
544 else if (hp->sw_lpa & LPA_10FULL) in set_happy_link_modes()
2140 hp->sw_lpa = happy_meal_tcvr_read(hp, hp->tcvregs, MII_LPA); in hme_get_link_ksettings()
2145 speed = ((hp->sw_lpa & (LPA_100HALF | LPA_100FULL)) ? in hme_get_link_ksettings()
[all …]
Dsunhme.h444 unsigned short sw_lpa; /* SW copy of LPA */ member