Searched refs:gp_status (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c3554 u16 gp_status, gp_mask; bnx2x_ext_phy_update_adv_fc() local
3557 &gp_status); bnx2x_ext_phy_update_adv_fc()
3561 if ((gp_status & gp_mask) == gp_mask) { bnx2x_ext_phy_update_adv_fc()
5380 u32 gp_status) bnx2x_update_adv_fc()
5386 if ((gp_status & bnx2x_update_adv_fc()
5427 u32 gp_status) bnx2x_flow_ctrl_resolve()
5432 /* Resolve from gp_status in case of AN complete and not sgmii */ bnx2x_flow_ctrl_resolve()
5436 bnx2x_update_adv_fc(phy, params, vars, gp_status); bnx2x_flow_ctrl_resolve()
5441 else if ((gp_status & MDIO_AN_CL73_OR_37_COMPLETE) && bnx2x_flow_ctrl_resolve()
5447 bnx2x_update_adv_fc(phy, params, vars, gp_status); bnx2x_flow_ctrl_resolve()
5523 u32 gp_status) bnx2x_xgxs_an_resolve()
5525 if (gp_status & MDIO_AN_CL73_OR_37_COMPLETE) bnx2x_xgxs_an_resolve()
5586 "link speed unsupported gp_status 0x%x\n", bnx2x_get_link_speed_duplex()
5606 "link speed unsupported gp_status 0x%x\n", bnx2x_get_link_speed_duplex()
5630 u16 gp_status, duplex = DUPLEX_HALF, link_up = 0, speed_mask; bnx2x_link_settings_status() local
5633 /* Read gp_status */ bnx2x_link_settings_status()
5637 &gp_status); bnx2x_link_settings_status()
5638 if (gp_status & MDIO_GP_STATUS_TOP_AN_STATUS1_DUPLEX_STATUS) bnx2x_link_settings_status()
5640 if (gp_status & MDIO_GP_STATUS_TOP_AN_STATUS1_LINK_STATUS) bnx2x_link_settings_status()
5642 speed_mask = gp_status & GP_STATUS_SPEED_MASK; bnx2x_link_settings_status()
5643 DP(NETIF_MSG_LINK, "gp_status 0x%x, is_link_up %d, speed_mask 0x%x\n", bnx2x_link_settings_status()
5644 gp_status, link_up, speed_mask); bnx2x_link_settings_status()
5650 if (gp_status & MDIO_GP_STATUS_TOP_AN_STATUS1_LINK_STATUS) { bnx2x_link_settings_status()
5653 bnx2x_flow_ctrl_resolve(phy, params, vars, gp_status); bnx2x_link_settings_status()
5656 gp_status); bnx2x_link_settings_status()
5707 /* Read gp_status */ bnx2x_warpcore_read_status()
6463 u16 gp_status = 0, phy_index = 0; bnx2x_test_link() local
6483 &gp_status); bnx2x_test_link()
6484 gp_status = ((gp_status >> 8) & 0xf) | bnx2x_test_link()
6485 ((gp_status >> 12) & 0xf); bnx2x_test_link()
6486 link_up = gp_status & (1 << lane); bnx2x_test_link()
6494 &gp_status); bnx2x_test_link()
6496 if (!(gp_status & MDIO_GP_STATUS_TOP_AN_STATUS1_LINK_STATUS)) bnx2x_test_link()
5377 bnx2x_update_adv_fc(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u32 gp_status) bnx2x_update_adv_fc() argument
5424 bnx2x_flow_ctrl_resolve(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u32 gp_status) bnx2x_flow_ctrl_resolve() argument
5520 bnx2x_xgxs_an_resolve(struct bnx2x_phy *phy, struct link_params *params, struct link_vars *vars, u32 gp_status) bnx2x_xgxs_an_resolve() argument

Completed in 98 milliseconds