Lines Matching refs:mac_status

5449 	u32 mac_status = tr32(MAC_STATUS);  in tg3_init_bcm8002()  local
5454 !(mac_status & MAC_STATUS_PCS_SYNCED)) in tg3_init_bcm8002()
5497 static bool tg3_setup_fiber_hw_autoneg(struct tg3 *tp, u32 mac_status) in tg3_setup_fiber_hw_autoneg() argument
5537 if (mac_status & MAC_STATUS_PCS_SYNCED) { in tg3_setup_fiber_hw_autoneg()
5556 ((mac_status & (MAC_STATUS_PCS_SYNCED | in tg3_setup_fiber_hw_autoneg()
5572 } else if (mac_status & (MAC_STATUS_PCS_SYNCED | in tg3_setup_fiber_hw_autoneg()
5575 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_hw_autoneg()
5578 (mac_status & MAC_STATUS_PCS_SYNCED)) { in tg3_setup_fiber_hw_autoneg()
5619 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_hw_autoneg()
5620 if ((mac_status & MAC_STATUS_PCS_SYNCED) && in tg3_setup_fiber_hw_autoneg()
5621 !(mac_status & MAC_STATUS_RCVD_CFG)) { in tg3_setup_fiber_hw_autoneg()
5641 static bool tg3_setup_fiber_by_hand(struct tg3 *tp, u32 mac_status) in tg3_setup_fiber_by_hand() argument
5645 if (!(mac_status & MAC_STATUS_PCS_SYNCED)) in tg3_setup_fiber_by_hand()
5684 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_by_hand()
5686 (mac_status & MAC_STATUS_PCS_SYNCED) && in tg3_setup_fiber_by_hand()
5687 !(mac_status & MAC_STATUS_RCVD_CFG)) in tg3_setup_fiber_by_hand()
5711 u32 mac_status; in tg3_setup_fiber_phy() local
5722 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_phy()
5723 mac_status &= (MAC_STATUS_PCS_SYNCED | in tg3_setup_fiber_phy()
5727 if (mac_status == (MAC_STATUS_PCS_SYNCED | in tg3_setup_fiber_phy()
5750 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_phy()
5753 current_link_up = tg3_setup_fiber_hw_autoneg(tp, mac_status); in tg3_setup_fiber_phy()
5755 current_link_up = tg3_setup_fiber_by_hand(tp, mac_status); in tg3_setup_fiber_phy()
5771 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_phy()
5772 if ((mac_status & MAC_STATUS_PCS_SYNCED) == 0) { in tg3_setup_fiber_phy()