Searched refs:cpuid (Results 1 - 25 of 278) sorted by relevance

1234567891011>>

/linux-master/include/soc/tegra/
H A Dflowctrl.h44 u32 flowctrl_read_cpu_csr(unsigned int cpuid);
45 void flowctrl_write_cpu_csr(unsigned int cpuid, u32 value);
46 void flowctrl_write_cpu_halt(unsigned int cpuid, u32 value);
48 void flowctrl_cpu_suspend_enter(unsigned int cpuid);
49 void flowctrl_cpu_suspend_exit(unsigned int cpuid);
51 static inline u32 flowctrl_read_cpu_csr(unsigned int cpuid) argument
56 static inline void flowctrl_write_cpu_csr(unsigned int cpuid, u32 value) argument
60 static inline void flowctrl_write_cpu_halt(unsigned int cpuid, u32 value) {} argument
62 static inline void flowctrl_cpu_suspend_enter(unsigned int cpuid) argument
66 static inline void flowctrl_cpu_suspend_exit(unsigned int cpuid) argument
[all...]
/linux-master/tools/perf/arch/x86/util/
H A Denv.c15 is_amd = env.cpuid && strstarts(env.cpuid, "AuthenticAMD") ? 1 : -1;
H A Dcpuid.h7 cpuid(unsigned int op, unsigned int op2, unsigned int *a, unsigned int *b, function
20 "cpuid\n"
24 "cpuid\n"
/linux-master/arch/parisc/kernel/
H A Dtopology.c28 void store_cpu_topology(unsigned int cpuid) argument
30 struct cpu_topology *cpuid_topo = &cpu_topology[cpuid];
40 per_cpu(cpu_devices, cpuid).hotpluggable = 1;
42 if (register_cpu(&per_cpu(cpu_devices, cpuid), cpuid))
43 pr_warn("Failed to register CPU%d device", cpuid);
49 p = &per_cpu(cpu_data, cpuid);
53 if (cpu == cpuid) /* ignore current cpu */
72 update_siblings_masks(cpuid);
75 cpuid,
[all...]
H A Dprocessor.c84 unsigned long cpuid; local
103 cpuid = boot_cpu_data.cpu_count;
105 cpu_info.cpu_num = cpu_info.cpu_loc = cpuid;
136 cpuid, cpu_info.cpu_num, cpu_info.cpu_loc,
141 /* We need contiguous numbers for cpuid. Firmware's notion
142 * of cpuid is for physical CPUs and we just don't care yet.
155 cpuid = cpu_info.cpu_num;
161 p = &per_cpu(cpu_data, cpuid);
165 if (cpuid)
170 p->cpuid
[all...]
/linux-master/tools/perf/util/
H A Dsample-raw.c17 const char *cpuid = perf_env__cpuid(evlist->env); local
22 cpuid && strstarts(cpuid, "AuthenticAMD") &&
/linux-master/tools/perf/arch/arc/annotate/
H A Dinstructions.c4 static int arc__annotate_init(struct arch *arch, char *cpuid __maybe_unused)
/linux-master/tools/build/feature/
H A Dtest-get_cpuid.c2 #include <cpuid.h>
/linux-master/arch/riscv/kernel/
H A Dsmpboot.c46 int cpuid; local
60 for_each_possible_cpu(cpuid) {
61 if (cpuid == curr_cpuid)
63 set_cpu_present(cpuid, true);
64 numa_store_cpu_info(cpuid);
128 int cpuid = 1; local
142 if (cpuid >= NR_CPUS) {
143 pr_warn("Invalid cpuid [%d] for hartid [%lu]\n",
144 cpuid, hart);
148 cpuid_to_hartid_map(cpuid)
162 int cpuid; local
[all...]
H A Dcpu_ops_spinwait.c20 static void cpu_update_secondary_bootdata(unsigned int cpuid, argument
23 unsigned long hartid = cpuid_to_hartid_map(cpuid);
42 static int spinwait_cpu_start(unsigned int cpuid, struct task_struct *tidle) argument
52 cpu_update_secondary_bootdata(cpuid, tidle);
/linux-master/tools/perf/arch/riscv/util/
H A Dheader.c42 char *cpuid = NULL; local
49 return cpuid;
72 if (asprintf(&cpuid, "%s-%s-%s", mvendorid, marchid, mimpid) < 0)
73 cpuid = NULL;
81 return cpuid;
86 char *cpuid = _get_cpuid(); local
89 if (sz < strlen(cpuid)) {
94 scnprintf(buffer, sz, "%s", cpuid);
96 free(cpuid);
/linux-master/arch/arm/include/asm/
H A Dcpu.h15 u32 cpuid; member in struct:cpuinfo_arm
/linux-master/arch/s390/include/asm/
H A Dcpu.h17 struct cpuid struct
/linux-master/arch/parisc/include/asm/
H A Dtopology.h12 static inline void store_cpu_topology(unsigned int cpuid) { } argument
/linux-master/arch/loongarch/include/asm/
H A Dnuma.h39 extern void __init early_numa_add_cpu(int cpuid, s16 node);
47 static inline void set_cpuid_to_node(int cpuid, s16 node) argument
49 __cpuid_to_node[cpuid] = node;
56 static inline void early_numa_add_cpu(int cpuid, s16 node) { } argument
/linux-master/drivers/soc/tegra/
H A Dflowctrl.c51 u32 flowctrl_read_cpu_csr(unsigned int cpuid) argument
53 u8 offset = flowctrl_offset_cpu_csr[cpuid];
62 void flowctrl_write_cpu_csr(unsigned int cpuid, u32 value) argument
64 return flowctrl_update(flowctrl_offset_cpu_csr[cpuid], value);
67 void flowctrl_write_cpu_halt(unsigned int cpuid, u32 value) argument
69 return flowctrl_update(flowctrl_offset_halt_cpu[cpuid], value);
72 void flowctrl_cpu_suspend_enter(unsigned int cpuid) argument
77 reg = flowctrl_read_cpu_csr(cpuid);
85 reg |= TEGRA20_FLOW_CTRL_CSR_WFE_CPU0 << cpuid;
106 reg |= TEGRA20_FLOW_CTRL_CSR_WFE_CPU0 << cpuid;
128 flowctrl_cpu_suspend_exit(unsigned int cpuid) argument
[all...]
/linux-master/arch/sparc/kernel/
H A Dprom_64.c389 * 'portid', or 'cpuid' property.
406 mid_prop = "cpuid";
441 int cpuid = of_getintprop_default(dp, mid_prop, -1); local
445 if (cpuid < 0) {
446 this_mid_prop = "cpuid";
447 cpuid = of_getintprop_default(dp, this_mid_prop, -1);
449 if (cpuid < 0) {
455 if (cpuid >= NR_CPUS) {
458 cpuid, NR_CPUS);
462 ret = func(dp, cpuid, ar
469 check_cpu_node(struct device_node *dp, int cpuid, int id) argument
476 of_find_node_by_cpuid(int cpuid) argument
481 record_one_cpu(struct device_node *dp, int cpuid, int arg) argument
500 fill_in_one_cpu(struct device_node *dp, int cpuid, int arg) argument
[all...]
H A Dsun4d_smp.c45 static inline void show_leds(int cpuid) argument
47 cpuid &= 0x1e;
49 "r" ((cpu_leds[cpuid] << 4) | cpu_leds[cpuid+1]),
50 "r" (ECSR_BASE(cpuid) | BB_LEDS),
56 int cpuid = hard_smp_processor_id(); local
59 cpu_leds[cpuid] = 0x6;
60 show_leds(cpuid);
69 int cpuid; local
71 cpuid
[all...]
/linux-master/tools/perf/pmu-events/
H A Dempty-pmu-events.c198 * cpuid field, which is an arch-specific identifier for the CPU.
202 * The cpuid can contain any character other than the comma.
206 const char *cpuid; member in struct:pmu_events_map
218 .cpuid = "testcpu",
224 .cpuid = 0,
338 char *cpuid = perf_pmu__getcpuid(pmu); local
341 /* on some platforms which uses cpus map, cpuid can be NULL for
344 if (!cpuid)
351 if (!map->cpuid)
354 if (!strcmp_cpuid_str(map->cpuid, cpui
366 char *cpuid = perf_pmu__getcpuid(pmu); local
391 find_core_events_table(const char *arch, const char *cpuid) argument
402 find_core_metrics_table(const char *arch, const char *cpuid) argument
[all...]
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dcpuid_test.c126 struct kvm_cpuid2 *vcpu_alloc_cpuid(struct kvm_vm *vm, vm_vaddr_t *p_gva, struct kvm_cpuid2 *cpuid) argument
128 int size = sizeof(*cpuid) + cpuid->nent * sizeof(cpuid->entries[0]);
132 memcpy(guest_cpuids, cpuid, size);
168 struct kvm_cpuid2 *cpuid = allocate_kvm_cpuid2(vcpu->cpuid->nent + 1); local
171 vcpu_ioctl(vcpu, KVM_GET_CPUID2, cpuid);
172 TEST_ASSERT(cpuid->nent == vcpu->cpuid
[all...]
/linux-master/arch/alpha/kernel/
H A Dsmp.c68 /* Set to a secondary's cpuid when it comes online. */
80 smp_store_cpu_info(int cpuid) argument
82 cpu_data[cpuid].loops_per_jiffy = loops_per_jiffy;
83 cpu_data[cpuid].last_asn = ASN_FIRST_VERSION;
84 cpu_data[cpuid].need_new_asn = 0;
85 cpu_data[cpuid].asn_lock = 0;
92 smp_setup_percpu_timer(int cpuid) argument
94 cpu_data[cpuid].prof_counter = 1;
95 cpu_data[cpuid].prof_multiplier = 1;
99 wait_boot_cpu_to_stop(int cpuid) argument
120 int cpuid = hard_smp_processor_id(); local
197 send_secondary_console_msg(char *str, int cpuid) argument
289 secondary_cpu_start(int cpuid, struct task_struct *idle) argument
360 smp_boot_one_cpu(int cpuid, struct task_struct *idle) argument
[all...]
/linux-master/arch/x86/kernel/cpu/
H A Dtransmeta.c37 cpuid(0x80860001, &dummy, &cpu_rev, &cpu_freq, &cpu_flags);
48 cpuid(0x80860002, &new_cpu_rev, &cms_rev1, &cms_rev2, &dummy);
61 cpuid(0x80860003,
66 cpuid(0x80860004,
71 cpuid(0x80860005,
76 cpuid(0x80860006,
/linux-master/arch/x86/kernel/
H A Dverify_cpu.S40 pushfl # standard way to check for cpuid
49 jz .Lverify_cpu_no_longmode # cpu has no cpuid
52 movl $0x0,%eax # See if cpuid 1 is implemented
53 cpuid
55 jb .Lverify_cpu_no_longmode # no cpuid 1
78 cpuid
101 cpuid
106 movl $0x80000000,%eax # See if extended cpuid is implemented
107 cpuid
109 jb .Lverify_cpu_no_longmode # no extended cpuid
[all...]
/linux-master/arch/mips/include/asm/sn/
H A Dagent.h37 SET_HUB_NIC(cpuid(), (_v))
43 GET_HUB_NIC(cpuid())
/linux-master/tools/arch/x86/kcpuid/
H A DMakefile24 install -m 444 -p cpuid.csv $(HWDATADIR)/cpuid.csv

Completed in 290 milliseconds

1234567891011>>