Searched refs:tscale (Results 1 – 4 of 4) sorted by relevance
| /freebsd-10-stable/sys/mips/atheros/ |
| D | uart_dev_ar933x.c | 133 unsigned int tscale; in ar933x_uart_get_scale_step() local 142 for (tscale = 0; tscale < AR933X_UART_MAX_SCALE; tscale++) { in ar933x_uart_get_scale_step() 146 tstep = baud * (tscale + 1); in ar933x_uart_get_scale_step() 153 diff = abs(ar933x_uart_get_baud(clk, tscale, tstep) - baud); in ar933x_uart_get_scale_step() 156 *scale = tscale; in ar933x_uart_get_scale_step()
|
| /freebsd-10-stable/contrib/ntp/ntpdc/ |
| D | ntpdc_ops.c | 2923 double tscale = 1e-6; in kerninfo() local 2948 tscale = 1e-9; in kerninfo() 2951 (int32)ntohl(ik->offset) * tscale); in kerninfo() 2955 (u_long)ntohl(ik->maxerror) * tscale); in kerninfo() 2957 (u_long)ntohl(ik->esterror) * tscale); in kerninfo() 3011 (u_long)ntohl(ik->precision) * tscale); in kerninfo() 3030 (u_long)ntohl(ik->jitter) * tscale); in kerninfo()
|
| /freebsd-10-stable/sys/dev/cxgbe/common/ |
| D | t4_hw.c | 8139 unsigned i, tscale = 1; in t4_init_sge_params() local 8149 tscale = G_TSCALE(r); in t4_init_sge_params() 8150 if (tscale == 0) in t4_init_sge_params() 8151 tscale = 1; in t4_init_sge_params() 8153 tscale += 2; in t4_init_sge_params() 8157 sp->timer_val[0] = core_ticks_to_us(adapter, G_TIMERVALUE0(r)) * tscale; in t4_init_sge_params() 8158 sp->timer_val[1] = core_ticks_to_us(adapter, G_TIMERVALUE1(r)) * tscale; in t4_init_sge_params() 8160 sp->timer_val[2] = core_ticks_to_us(adapter, G_TIMERVALUE2(r)) * tscale; in t4_init_sge_params() 8161 sp->timer_val[3] = core_ticks_to_us(adapter, G_TIMERVALUE3(r)) * tscale; in t4_init_sge_params() 8163 sp->timer_val[4] = core_ticks_to_us(adapter, G_TIMERVALUE4(r)) * tscale; in t4_init_sge_params() [all …]
|
| /freebsd-10-stable/sys/dev/cxgbe/ |
| D | t4_sge.c | 156 static int tscale = 1; variable 157 TUNABLE_INT("hw.cxgbe.tscale", &tscale); 400 if (tscale != 1 && (tscale < 3 || tscale > 17)) { in t4_sge_modload() 402 " using 1 instead.\n", tscale); in t4_sge_modload() 403 tscale = 1; in t4_sge_modload() 600 if (tscale == 1) in t4_tweak_chip_settings() 603 v = V_TSCALE(tscale - 2); in t4_tweak_chip_settings()
|