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

/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c501 * Getting min_w_val will be set according to line speed .
506 u32 min_w_val = 0; bnx2x_ets_get_min_w_val_nig() local
507 /* Calculate min_w_val.*/ bnx2x_ets_get_min_w_val_nig()
510 min_w_val = ETS_E3B0_NIG_MIN_W_VAL_20GBPS; bnx2x_ets_get_min_w_val_nig()
512 min_w_val = ETS_E3B0_NIG_MIN_W_VAL_UP_TO_10GBPS; bnx2x_ets_get_min_w_val_nig()
514 min_w_val = ETS_E3B0_NIG_MIN_W_VAL_20GBPS; bnx2x_ets_get_min_w_val_nig()
518 return min_w_val; bnx2x_ets_get_min_w_val_nig()
522 * Getting credit upper bound form min_w_val.
525 static u32 bnx2x_ets_get_credit_upper_bound(const u32 min_w_val) bnx2x_ets_get_credit_upper_bound() argument
527 const u32 credit_upper_bound = (u32)MAXVAL((150 * min_w_val), bnx2x_ets_get_credit_upper_bound()
538 const u32 min_w_val) bnx2x_ets_e3b0_set_credit_upper_bound_nig()
543 bnx2x_ets_get_credit_upper_bound(min_w_val); bnx2x_ets_e3b0_set_credit_upper_bound_nig()
580 const u32 min_w_val = bnx2x_ets_get_min_w_val_nig(vars); bnx2x_ets_e3b0_nig_disabled() local
651 bnx2x_ets_e3b0_set_credit_upper_bound_nig(params, min_w_val); bnx2x_ets_e3b0_nig_disabled()
660 const u32 min_w_val) bnx2x_ets_e3b0_set_credit_upper_bound_pbf()
664 bnx2x_ets_get_credit_upper_bound(min_w_val); bnx2x_ets_e3b0_set_credit_upper_bound_pbf()
1179 /* Upper bound is set according to current link speed (min_w_val bnx2x_ets_e3b0_config()
536 bnx2x_ets_e3b0_set_credit_upper_bound_nig( const struct link_params *params, const u32 min_w_val) bnx2x_ets_e3b0_set_credit_upper_bound_nig() argument
658 bnx2x_ets_e3b0_set_credit_upper_bound_pbf( const struct link_params *params, const u32 min_w_val) bnx2x_ets_e3b0_set_credit_upper_bound_pbf() argument

Completed in 120 milliseconds