Searched refs:cpuspeed (Results 1 - 25 of 48) sorted by relevance

12

/netbsd-current/sys/arch/mips/mips/
H A Dmips_mcclock.c125 iters, mips_options.mips_cpu_mhz, cpuspeed);
178 * set the global variables "cpuspeed", used by DELAY() and delay()
205 cpuspeed = 20; /* XXX */
208 cpuspeed = 25; /* XXX */
211 cpuspeed = 27; /* XXX */
214 cpuspeed = 33; /* XXX */
217 cpuspeed = 38; /* XXX */
227 cpuspeed = 8;
231 cpuspeed = 8;
234 cpuspeed
[all...]
/netbsd-current/sys/arch/pmax/include/
H A Dparam.h57 extern int cpuspeed;
61 register int __N = cpuspeed * n;
/netbsd-current/sys/arch/newsmips/include/
H A Dparam.h63 extern int cpuspeed;
68 register int __N = cpuspeed * n;
/netbsd-current/sys/arch/mipsco/include/
H A Dparam.h63 extern int cpuspeed;
67 register int __N = cpuspeed * n;
/netbsd-current/sys/arch/emips/include/
H A Dparam.h85 extern int cpuspeed;
89 register int __N = cpuspeed * n;
/netbsd-current/sys/arch/hpcmips/include/
H A Dparam.h61 extern int cpuspeed;
65 register int __N = cpuspeed * n;
/netbsd-current/sys/arch/next68k/stand/boot/
H A Dsamachdep.h39 extern int cpuspeed;
73 register u_int __n = (cpuspeed * (n) / 4) + 1; \
H A Dboot.c62 int cpuspeed = MHZ_33; /* assume fastest 33 MHz for sanity */ variable
85 cpuspeed = MHZ_33;
88 cpuspeed = MHZ_25;
/netbsd-current/sys/arch/hp300/stand/common/
H A Dautoconf.c70 int cpuspeed; variable
96 cpuspeed = MHZ_16;
101 cpuspeed = MHZ_25;
104 cpuspeed = MHZ_33;
108 cpuspeed = MHZ_50;
113 cpuspeed = MHZ_25 * 2; /* XXX */
117 cpuspeed = MHZ_33 * 2; /* XXX */
120 cpuspeed = MHZ_50;
H A Dsamachdep.h62 extern int cpuspeed;
114 register int __N = cpuspeed * (n); \
/netbsd-current/sys/arch/arc/include/
H A Dparam.h69 extern int cpuspeed;
/netbsd-current/external/mit/libuv/dist/src/unix/
H A Dhaiku.c119 uint64_t cpuspeed; local
139 cpuspeed = 0;
142 cpuspeed = topology_infos[i].data.core.default_frequency;
161 cpu_info->speed = (int)(cpuspeed / 1000000);
H A Dnetbsd.c187 u_int64_t cpuspeed; local
204 size = sizeof(cpuspeed);
205 if (sysctlbyname("machdep.tsc_freq", &cpuspeed, &size, NULL, 0))
206 cpuspeed = 0;
231 cpu_info->speed = (int)(cpuspeed/(uint64_t) 1e6);
H A Dfreebsd.c174 multiplier = ((uint64_t)1000L / ticks), cpuspeed, maxcpus, local
201 cpuspeed = 0;
205 size = sizeof(cpuspeed);
206 if (sysctlbyname("hw.clockrate", &cpuspeed, &size, NULL, 0))
257 cpu_info->speed = cpuspeed;
H A Dopenbsd.c181 multiplier = ((uint64_t)1000L / ticks), cpuspeed; local
208 size = sizeof(cpuspeed);
209 if (sysctl(which, ARRAY_SIZE(which), &cpuspeed, &size, NULL, 0))
227 cpu_info->speed = cpuspeed;
/netbsd-current/sys/arch/mvme68k/include/
H A Dcpu.h71 extern int cpuspeed;
/netbsd-current/sys/arch/hp300/include/
H A Dhp300spu.h73 extern int cpuspeed; /* CPU speed, in MHz */
/netbsd-current/sys/arch/hpcmips/vr/
H A Dbcu_vrip.c431 cpuspeed = (cpuclock / 2 + MHZ / 2) / MHZ;
437 cpuspeed = (cpuclock / 2 + MHZ / 2) / MHZ;
442 cpuspeed = (cpuclock / 2 + MHZ / 2) / MHZ;
447 cpuspeed = (cpuclock / 2 + MHZ / 2) / MHZ;
452 cpuspeed = (cpuclock / 3 + MHZ / 2) / MHZ;
457 cpuspeed = (cpuclock / 3 + MHZ / 2) / MHZ;
462 cpuspeed = (cpuclock / 3 + MHZ / 2) / MHZ;
/netbsd-current/sys/arch/evbppc/virtex/
H A Dmachdep.c154 static u_int cpuspeed = CPUFREQ * 1000 * 1000; local
160 curcpu()->ci_khz = cpuspeed / 1000;
197 pn = prop_number_create_integer(cpuspeed);
/netbsd-current/sys/arch/luna68k/stand/boot/
H A Dsamachdep.h101 extern int cpuspeed;
217 register int __N = cpuspeed * (n); \
/netbsd-current/sys/arch/evbppc/explora/
H A Dmachdep.c56 static const unsigned int cpuspeed = 66000000; variable
133 pn = prop_number_create_integer(cpuspeed);
/netbsd-current/sys/arch/mvme68k/mvme68k/
H A Dmachdep.c176 * 8192 / cpuspeed (where cpuspeed is in MHz).
178 * On the other boards (mvme162 and up), the cpuspeed is passed
181 int cpuspeed; /* only used for printing later */ variable
319 /* calculate cpuspeed */
320 cpuspeed = 8192 / delay_divisor;
321 cpuspeed *= 100;
359 /* calculate cpuspeed */
360 cpuspeed = get_cpuspeed();
361 if (cpuspeed < 125
[all...]
/netbsd-current/sys/arch/newsmips/newsmips/
H A Dautoconf.c79 int cpuspeed = 10; /* approx # instr per usec. */ variable
/netbsd-current/sys/arch/emips/emips/
H A Dxs_bee3.c100 cpuspeed = 8; /* xxx */
/netbsd-current/sys/arch/cobalt/cobalt/
H A Dmachdep.c119 int cpuspeed; variable
244 cpuspeed = 150; /* MHz */
248 cpuspeed = 250; /* MHz */
252 cpuspeed = 250;
255 curcpu()->ci_cpu_freq = cpuspeed * 1000 * 1000;

Completed in 389 milliseconds

12