Searched refs:tscale (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_hw.c | 9545 unsigned i, tscale = 1; in t4_init_sge_params() local 9555 tscale = G_TSCALE(r); in t4_init_sge_params() 9556 if (tscale == 0) in t4_init_sge_params() 9557 tscale = 1; in t4_init_sge_params() 9559 tscale += 2; in t4_init_sge_params() 9563 sp->timer_val[0] = core_ticks_to_us(adapter, G_TIMERVALUE0(r)) * tscale; in t4_init_sge_params() 9564 sp->timer_val[1] = core_ticks_to_us(adapter, G_TIMERVALUE1(r)) * tscale; in t4_init_sge_params() 9566 sp->timer_val[2] = core_ticks_to_us(adapter, G_TIMERVALUE2(r)) * tscale; in t4_init_sge_params() 9567 sp->timer_val[3] = core_ticks_to_us(adapter, G_TIMERVALUE3(r)) * tscale; in t4_init_sge_params() 9569 sp->timer_val[4] = core_ticks_to_us(adapter, G_TIMERVALUE4(r)) * tscale; in t4_init_sge_params() [all …]
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_sge.c | 185 static int tscale = 1; variable 186 SYSCTL_INT(_hw_cxgbe, OID_AUTO, tscale, CTLFLAG_RDTUN, &tscale, 0, 566 if (tscale != 1 && (tscale < 3 || tscale > 17)) { in t4_sge_modload() 568 " using 1 instead.\n", tscale); in t4_sge_modload() 569 tscale = 1; in t4_sge_modload() 792 if (tscale == 1) in t4_tweak_chip_settings() 795 v = V_TSCALE(tscale - 2); in t4_tweak_chip_settings()
|