Home
last modified time | relevance | path

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

/openbmc/linux/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
615 ltr_max = ltr_min + tw_system; in igc_set_ltr_i225()
618 scale_max = (ltr_max / 1024) < 1024 ? IGC_LTRMAXV_SCALE_1024 : in igc_set_ltr_i225()
622 ltr_max /= scale_max == IGC_LTRMAXV_SCALE_1024 ? 1024 : 32768; in igc_set_ltr_i225()
623 ltr_max -= 1; in igc_set_ltr_i225()
634 if (ltr_max != (ltrv & IGC_LTRMAXV_LTRV_MASK)) { in igc_set_ltr_i225()
635 ltrv = IGC_LTRMAXV_LSNP_REQ | ltr_max | in igc_set_ltr_i225()