Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c495 * Getting min_w_val will be set according to line speed .
500 u32 min_w_val = 0; in bnx2x_ets_get_min_w_val_nig() local
501 /* Calculate min_w_val.*/ in bnx2x_ets_get_min_w_val_nig()
504 min_w_val = ETS_E3B0_NIG_MIN_W_VAL_20GBPS; in bnx2x_ets_get_min_w_val_nig()
506 min_w_val = ETS_E3B0_NIG_MIN_W_VAL_UP_TO_10GBPS; in bnx2x_ets_get_min_w_val_nig()
508 min_w_val = ETS_E3B0_NIG_MIN_W_VAL_20GBPS; in bnx2x_ets_get_min_w_val_nig()
512 return min_w_val; in bnx2x_ets_get_min_w_val_nig()
516 * Getting credit upper bound form min_w_val.
519 static u32 bnx2x_ets_get_credit_upper_bound(const u32 min_w_val) in bnx2x_ets_get_credit_upper_bound() argument
521 const u32 credit_upper_bound = (u32)MAXVAL((150 * min_w_val), in bnx2x_ets_get_credit_upper_bound()
530 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
574 const u32 min_w_val = bnx2x_ets_get_min_w_val_nig(vars); bnx2x_ets_e3b0_nig_disabled() local
652 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
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c495 * Getting min_w_val will be set according to line speed .
500 u32 min_w_val = 0; in bnx2x_ets_get_min_w_val_nig() local
501 /* Calculate min_w_val.*/ in bnx2x_ets_get_min_w_val_nig()
504 min_w_val = ETS_E3B0_NIG_MIN_W_VAL_20GBPS; in bnx2x_ets_get_min_w_val_nig()
506 min_w_val = ETS_E3B0_NIG_MIN_W_VAL_UP_TO_10GBPS; in bnx2x_ets_get_min_w_val_nig()
508 min_w_val = ETS_E3B0_NIG_MIN_W_VAL_20GBPS; in bnx2x_ets_get_min_w_val_nig()
512 return min_w_val; in bnx2x_ets_get_min_w_val_nig()
516 * Getting credit upper bound form min_w_val.
519 static u32 bnx2x_ets_get_credit_upper_bound(const u32 min_w_val) in bnx2x_ets_get_credit_upper_bound() argument
521 const u32 credit_upper_bound = (u32)MAXVAL((150 * min_w_val), in bnx2x_ets_get_credit_upper_bound()
530 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
574 const u32 min_w_val = bnx2x_ets_get_min_w_val_nig(vars); bnx2x_ets_e3b0_nig_disabled() local
652 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
[all...]

Completed in 13 milliseconds