Home
last modified time | relevance | path

Searched refs:max_weight (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c241 static const u32 max_weight = BIT(HW_ATL2_TPS_DATA_TCTWEIGHT_WIDTH) - 1; in hw_atl2_hw_init_tx_tc_rate_limit() local
277 max_weight) / in hw_atl2_hw_init_tx_tc_rate_limit()
279 tc_weight[tc] = min(tc_weight[tc], max_weight); in hw_atl2_hw_init_tx_tc_rate_limit()
307 if (!weight && sum_weight < max_weight) in hw_atl2_hw_init_tx_tc_rate_limit()
308 weight = (max_weight - sum_weight) / in hw_atl2_hw_init_tx_tc_rate_limit()
/linux-6.6.21/lib/
Dobjagg.c759 unsigned int max_weight = 0; in objagg_tmp_graph_node_max_weight() local
769 if (weight >= max_weight) { in objagg_tmp_graph_node_max_weight()
770 max_weight = weight; in objagg_tmp_graph_node_max_weight()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c334 static const u32 max_weight = BIT(HW_ATL_TPS_DATA_TCTWEIGHT_WIDTH) - 1; in hw_atl_b0_hw_init_tx_tc_rate_limit() local
367 max_weight) / in hw_atl_b0_hw_init_tx_tc_rate_limit()
369 tc_weight[tc] = min(tc_weight[tc], max_weight); in hw_atl_b0_hw_init_tx_tc_rate_limit()
402 if (!weight && sum_weight < max_weight) in hw_atl_b0_hw_init_tx_tc_rate_limit()
403 weight = (max_weight - sum_weight) / in hw_atl_b0_hw_init_tx_tc_rate_limit()
/linux-6.6.21/arch/s390/include/asm/
Ddiag.h193 __u16 max_weight; member
/linux-6.6.21/arch/x86/events/
Dcore.c797 int max_weight; member
816 sched->max_weight = wmax; in perf_sched_init()
944 if (sched->state.weight > sched->max_weight) in perf_sched_next_event()