Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A 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()
/openbmc/linux/lib/
H A Dobjagg.c762 unsigned int max_weight = 0; in objagg_tmp_graph_node_max_weight() local
772 if (weight >= max_weight) { in objagg_tmp_graph_node_max_weight()
773 max_weight = weight; in objagg_tmp_graph_node_max_weight()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A 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()
/openbmc/linux/arch/s390/include/asm/
H A Ddiag.h193 __u16 max_weight; member
/openbmc/u-boot/drivers/video/
H A Dstb_truetype.h1721 …d stbtt__fill_active_edges(unsigned char *scanline, int len, stbtt__active_edge *e, int max_weight) in stbtt__fill_active_edges() argument
1740 … scanline[i] = scanline[i] + (stbtt_uint8) ((x1 - x0) * max_weight >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
1743 …] = scanline[i] + (stbtt_uint8) (((STBTT_FIX - (x0 & STBTT_FIXMASK)) * max_weight) >> STBTT_FIXSHI… in stbtt__fill_active_edges()
1748 … scanline[j] = scanline[j] + (stbtt_uint8) (((x1 & STBTT_FIXMASK) * max_weight) >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
1753 scanline[i] = scanline[i] + (stbtt_uint8) max_weight; in stbtt__fill_active_edges()
1768 int max_weight = (255 / vsubsample); // weight per vertical scanline in stbtt__rasterize_sorted_edges() local
1847 stbtt__fill_active_edges(scanline, result->w, active, max_weight); in stbtt__rasterize_sorted_edges()
/openbmc/linux/arch/x86/events/
H A Dcore.c799 int max_weight; member
818 sched->max_weight = wmax; in perf_sched_init()
946 if (sched->state.weight > sched->max_weight) in perf_sched_next_event()