Lines Matching refs:total_bw
832 const u16 total_bw, in bnx2x_ets_e3b0_set_cos_bw() argument
839 const u32 cos_bw_nig = ((bw ? bw : 1) * min_w_val_nig) / total_bw; in bnx2x_ets_e3b0_set_cos_bw()
840 const u32 cos_bw_pbf = ((bw ? bw : 1) * min_w_val_pbf) / total_bw; in bnx2x_ets_e3b0_set_cos_bw()
903 u16 *total_bw) in bnx2x_ets_e3b0_get_total_bw() argument
909 *total_bw = 0 ; in bnx2x_ets_e3b0_get_total_bw()
923 *total_bw += in bnx2x_ets_e3b0_get_total_bw()
929 if ((is_bw_cos_exist == 1) && (*total_bw != 100)) { in bnx2x_ets_e3b0_get_total_bw()
930 if (*total_bw == 0) { in bnx2x_ets_e3b0_get_total_bw()
1143 u16 total_bw = 0; in bnx2x_ets_e3b0_config() local
1170 &total_bw); in bnx2x_ets_e3b0_config()
1192 total_bw, in bnx2x_ets_e3b0_config()
1287 const u32 total_bw = cos0_bw + cos1_bw; in bnx2x_ets_bw_limit() local
1293 if ((!total_bw) || in bnx2x_ets_bw_limit()
1301 total_bw; in bnx2x_ets_bw_limit()
1303 total_bw; in bnx2x_ets_bw_limit()