Lines Matching refs:mac_status

3803 	u32 mac_status = tr32(MAC_STATUS);  in tg3_init_bcm8002()  local
3808 !(mac_status & MAC_STATUS_PCS_SYNCED)) in tg3_init_bcm8002()
3851 static int tg3_setup_fiber_hw_autoneg(struct tg3 *tp, u32 mac_status) in tg3_setup_fiber_hw_autoneg() argument
3892 if (mac_status & MAC_STATUS_PCS_SYNCED) { in tg3_setup_fiber_hw_autoneg()
3911 ((mac_status & (MAC_STATUS_PCS_SYNCED | in tg3_setup_fiber_hw_autoneg()
3927 } else if (mac_status & (MAC_STATUS_PCS_SYNCED | in tg3_setup_fiber_hw_autoneg()
3930 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_hw_autoneg()
3933 (mac_status & MAC_STATUS_PCS_SYNCED)) { in tg3_setup_fiber_hw_autoneg()
3971 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_hw_autoneg()
3972 if ((mac_status & MAC_STATUS_PCS_SYNCED) && in tg3_setup_fiber_hw_autoneg()
3973 !(mac_status & MAC_STATUS_RCVD_CFG)) { in tg3_setup_fiber_hw_autoneg()
3993 static int tg3_setup_fiber_by_hand(struct tg3 *tp, u32 mac_status) in tg3_setup_fiber_by_hand() argument
3997 if (!(mac_status & MAC_STATUS_PCS_SYNCED)) in tg3_setup_fiber_by_hand()
4033 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_by_hand()
4035 (mac_status & MAC_STATUS_PCS_SYNCED) && in tg3_setup_fiber_by_hand()
4036 !(mac_status & MAC_STATUS_RCVD_CFG)) in tg3_setup_fiber_by_hand()
4060 u32 mac_status; in tg3_setup_fiber_phy() local
4071 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_phy()
4072 mac_status &= (MAC_STATUS_PCS_SYNCED | in tg3_setup_fiber_phy()
4076 if (mac_status == (MAC_STATUS_PCS_SYNCED | in tg3_setup_fiber_phy()
4099 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_phy()
4102 current_link_up = tg3_setup_fiber_hw_autoneg(tp, mac_status); in tg3_setup_fiber_phy()
4104 current_link_up = tg3_setup_fiber_by_hand(tp, mac_status); in tg3_setup_fiber_phy()
4120 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_phy()
4121 if ((mac_status & MAC_STATUS_PCS_SYNCED) == 0) { in tg3_setup_fiber_phy()