Lines Matching refs:mac_status

2145 	u32 mac_status = tr32(MAC_STATUS);  in tg3_init_bcm8002()  local
2150 !(mac_status & MAC_STATUS_PCS_SYNCED)) in tg3_init_bcm8002()
2193 static int tg3_setup_fiber_hw_autoneg(struct tg3 *tp, u32 mac_status) in tg3_setup_fiber_hw_autoneg() argument
2232 if (mac_status & MAC_STATUS_PCS_SYNCED) { in tg3_setup_fiber_hw_autoneg()
2256 } else if (mac_status & (MAC_STATUS_PCS_SYNCED | in tg3_setup_fiber_hw_autoneg()
2267 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_hw_autoneg()
2270 (mac_status & MAC_STATUS_PCS_SYNCED)) { in tg3_setup_fiber_hw_autoneg()
2304 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_hw_autoneg()
2305 if ((mac_status & MAC_STATUS_PCS_SYNCED) && in tg3_setup_fiber_hw_autoneg()
2306 !(mac_status & MAC_STATUS_RCVD_CFG)) { in tg3_setup_fiber_hw_autoneg()
2318 static int tg3_setup_fiber_by_hand(struct tg3 *tp, u32 mac_status) in tg3_setup_fiber_by_hand() argument
2322 if (!(mac_status & MAC_STATUS_PCS_SYNCED)) { in tg3_setup_fiber_by_hand()
2358 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_by_hand()
2360 (mac_status & MAC_STATUS_PCS_SYNCED) && in tg3_setup_fiber_by_hand()
2361 !(mac_status & MAC_STATUS_RCVD_CFG)) in tg3_setup_fiber_by_hand()
2381 u32 mac_status; in tg3_setup_fiber_phy() local
2394 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_phy()
2395 mac_status &= (MAC_STATUS_PCS_SYNCED | in tg3_setup_fiber_phy()
2399 if (mac_status == (MAC_STATUS_PCS_SYNCED | in tg3_setup_fiber_phy()
2422 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_phy()
2425 current_link_up = tg3_setup_fiber_hw_autoneg(tp, mac_status); in tg3_setup_fiber_phy()
2427 current_link_up = tg3_setup_fiber_by_hand(tp, mac_status); in tg3_setup_fiber_phy()
2446 mac_status = tr32(MAC_STATUS); in tg3_setup_fiber_phy()
2447 if ((mac_status & MAC_STATUS_PCS_SYNCED) == 0) { in tg3_setup_fiber_phy()