Home
last modified time | relevance | path

Searched refs:ltr_min (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
614 ltr_min = (1000 * size) / speed; in igc_set_ltr_i225()
615 ltr_max = ltr_min + tw_system; in igc_set_ltr_i225()
616 scale_min = (ltr_min / 1024) < 1024 ? IGC_LTRMINV_SCALE_1024 : in igc_set_ltr_i225()
620 ltr_min /= scale_min == IGC_LTRMINV_SCALE_1024 ? 1024 : 32768; in igc_set_ltr_i225()
621 ltr_min -= 1; in igc_set_ltr_i225()
627 if (ltr_min != (ltrv & IGC_LTRMINV_LTRV_MASK)) { in igc_set_ltr_i225()
628 ltrv = IGC_LTRMINV_LSNP_REQ | ltr_min | in igc_set_ltr_i225()