/netbsd-current/external/gpl3/gcc.old/dist/gcc/config/i386/ |
H A D | gcc-auto-profile | 27 if ! grep -q Intel /proc/cpuinfo ; then 32 if grep -q hypervisor /proc/cpuinfo ; then 36 case `egrep -q "^cpu family\s*: 6" /proc/cpuinfo && 37 egrep "^model\s*:" /proc/cpuinfo | head -n1` in
|
/netbsd-current/sys/external/bsd/drm2/include/linux/ |
H A D | cpufreq.h | 44 } cpuinfo; member in struct:cpufreq_policy 51 policy->cpuinfo.max_freq = cpufreq_get(curcpu());
|
/netbsd-current/sys/arch/sparc/sparc/ |
H A D | cache.h | 122 #define GUESS_CACHE_ALIAS_BITS ((cpuinfo.cacheinfo.c_totalsize - 1) & ~PGOFSET) 123 #define GUESS_CACHE_ALIAS_DIST (cpuinfo.cacheinfo.c_totalsize) 219 #define cache_flush_page(va,ctx) cpuinfo.vcache_flush_page(va,ctx) 220 #define cache_flush_segment(vr,vs,ctx) cpuinfo.vcache_flush_segment(vr,vs,ctx) 221 #define cache_flush_region(vr,ctx) cpuinfo.vcache_flush_region(vr,ctx) 222 #define cache_flush_context(ctx) cpuinfo.vcache_flush_context(ctx) 223 #define cache_flush(va,len) cpuinfo.cache_flush(va,len) 225 #define pcache_flush_page(pa,flag) cpuinfo.pcache_flush_page(pa,flag) 227 #define CACHEINFO cpuinfo.cacheinfo
|
H A D | intr.c | 221 cpuinfo.ci_intrcnt[15].ev_count++; 222 cpuinfo.ci_data.cpu_nintr++; 225 if ((*cpuinfo.get_asyncflt)(&afsr, &afva) == 0) { 228 cpuinfo.mid, bits, 240 if (cpuinfo.master == 0) { 312 cpuinfo.ci_sintrcnt[15].ev_count++; 313 cpuinfo.ci_data.cpu_nintr++; 315 if (cpuinfo.mailbox) { 317 uint8_t msg = *(uint8_t *)cpuinfo.mailbox; 342 switch (cpuinfo [all...] |
H A D | eeprom.c | 85 (cpuinfo.cpu_type != CPUTYP_4_100 && 86 cpuinfo.cpu_type != CPUTYP_4_200))
|
H A D | trap.c | 279 XCALL0(*cpuinfo.pure_vcache_flush, CPUSET_ALL); 281 (*cpuinfo.pure_vcache_flush)(); 316 if (cpuinfo.fplwp != l) 318 l, cpuinfo.fplwp); 321 cpuinfo.fplwp = NULL; 368 XCALL0(*cpuinfo.pure_vcache_flush, CPUSET_ALL); 370 (*cpuinfo.pure_vcache_flush)(); 415 if (!cpuinfo.fpupresent) { 447 if (cpuinfo.fplwp != l) { 451 if (cpuinfo [all...] |
H A D | cache.c | 128 if (cpuinfo.flags & SUN4_IOCACHE) { 197 if (cpuinfo.mxcc && CACHEINFO.ec_totalsize > 0) { 700 /*if (cpuinfo.cpu_type == CPUTYP_HS_MBUS) -- more work than it's worth */ 746 if (cpuinfo.cpu_type == CPUTYP_HS_MBUS) { 796 FXCALL3(cpuinfo.sp_vcache_flush_range, 797 cpuinfo.ft_vcache_flush_range, 800 cpuinfo.sp_vcache_flush_range((int)base, len, ctx); 809 FXCALL3(cpuinfo.sp_vcache_flush_segment, 810 cpuinfo.ft_vcache_flush_segment, 822 FXCALL2(cpuinfo [all...] |
H A D | timer_sun4m.c | 78 #define counterreg4m cpuinfo.counterreg_4m 130 if (cpi == cpuinfo.ci_self) { 215 if ((++cpuinfo.ci_schedstate.spc_schedticks & 7) == 0 && schedhz != 0) { 225 raise_ipi(&cpuinfo, IPL_SCHED); /* sched_cookie->pil */
|
H A D | kgdb_machdep.c | 216 while (cpuinfo.flags & CPUFLG_PAUSED) 217 cache_flush((void *)__UNVOLATILE(&cpuinfo.flags), 218 sizeof(cpuinfo.flags));
|
H A D | mkclock.c | 114 if (cpuinfo.cpu_type != CPUTYP_4_300 && 115 cpuinfo.cpu_type != CPUTYP_4_400) 257 if (cpuinfo.cpu_type == CPUTYP_4_300 || 258 cpuinfo.cpu_type == CPUTYP_4_400) {
|
H A D | cpu.c | 545 if (cpuinfo.hotfix) 546 (*cpuinfo.hotfix)(&cpuinfo); 549 fpu_init(&cpuinfo); 552 cpuinfo.cache_enable(); 554 cpuinfo.flags |= CPUFLG_HATCHED; 646 if (cpuinfo.mid == cpi->mid || 702 cpuinfo.cache_flush_all(); 738 mybit = (1 << cpuinfo.ci_cpuid); 779 cpuinfo [all...] |
H A D | oclock.c | 98 (cpuinfo.cpu_type != CPUTYP_4_100 && 99 cpuinfo.cpu_type != CPUTYP_4_200))
|
H A D | timer_sun4.c | 137 if ((++cpuinfo.ci_schedstate.spc_schedticks & 7) == 0) {
|
H A D | core_machdep.c | 96 if (l == cpuinfo.fplwp)
|
H A D | vm_machdep.c | 151 cpuinfo.cache_flush(bp->b_data, len); 230 if (l1 == cpuinfo.fplwp) 306 if (l == cpuinfo.fplwp)
|
H A D | syscall.c | 184 if (cpuinfo.fplwp != l) 186 l, cpuinfo.fplwp); 189 cpuinfo.fplwp = NULL;
|
/netbsd-current/sys/arch/sparc/include/ |
H A D | userret.h | 67 cpuinfo.ci_want_ast = 0; 69 } while (cpuinfo.ci_want_ast); 91 if ((tf->tf_psr & PSR_EF) != 0 && cpuinfo.fplwp != l)
|
H A D | cpu.h | 171 * The cpuinfo structure. This structure maintains information about one 230 #define HASSUN4_MMU3L (cpuinfo.sun4_mmu3l) 416 #define cpuinfo (*(struct cpu_info *)CPUINFO_VA) macro 417 #define curcpu() (cpuinfo.ci_self) 418 #define curlwp (cpuinfo.ci_curlwp) 421 #define cpu_number() (cpuinfo.ci_cpuid) 451 ((framep)->fp > (u_int)cpuinfo.eintstack - INT_STACK_SIZE && \ 452 (framep)->fp < (u_int)cpuinfo.eintstack) 477 #define cpu_need_proftick(l) ((l)->l_pflag |= LP_OWEUPC, cpuinfo.ci_want_ast = 1)
|
/netbsd-current/external/gpl3/gcc/dist/gcc/config/i386/ |
H A D | gcc-auto-profile | 27 if ! grep -q Intel /proc/cpuinfo ; then 32 if grep -q hypervisor /proc/cpuinfo ; then 36 case `egrep -q "^cpu family\s*: 6" /proc/cpuinfo && 37 egrep "^model\s*:" /proc/cpuinfo | head -n1` in
|
/netbsd-current/external/mit/libuv/dist/src/unix/ |
H A D | qnx.c | 118 struct cpuinfo_entry* cpuinfo = local 120 size_t cpuinfo_size = _SYSPAGE_ELEMENT_SIZE(_syspage_ptr, cpuinfo); 131 (*cpu_infos)[i].model = strdup(&strings->data[cpuinfo->name]); 132 (*cpu_infos)[i].speed = cpuinfo->speed; 133 SYSPAGE_ARRAY_ADJ_OFFSET(cpuinfo, cpuinfo, cpuinfo_size);
|
/netbsd-current/crypto/external/bsd/openssl/dist/apps/ |
H A D | version.c | 47 int engdir = 0, moddir = 0, cpuinfo = 0; local 91 dirty = cpuinfo = 1; 95 = dir = engdir = moddir = cpuinfo 133 if (cpuinfo)
|
/netbsd-current/external/gpl3/gcc/dist/contrib/ |
H A D | gen_autofdo_event.py | 50 cpuinfo = os.getenv("CPUINFO") 51 if cpuinfo is None: 52 cpuinfo = '/proc/cpuinfo' 53 f = open(cpuinfo, 'r') 140 if ! grep -q Intel /proc/cpuinfo ; then 145 if grep -q hypervisor /proc/cpuinfo ; then 149 case `egrep -q "^cpu family\s*: 6" /proc/cpuinfo && 150 egrep "^model\s*:" /proc/cpuinfo | head -n1` in'''
|
/netbsd-current/external/lgpl3/gmp/dist/ |
H A D | config.guess | 136 # days does its thing with Linux kernel /proc/cpuinfo or OSF psrinfo. 176 cpu_code=`sed -n 's/^CPU part.*\(0x.*\)$/\1/p' /proc/cpuinfo 2>/dev/null | sort -r | head -n 1 2>/dev/null` 177 cpu_implementer=`sed -n 's/^CPU implementer.*\(0x.*\)$/\1/p' /proc/cpuinfo 2>/dev/null | head -n 1 2>/dev/null` 224 exact_cpu="${exact_cpu}`sed -n 's;^Features.*\(neon\).*;\1;p' /proc/cpuinfo 2>/dev/null | head -n 1 2>/dev/null`" 302 exact_cpu=`sed -n 's/^CPU:.*\(680[012346]0\).*$/m\1/p' /proc/cpuinfo 2>/dev/null` 416 # to /proc/cpuinfo since the latter lags for newer CPUs. 470 # Grep the /proc/cpuinfo pseudo-file. 473 if test -z "$exact_cpu" && test -f /proc/cpuinfo; then 474 x=`grep "^cpu[ ]" /proc/cpuinfo | head -n 1` 609 # Grep the linux kernel /proc/cpuinfo pseud [all...] |
/netbsd-current/external/cddl/osnet/lib/libdtrace/ |
H A D | sched.d | 35 struct cpuinfo { 43 typedef struct cpuinfo cpuinfo_t;
|
/netbsd-current/sys/compat/linux/arch/alpha/ |
H A D | linux_osf1.c | 687 struct osf1_cpu_info cpuinfo; local 717 memset(&cpuinfo, 0, sizeof(cpuinfo)); 723 cpuinfo.current_cpu = unit; 724 cpuinfo.cpus_in_box = ncpus; 725 cpuinfo.cpu_type = LOCATE_PCS(hwrpb, unit)->pcs_proc_type; 726 cpuinfo.ncpus = ncpus; 727 cpuinfo.cpus_present = ncpus; 728 cpuinfo.cpus_running = ncpus; 729 cpuinfo [all...] |