Home
last modified time | relevance | path

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

/drivers/net/ethernet/sun/
Dsunhme.c579 hp->sw_lpa = happy_meal_tcvr_read(hp, tregs, MII_LPA); in display_link_mode()
580 if (hp->sw_lpa & (LPA_100HALF | LPA_100FULL)) { in display_link_mode()
581 if (hp->sw_lpa & LPA_100FULL) in display_link_mode()
586 if (hp->sw_lpa & LPA_10FULL) in display_link_mode()
620 hp->sw_lpa = happy_meal_tcvr_read(hp, tregs, MII_LPA); in set_happy_link_modes()
621 if (!(hp->sw_lpa & (LPA_10HALF | LPA_10FULL | LPA_100HALF | LPA_100FULL))) in set_happy_link_modes()
623 if (hp->sw_lpa & LPA_100FULL) in set_happy_link_modes()
625 else if (hp->sw_lpa & LPA_100HALF) in set_happy_link_modes()
627 else if (hp->sw_lpa & LPA_10FULL) in set_happy_link_modes()
1891 hp->sw_lpa = happy_meal_tcvr_read(hp, tregs, MII_LPA); in happy_meal_mif_interrupt()
[all …]
Dsunhme.h444 unsigned short sw_lpa; /* SW copy of LPA */ member