Searched refs:tscale (Results 1 - 3 of 3) sorted by path

/freebsd-11-stable/sys/mips/atheros/
H A Duart_dev_ar933x.c133 unsigned int tscale; local
142 for (tscale = 0; tscale < AR933X_UART_MAX_SCALE; tscale++) {
146 tstep = baud * (tscale + 1);
153 diff = abs(ar933x_uart_get_baud(clk, tscale, tstep) - baud);
156 *scale = tscale;
/freebsd-11-stable/sys/dev/cxgbe/common/
H A Dt4_hw.c9173 unsigned i, tscale = 1; local
9183 tscale = G_TSCALE(r);
9184 if (tscale == 0)
9185 tscale = 1;
9187 tscale += 2;
9191 sp->timer_val[0] = core_ticks_to_us(adapter, G_TIMERVALUE0(r)) * tscale;
9192 sp->timer_val[1] = core_ticks_to_us(adapter, G_TIMERVALUE1(r)) * tscale;
9194 sp->timer_val[2] = core_ticks_to_us(adapter, G_TIMERVALUE2(r)) * tscale;
9195 sp->timer_val[3] = core_ticks_to_us(adapter, G_TIMERVALUE3(r)) * tscale;
9197 sp->timer_val[4] = core_ticks_to_us(adapter, G_TIMERVALUE4(r)) * tscale;
[all...]
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_sge.c167 static int tscale = 1; variable
168 SYSCTL_INT(_hw_cxgbe, OID_AUTO, tscale, CTLFLAG_RDTUN, &tscale, 0,
512 if (tscale != 1 && (tscale < 3 || tscale > 17)) {
513 printf("Invalid hw.cxgbe.tscale value (%d),"
514 " using 1 instead.\n", tscale);
515 tscale = 1;
709 if (tscale
[all...]

Completed in 228 milliseconds