Lines Matching refs:sw_lpa
548 hp->sw_lpa = happy_meal_tcvr_read(hp, tregs, MII_LPA); in display_link_mode()
553 hp->sw_lpa & (LPA_100HALF | LPA_100FULL) ? 100 : 10, in display_link_mode()
554 hp->sw_lpa & (LPA_100FULL | LPA_10FULL) ? "Full" : "Half"); in display_link_mode()
576 hp->sw_lpa = happy_meal_tcvr_read(hp, tregs, MII_LPA); in set_happy_link_modes()
577 if (!(hp->sw_lpa & (LPA_10HALF | LPA_10FULL | LPA_100HALF | LPA_100FULL))) in set_happy_link_modes()
579 if (hp->sw_lpa & LPA_100FULL) in set_happy_link_modes()
581 else if (hp->sw_lpa & LPA_100HALF) in set_happy_link_modes()
583 else if (hp->sw_lpa & LPA_10FULL) in set_happy_link_modes()
1847 hp->sw_lpa = happy_meal_tcvr_read(hp, tregs, MII_LPA); in happy_meal_mif_interrupt()
1850 if (hp->sw_lpa & LPA_100FULL) { in happy_meal_mif_interrupt()
1853 } else if (hp->sw_lpa & LPA_100HALF) { in happy_meal_mif_interrupt()
1856 } else if (hp->sw_lpa & LPA_10FULL) { in happy_meal_mif_interrupt()
2412 hp->sw_lpa = happy_meal_tcvr_read(hp, hp->tcvregs, MII_LPA); in hme_get_link_ksettings()
2417 speed = ((hp->sw_lpa & (LPA_100HALF | LPA_100FULL)) ? in hme_get_link_ksettings()
2421 (hp->sw_lpa & (LPA_100FULL)) ? in hme_get_link_ksettings()
2425 (hp->sw_lpa & (LPA_10FULL)) ? in hme_get_link_ksettings()