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

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/bnx2x/
H A Dbnx2x_link.h115 struct link_vars { struct
147 u8 bnx2x_phy_init(struct link_params *input, struct link_vars *output);
152 u8 bnx2x_link_reset(struct link_params *params, struct link_vars *vars,
156 u8 bnx2x_link_update(struct link_params *input, struct link_vars *output);
172 struct link_vars *output);
193 u8 bnx2x_test_link(struct link_params *input, struct link_vars *vars);
H A Dbnx2x_ethtool.c23 (bp->link_vars.link_up)) {
24 cmd->speed = bp->link_vars.line_speed;
25 cmd->duplex = bp->link_vars.duplex;
427 return bp->link_vars.link_up;
821 &bp->link_vars, 0);
834 &bp->link_vars, 1);
837 &bp->link_vars);
952 epause->rx_pause = ((bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_RX) ==
954 epause->tx_pause = ((bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_TX) ==
1297 bnx2x_phy_init(&bp->link_params, &bp->link_vars);
[all...]
H A Dbnx2x_link.c234 struct link_vars *vars)
278 struct link_vars *vars, u8 lb)
413 static u8 bnx2x_bmac_enable(struct link_params *params, struct link_vars *vars,
556 struct link_vars *vars)
970 struct link_vars *vars)
1162 struct link_vars *vars,
1277 struct link_vars *vars)
1454 struct link_vars *vars)
1531 static void bnx2x_pause_resolve(struct link_vars *vars, u32 pause_result)
1555 struct link_vars *var
[all...]
H A Dbnx2x_cmn.c718 if (bp->link_vars.link_up) {
725 line_speed = bp->link_vars.line_speed;
737 if (bp->link_vars.duplex == DUPLEX_FULL)
742 if (bp->link_vars.flow_ctrl != BNX2X_FLOW_CTRL_NONE) {
743 if (bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_RX) {
745 if (bp->link_vars.flow_ctrl &
H A Dbnx2x_stats.c299 if (!bp->link_vars.link_up || !bp->port.pmf) {
358 if (bp->link_vars.mac_type == MAC_TYPE_BMAC) {
395 } else if (bp->link_vars.mac_type == MAC_TYPE_EMAC) {
676 if (bp->link_vars.mac_type == MAC_TYPE_BMAC)
679 else if (bp->link_vars.mac_type == MAC_TYPE_EMAC)
H A Dbnx2x_main.c1217 switch (bp->link_vars.ieee_fc &
1259 rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars);
1265 if (CHIP_REV_IS_SLOW(bp) && bp->link_vars.link_up) {
1280 bnx2x_phy_init(&bp->link_params, &bp->link_vars);
1292 bnx2x_link_reset(&bp->link_params, &bp->link_vars, 1);
1304 rc = bnx2x_test_link(&bp->link_params, &bp->link_vars);
1314 u32 r_param = bp->link_vars.line_speed / 8;
1334 t_fair = T_FAIR_COEF / bp->link_vars.line_speed;
1459 u32 prev_link_status = bp->link_vars.link_status;
1463 bnx2x_link_update(&bp->link_params, &bp->link_vars);
[all...]
H A Dbnx2x.h763 struct link_vars link_vars; member in struct:bnx2x
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/bnx2x/
H A Dbnx2x_link.h115 struct link_vars { struct
147 u8 bnx2x_phy_init(struct link_params *input, struct link_vars *output);
152 u8 bnx2x_link_reset(struct link_params *params, struct link_vars *vars,
156 u8 bnx2x_link_update(struct link_params *input, struct link_vars *output);
172 struct link_vars *output);
193 u8 bnx2x_test_link(struct link_params *input, struct link_vars *vars);
H A Dbnx2x_ethtool.c23 (bp->link_vars.link_up)) {
24 cmd->speed = bp->link_vars.line_speed;
25 cmd->duplex = bp->link_vars.duplex;
427 return bp->link_vars.link_up;
821 &bp->link_vars, 0);
834 &bp->link_vars, 1);
837 &bp->link_vars);
952 epause->rx_pause = ((bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_RX) ==
954 epause->tx_pause = ((bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_TX) ==
1297 bnx2x_phy_init(&bp->link_params, &bp->link_vars);
[all...]
H A Dbnx2x_link.c234 struct link_vars *vars)
278 struct link_vars *vars, u8 lb)
413 static u8 bnx2x_bmac_enable(struct link_params *params, struct link_vars *vars,
556 struct link_vars *vars)
970 struct link_vars *vars)
1162 struct link_vars *vars,
1277 struct link_vars *vars)
1454 struct link_vars *vars)
1531 static void bnx2x_pause_resolve(struct link_vars *vars, u32 pause_result)
1555 struct link_vars *var
[all...]
H A Dbnx2x_cmn.c718 if (bp->link_vars.link_up) {
725 line_speed = bp->link_vars.line_speed;
737 if (bp->link_vars.duplex == DUPLEX_FULL)
742 if (bp->link_vars.flow_ctrl != BNX2X_FLOW_CTRL_NONE) {
743 if (bp->link_vars.flow_ctrl & BNX2X_FLOW_CTRL_RX) {
745 if (bp->link_vars.flow_ctrl &
H A Dbnx2x_stats.c299 if (!bp->link_vars.link_up || !bp->port.pmf) {
358 if (bp->link_vars.mac_type == MAC_TYPE_BMAC) {
395 } else if (bp->link_vars.mac_type == MAC_TYPE_EMAC) {
676 if (bp->link_vars.mac_type == MAC_TYPE_BMAC)
679 else if (bp->link_vars.mac_type == MAC_TYPE_EMAC)
H A Dbnx2x_main.c1217 switch (bp->link_vars.ieee_fc &
1259 rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars);
1265 if (CHIP_REV_IS_SLOW(bp) && bp->link_vars.link_up) {
1280 bnx2x_phy_init(&bp->link_params, &bp->link_vars);
1292 bnx2x_link_reset(&bp->link_params, &bp->link_vars, 1);
1304 rc = bnx2x_test_link(&bp->link_params, &bp->link_vars);
1314 u32 r_param = bp->link_vars.line_speed / 8;
1334 t_fair = T_FAIR_COEF / bp->link_vars.line_speed;
1459 u32 prev_link_status = bp->link_vars.link_status;
1463 bnx2x_link_update(&bp->link_params, &bp->link_vars);
[all...]
H A Dbnx2x.h763 struct link_vars link_vars; member in struct:bnx2x

Completed in 84 milliseconds