Searched refs:cpu (Results 1 - 25 of 413) sorted by relevance

1234567891011>>

/external/llvm/test/MC/ARM/
H A Dcpu-test.s5 // CHECK: .cpu cortex-a8
6 .cpu cortex-a8
9 .cpu arm9
13 .cpu foobar
14 // CHECK: .cpu cortex-m3
15 .cpu cortex-m3
/external/clang/test/CodeGen/
H A Dpr4349.c10 struct cpu struct
14 extern struct cpu cpu;
19 // CHECK: @svars1 = global [1 x %struct.svar] [%struct.svar { i8* bitcast (%struct.cpu* @cpu to i8*) }]
22 { &((cpu.pc).w[0]) }
24 // CHECK: @svars2 = global [1 x %struct.svar] [%struct.svar { i8* getelementptr (i8, i8* bitcast (%struct.cpu* @cpu to i8*), i64 1) }]
27 { &((cpu.pc).b[0][1]) }
29 // CHECK: @svars3 = global [1 x %struct.svar] [%struct.svar { i8* getelementptr (i8, i8* bitcast (%struct.cpu*
[all...]
/external/syslinux/com32/modules/
H A Dcpuidtest.c44 s_cpu cpu; local
47 detect_cpu(&cpu);
48 printf("Vendor = %s\n", cpu.vendor);
49 printf("Model = %s\n", cpu.model);
50 printf("Vendor ID = %d\n", cpu.vendor_id);
51 printf("Family = %d\n", cpu.family);
52 printf("Model ID = %d\n", cpu.model_id);
53 printf("Stepping = %d\n", cpu.stepping);
55 if (cpu.flags.fpu)
57 if (cpu
[all...]
/external/ltp/testcases/open_posix_testsuite/include/
H A Daffinity.h32 static int set_affinity(int cpu) argument
37 CPU_SET(cpu, &mask);
45 int cpu = -1; local
47 f = fopen("/sys/devices/system/cpu/online", "r");
50 fscanf(f, "%d", &cpu);
53 return cpu;
59 int cpu = -1; local
75 if (sscanf(line, "processor%*[^0123456789]%d", &cpu) == 1)
80 return cpu;
85 int cpu; local
[all...]
/external/autotest/client/tests/tsc/src/
H A Dsched.h16 # define __CPUELT(cpu) ((cpu) / __NCPUBITS)
17 # define __CPUMASK(cpu) ((__cpu_mask) 1 << ((cpu) % __NCPUBITS))
33 # define __CPU_SET(cpu, cpusetp) \
34 ((cpusetp)->__bits[__CPUELT (cpu)] |= __CPUMASK (cpu))
35 # define __CPU_CLR(cpu, cpusetp) \
36 ((cpusetp)->__bits[__CPUELT (cpu)] &= ~__CPUMASK (cpu))
[all...]
/external/devlib/devlib/module/
H A Dcpufreq.py35 path = '/sys/devices/system/cpu/intel_pstate'
40 path = '/sys/devices/system/cpu/cpufreq'
45 path = '/sys/devices/system/cpu/cpu0/cpufreq'
53 def list_governors(self, cpu):
54 """Returns a list of governors supported by the cpu."""
55 if isinstance(cpu, int):
56 cpu = 'cpu{}'.format(cpu)
57 sysfile = '/sys/devices/system/cpu/{}/cpufre
[all...]
H A Dhotplug.py7 base_path = '/sys/devices/system/cpu'
18 def _cpu_path(cls, target, cpu):
19 if isinstance(cpu, int):
20 cpu = 'cpu{}'.format(cpu)
21 return target.path.join(cls.base_path, cpu, 'online')
27 for cpu in args:
28 self.hotplug(cpu, online=True)
31 for cpu i
[all...]
/external/syslinux/com32/hdt/
H A Dhdt-dump-cpu.c35 add_hs(cpu.vendor);
36 add_hs(cpu.model);
37 add_hi(cpu.vendor_id);
38 add_hi(cpu.family);
39 add_hi(cpu.model_id);
40 add_hi(cpu.stepping);
41 add_hi(cpu.num_cores);
42 add_hi(cpu.l1_data_cache_size);
43 add_hi(cpu.l1_instruction_cache_size);
44 add_hi(cpu
[all...]
H A Dhdt-cli-cpu.c51 more_printf(" Manufacturer : %s \n", hardware->cpu.vendor);
52 more_printf(" Product : %s \n", hardware->cpu.model);
53 more_printf(" CPU Cores : %d \n", hardware->cpu.num_cores);
56 more_printf(" L2 Cache : %dK\n", hardware->cpu.l2_cache_size);
61 if (hardware->cpu.flags.lm)
65 if (hardware->cpu.flags.smp)
69 if (hardware->cpu.flags.vmx || hardware->cpu.flags.svm)
75 /* Let's compute the cpu flags display
111 hardware->cpu
[all...]
/external/libchrome/base/
H A Dcpu_unittest.cc5 #include "base/cpu.h"
23 base::CPU cpu; local
25 ASSERT_TRUE(cpu.has_mmx());
26 ASSERT_TRUE(cpu.has_sse());
27 ASSERT_TRUE(cpu.has_sse2());
40 if (cpu.has_sse3()) {
45 if (cpu.has_ssse3()) {
50 if (cpu.has_sse41()) {
55 if (cpu.has_sse42()) {
60 if (cpu
[all...]
/external/webrtc/webrtc/system_wrappers/source/
H A Dcpu_features_android.c11 #include <cpu-features.h>
/external/linux-kselftest/tools/testing/selftests/cpu-hotplug/
H A Dcpu-on-off-test.sh23 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then
24 echo $msg cpu hotplug is not supported >&2
29 online_cpus=`cat $SYSFS/devices/system/cpu/online`
33 offline_cpus=`cat $SYSFS/devices/system/cpu/offline`
49 for cpu in $SYSFS/devices/system/cpu/cpu*; do
50 if [ -f $cpu/online ] && grep -q $state $cpu/onlin
[all...]
H A DMakefile3 TEST_PROGS := cpu-on-off-test.sh
8 @/bin/bash ./cpu-on-off-test.sh -a || echo "cpu-hotplug selftests: [FAIL]"
/external/llvm/test/MC/AArch64/
H A Ddirective-cpu.s3 .cpu generic
7 .cpu generic+fp
11 .cpu generic+nofp
15 .cpu generic+simd
19 .cpu generic+nosimd
23 .cpu generic+crc
27 .cpu generic+nocrc
31 .cpu generic+crypto+nocrc
35 .cpu generic+nocrypto+crc
/external/autotest/client/tests/monotonic_time/src/
H A Dcpuset.c19 int cpu; local
21 for (cpu = 0; cpu < CPU_SETSIZE; cpu++)
22 if (CPU_ISSET(cpu, cpus))
30 * of cpu numbers such as: "0,2,4-7" into a cpu_set_t.
38 int cpu; local
58 ERROR(0, "bad cpu number '%d' in cpu set", start);
63 ERROR(0, "bad cpu numbe
116 int cpu; local
[all...]
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/include/
H A Dcpuhotplug_hotplug.sh27 CPU=${1#cpu}
66 # $CPU should either be a specific number like 4, or the cpu name,
71 CPU=${1#cpu}
72 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then
78 $TIME echo 1 > /sys/devices/system/cpu/cpu${CPU}/online
80 report_timing "Online cpu ${CPU}"
92 CPU=${1#cpu}
93 if [ ! -w /sys/devices/system/cpu/cp
[all...]
/external/iptables/include/linux/netfilter/
H A Dxt_cpu.h7 __u32 cpu; member in struct:xt_cpu_info
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_cpu.h7 __u32 cpu; member in struct:xt_cpu_info
/external/ltp/tools/pounder21/build_scripts/
H A Dcpufreq24 CPUFREQ_ENABLED_CPUS=`/bin/ls -lad /sys/devices/system/cpu/cpu*/cpufreq 2> /dev/null | wc -l`
/external/ltp/testcases/kernel/power_management/
H A Drunpwtests03.sh32 for cpu in $(seq 0 "${total_cpus}" )
34 cpufiles=$(find /sys/devices/system/cpu/cpu"${cpu}"/cpufreq/ \
46 echo "${0}: PASS: Checking cpu freq sysfs files"
58 for cpu in $(seq 0 "${total_cpus}" )
63 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_governor
66 "governor -- ${govr} for cpu
[all...]
/external/linux-kselftest/tools/testing/selftests/powerpc/
H A Dutils.c66 int cpu; local
76 for (cpu = 8; cpu < CPU_SETSIZE; cpu += 8)
77 if (CPU_ISSET(cpu, &mask))
78 return cpu;
81 for (cpu = CPU_SETSIZE - 1; cpu >= 0; cpu--)
82 if (CPU_ISSET(cpu,
[all...]
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/tools/
H A Dcpuhotplug_report_proc_interrupts12 foreach my $cpu (sort keys %{$run1->{$irq}}) {
13 printf "%-5s ", $cpu;
19 foreach my $cpu (sort keys %{$run1->{$irq}}) {
20 printf "%-5s ", $run2->{$irq}->{$cpu} - $run1->{$irq}->{$cpu};
42 foreach my $cpu (@cpus) {
43 $run{"IRQ$irq"}->{"$cpu"} = shift @items;
/external/valgrind/tests/
H A Dx86_amd64_features.c71 static Bool go(char* cpu) argument
76 if ( strcmp( cpu, "x86-fpu" ) == 0 ) {
79 } else if ( strcmp( cpu, "x86-cmov" ) == 0 ) {
82 } else if ( strcmp( cpu, "x86-mmx" ) == 0 ) {
85 } else if ( strcmp( cpu, "x86-mmxext" ) == 0 ) {
88 } else if ( strcmp( cpu, "x86-sse" ) == 0 ) {
91 } else if ( strcmp( cpu, "x86-sse2" ) == 0 ) {
94 } else if ( strcmp( cpu, "x86-sse3" ) == 0 ) {
97 } else if ( strcmp( cpu, "x86-ssse3" ) == 0 ) {
100 } else if ( strcmp( cpu, "x8
167 go(char* cpu) argument
[all...]
/external/syslinux/com32/gpllib/
H A Dcpuid.c35 bool get_cpu_flag_value_from_name(s_cpu *cpu, const char * flag_name) { argument
41 flag_value = (bool *)((char *)&cpu->flags + cpu_flags_offset[i]);
491 void set_cpu_flags(struct cpuinfo_x86 *c, s_cpu * cpu) argument
493 cpu->flags.fpu = cpu_has(c, X86_FEATURE_FPU);
494 cpu->flags.vme = cpu_has(c, X86_FEATURE_VME);
495 cpu->flags.de = cpu_has(c, X86_FEATURE_DE);
496 cpu->flags.pse = cpu_has(c, X86_FEATURE_PSE);
497 cpu->flags.tsc = cpu_has(c, X86_FEATURE_TSC);
498 cpu->flags.msr = cpu_has(c, X86_FEATURE_MSR);
499 cpu
584 set_generic_info(struct cpuinfo_x86 *c, s_cpu * cpu) argument
599 detect_cpu(s_cpu * cpu) argument
[all...]
/external/google-breakpad/src/client/linux/dump_writer_common/
H A Dseccomp_unwinder.cc39 void SeccompUnwinder::PopSeccompStackFrame(RawContextCPU* cpu, argument
43 uint64_t bp = cpu->rbp;
86 cpu->rbx = seccomp_stackframe.rbx;
87 cpu->rcx = seccomp_stackframe.rcx;
88 cpu->rdx = seccomp_stackframe.rdx;
89 cpu->rsi = seccomp_stackframe.rsi;
90 cpu->rdi = seccomp_stackframe.rdi;
91 cpu->rbp = seccomp_stackframe.rbp;
92 cpu->rsp = top + 4*sizeof(uint64_t) + 128;
93 cpu
[all...]

Completed in 1178 milliseconds

1234567891011>>