Home
last modified time | relevance | path

Searched refs:link_vars (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/net/bnx2x/ !
Dbnx2x_link.h100 struct link_vars;
105 struct link_vars *vars);
107 struct link_vars *vars);
258 struct link_vars { struct
282 u8 bnx2x_phy_init(struct link_params *input, struct link_vars *output); argument
287 u8 bnx2x_link_reset(struct link_params *params, struct link_vars *vars,
291 u8 bnx2x_link_update(struct link_params *input, struct link_vars *output);
305 struct link_vars *output);
314 u8 bnx2x_set_led(struct link_params *params, struct link_vars *vars,
327 u8 bnx2x_test_link(struct link_params *input, struct link_vars *vars,
[all …]
Dbnx2x_link.c440 void bnx2x_pfc_statistic(struct link_params *params, struct link_vars *vars, in bnx2x_pfc_statistic()
468 struct link_vars *vars) in bnx2x_emac_init()
512 struct link_vars *vars, u8 lb) in bnx2x_emac_enable()
648 struct link_vars *vars) in bnx2x_update_pfc_bmac1()
677 struct link_vars *vars, in bnx2x_update_pfc_bmac2()
764 struct link_vars *vars, in bnx2x_update_pfc_brb()
855 struct link_vars *vars, in bnx2x_update_pfc_nig()
963 struct link_vars *vars, in bnx2x_update_pfc()
1006 struct link_vars *vars, in bnx2x_bmac1_enable()
1070 struct link_vars *vars, in bnx2x_bmac2_enable()
[all …]
Dbnx2x_ethtool.c178 (bp->link_vars.link_up)) { in bnx2x_get_settings()
179 cmd->speed = bp->link_vars.line_speed; in bnx2x_get_settings()
180 cmd->duplex = bp->link_vars.duplex; in bnx2x_get_settings()
242 u32 line_speed = bp->link_vars.line_speed; in bnx2x_set_settings()
710 return bp->link_vars.link_up; in bnx2x_get_link()
1108 &bp->link_vars, 0); in bnx2x_set_eeprom()
1121 &bp->link_vars, 1); in bnx2x_set_eeprom()
1124 &bp->link_vars); in bnx2x_set_eeprom()
1246 epause->rx_pause = ((bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_RX) == in bnx2x_get_pauseparam()
1248 epause->tx_pause = ((bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_TX) == in bnx2x_get_pauseparam()
[all …]
Dbnx2x_stats.c298 if (!bp->link_vars.link_up || !bp->port.pmf) { in bnx2x_port_stats_init()
341 if (bp->link_vars.mac_type == MAC_TYPE_BMAC) { in bnx2x_port_stats_init()
402 } else if (bp->link_vars.mac_type == MAC_TYPE_EMAC) { in bnx2x_port_stats_init()
705 if (bp->link_vars.mac_type == MAC_TYPE_BMAC) in bnx2x_hw_stats_update()
708 else if (bp->link_vars.mac_type == MAC_TYPE_EMAC) in bnx2x_hw_stats_update()
Dbnx2x_cmn.c740 u16 line_speed = bp->link_vars.line_speed; in bnx2x_get_mf_speed()
769 if (bp->link_vars.link_up) { in bnx2x_link_report()
780 if (bp->link_vars.duplex == DUPLEX_FULL) in bnx2x_link_report()
785 if (bp->link_vars.flow_ctrl != BNX2X_FLOW_CTRL_NONE) { in bnx2x_link_report()
786 if (bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_RX) { in bnx2x_link_report()
788 if (bp->link_vars.flow_ctrl & in bnx2x_link_report()
Dbnx2x_main.c1738 if (bp->link_vars.link_up) { in bnx2x_get_link_cfg_idx()
1741 if ((bp->link_vars.link_status & LINK_STATUS_SERDES_LINK) && in bnx2x_get_link_cfg_idx()
1777 switch (bp->link_vars.ieee_fc & in bnx2x_calc_fc_adv()
1821 rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_initial_phy_init()
1827 if (CHIP_REV_IS_SLOW(bp) && bp->link_vars.link_up) { in bnx2x_initial_phy_init()
1842 bnx2x_link_reset(&bp->link_params, &bp->link_vars, 1); in bnx2x_link_set()
1843 bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_link_set()
1855 bnx2x_link_reset(&bp->link_params, &bp->link_vars, 1); in bnx2x__link_reset()
1867 rc = bnx2x_test_link(&bp->link_params, &bp->link_vars, in bnx2x_link_test()
1878 u32 r_param = bp->link_vars.line_speed / 8; in bnx2x_init_port_minmax()
[all …]
Dbnx2x.h1028 struct link_vars link_vars; member
Dbnx2x_dcb.c93 bnx2x_update_pfc(&bp->link_params, &bp->link_vars, &pfc_params); in bnx2x_pfc_set()
123 bnx2x_update_pfc(&bp->link_params, &bp->link_vars, &nig_params); in bnx2x_pfc_clear()