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

/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c499 * Getting min_w_val will be set according to line speed .
504 u32 min_w_val = 0; bnx2x_ets_get_min_w_val_nig() local
505 /* Calculate min_w_val.*/ bnx2x_ets_get_min_w_val_nig()
508 min_w_val = ETS_E3B0_NIG_MIN_W_VAL_20GBPS; bnx2x_ets_get_min_w_val_nig()
510 min_w_val = ETS_E3B0_NIG_MIN_W_VAL_UP_TO_10GBPS; bnx2x_ets_get_min_w_val_nig()
512 min_w_val = ETS_E3B0_NIG_MIN_W_VAL_20GBPS; bnx2x_ets_get_min_w_val_nig()
516 return min_w_val; bnx2x_ets_get_min_w_val_nig()
520 * Getting credit upper bound form min_w_val.
523 static u32 bnx2x_ets_get_credit_upper_bound(const u32 min_w_val) bnx2x_ets_get_credit_upper_bound() argument
525 const u32 credit_upper_bound = (u32)MAXVAL((150 * min_w_val), bnx2x_ets_get_credit_upper_bound()
536 const u32 min_w_val) bnx2x_ets_e3b0_set_credit_upper_bound_nig()
541 bnx2x_ets_get_credit_upper_bound(min_w_val); bnx2x_ets_e3b0_set_credit_upper_bound_nig()
578 const u32 min_w_val = bnx2x_ets_get_min_w_val_nig(vars); bnx2x_ets_e3b0_nig_disabled() local
649 bnx2x_ets_e3b0_set_credit_upper_bound_nig(params, min_w_val); bnx2x_ets_e3b0_nig_disabled()
658 const u32 min_w_val) bnx2x_ets_e3b0_set_credit_upper_bound_pbf()
662 bnx2x_ets_get_credit_upper_bound(min_w_val); bnx2x_ets_e3b0_set_credit_upper_bound_pbf()
1177 /* Upper bound is set according to current link speed (min_w_val bnx2x_ets_e3b0_config()
534 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
656 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 116 milliseconds