Searched refs:tscale (Results 1 – 2 of 2) sorted by relevance
| /freebsd/sys/dev/cxgbe/ |
| H A D | t4_sge.c | 184 static int tscale = 1; variable 185 SYSCTL_INT(_hw_cxgbe, OID_AUTO, tscale, CTLFLAG_RDTUN, &tscale, 0, 592 if (tscale != 1 && (tscale < 3 || tscale > 17)) { in t4_sge_modload() 594 " using 1 instead.\n", tscale); in t4_sge_modload() 595 tscale = 1; in t4_sge_modload() 824 if (tscale == 1) in t4_tweak_chip_settings() 827 v = V_TSCALE(tscale - 2); in t4_tweak_chip_settings()
|
| /freebsd/sys/dev/cxgbe/common/ |
| H A D | t4_hw.c | 11424 unsigned i, tscale = 1; in t4_init_sge_params() local 11434 tscale = G_TSCALE(r); in t4_init_sge_params() 11435 if (tscale == 0) in t4_init_sge_params() 11436 tscale = 1; in t4_init_sge_params() 11438 tscale += 2; in t4_init_sge_params() 11442 sp->timer_val[0] = core_ticks_to_us(adapter, G_TIMERVALUE0(r)) * tscale; in t4_init_sge_params() 11443 sp->timer_val[1] = core_ticks_to_us(adapter, G_TIMERVALUE1(r)) * tscale; in t4_init_sge_params() 11445 sp->timer_val[2] = core_ticks_to_us(adapter, G_TIMERVALUE2(r)) * tscale; in t4_init_sge_params() 11446 sp->timer_val[3] = core_ticks_to_us(adapter, G_TIMERVALUE3(r)) * tscale; in t4_init_sge_params() 11448 sp->timer_val[4] = core_ticks_to_us(adapter, G_TIMERVALUE4(r)) * tscale; in t4_init_sge_params() [all …]
|