Searched refs:w_min (Results 1 – 1 of 1) sorted by relevance
7 static u32 lan966x_ets_hw_cost(u32 w_min, u32 weight) in lan966x_ets_hw_cost() argument14 res = (((DWRR_COST_BIT_WIDTH << 4) * w_min / weight) + 8) >> 4; in lan966x_ets_hw_cost()23 u32 w_min = 100; in lan966x_ets_add() local55 w_min = min(w_min, params->weights[i]); in lan966x_ets_add()64 lan_wr(lan966x_ets_hw_cost(w_min, params->weights[i]), in lan966x_ets_add()