Lines Matching refs:total_bw
828 const u16 total_bw, in bnx2x_ets_e3b0_set_cos_bw() argument
835 const u32 cos_bw_nig = ((bw ? bw : 1) * min_w_val_nig) / total_bw; in bnx2x_ets_e3b0_set_cos_bw()
836 const u32 cos_bw_pbf = ((bw ? bw : 1) * min_w_val_pbf) / total_bw; in bnx2x_ets_e3b0_set_cos_bw()
899 u16 *total_bw) in bnx2x_ets_e3b0_get_total_bw() argument
905 *total_bw = 0 ; in bnx2x_ets_e3b0_get_total_bw()
919 *total_bw += in bnx2x_ets_e3b0_get_total_bw()
925 if ((is_bw_cos_exist == 1) && (*total_bw != 100)) { in bnx2x_ets_e3b0_get_total_bw()
926 if (*total_bw == 0) { in bnx2x_ets_e3b0_get_total_bw()
1139 u16 total_bw = 0; in bnx2x_ets_e3b0_config() local
1166 &total_bw); in bnx2x_ets_e3b0_config()
1188 total_bw, in bnx2x_ets_e3b0_config()
1283 const u32 total_bw = cos0_bw + cos1_bw; in bnx2x_ets_bw_limit() local
1289 if ((!total_bw) || in bnx2x_ets_bw_limit()
1297 total_bw; in bnx2x_ets_bw_limit()
1299 total_bw; in bnx2x_ets_bw_limit()