Home
last modified time | relevance | path

Searched refs:scale_max (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/drivers/net/ethernet/intel/igc/
H A Digc_i225.c562 u32 tw_system, ltrc, ltrv, ltr_min, ltr_max, scale_min, scale_max; in igc_set_ltr_i225() local
617 scale_max = (ltr_max / 1024) < 1024 ? IGC_LTRMAXV_SCALE_1024 : in igc_set_ltr_i225()
621 ltr_max /= scale_max == IGC_LTRMAXV_SCALE_1024 ? 1024 : 32768; in igc_set_ltr_i225()
635 (scale_max << IGC_LTRMAXV_SCALE_SHIFT); in igc_set_ltr_i225()
/linux-6.15/fs/bcachefs/
H A Dalloc_foreground.c641 u64 scale_max = U64_MAX; /* maximum we can subtract without underflow */ in bch2_stripe_state_rescale() local
647 scale_max = min(scale_max, *v); in bch2_stripe_state_rescale()
652 u64 scale = max(scale_min, scale_max); in bch2_stripe_state_rescale()