Home
last modified time | relevance | path

Searched refs:cpu_id (Results 1 – 25 of 113) sorted by relevance

12345

/linux/drivers/misc/habanalabs/include/gaudi/
A Dgaudi_async_ids_map_extended.h18 int cpu_id; member
113 { .fc_id = 89, .cpu_id = 61, .valid = 1,
116 { .fc_id = 91, .cpu_id = 63, .valid = 1,
283 { .fc_id = 257, .cpu_id = 120, .valid = 1,
510 { .fc_id = 483, .cpu_id = 332, .valid = 1,
515 { .fc_id = 487, .cpu_id = 336, .valid = 1,
520 { .fc_id = 491, .cpu_id = 340, .valid = 1,
525 { .fc_id = 495, .cpu_id = 344, .valid = 1,
530 { .fc_id = 499, .cpu_id = 348, .valid = 1,
679 { .fc_id = 647, .cpu_id = 496, .valid = 1,
[all …]
/linux/include/trace/events/
A Dpower.h20 TP_ARGS(state, cpu_id),
24 __field( u32, cpu_id )
29 __entry->cpu_id = cpu_id;
40 TP_ARGS(state, cpu_id)
149 TP_ARGS(frequency, cpu_id)
161 __field(u32, cpu_id)
301 __entry->cpu_id = cpu_id;
312 TP_ARGS(name, state, cpu_id)
319 TP_ARGS(name, state, cpu_id)
326 TP_ARGS(name, state, cpu_id)
[all …]
A Drseq.h18 __field(s32, cpu_id)
22 __entry->cpu_id = raw_smp_processor_id();
25 TP_printk("cpu_id=%d", __entry->cpu_id)
/linux/tools/testing/selftests/rseq/
A Drseq-arm.h124 "cmp %[" __rseq_str(cpu_id) "], r0\n\t" \
187 : [cpu_id] "r" (cpu), in rseq_cmpeqv_storev()
188 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpeqv_storev()
257 : [cpu_id] "r" (cpu), in rseq_cmpnev_storeoffp_load()
258 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpnev_storeoffp_load()
318 : [cpu_id] "r" (cpu), in rseq_addv()
383 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trystorev_storev()
459 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trystorev_storev_release()
539 : [cpu_id] "r" (cpu), in rseq_cmpeqv_cmpeqv_storev()
659 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trymemcpy_storev()
[all …]
A Drseq-x86.h143 : [cpu_id] "r" (cpu), in rseq_cmpeqv_storev()
209 : [cpu_id] "r" (cpu), in rseq_cmpnev_storeoffp_load()
260 : [cpu_id] "r" (cpu), in rseq_addv()
316 : [cpu_id] "r" (cpu), in rseq_offset_deref_addv()
374 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trystorev_storev()
451 : [cpu_id] "r" (cpu), in rseq_cmpeqv_cmpeqv_storev()
557 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trymemcpy_storev()
721 : [cpu_id] "r" (cpu), in rseq_cmpeqv_storev()
787 : [cpu_id] "r" (cpu), in rseq_cmpnev_storeoffp_load()
838 : [cpu_id] "r" (cpu), in rseq_addv()
[all …]
A Drseq-arm64.h232 : [cpu_id] "r" (cpu), in rseq_cmpeqv_storev()
233 [current_cpu_id] "Qo" (__rseq_abi.cpu_id), in rseq_cmpeqv_storev()
289 : [cpu_id] "r" (cpu), in rseq_cmpnev_storeoffp_load()
290 [current_cpu_id] "Qo" (__rseq_abi.cpu_id), in rseq_cmpnev_storeoffp_load()
339 : [cpu_id] "r" (cpu), in rseq_addv()
340 [current_cpu_id] "Qo" (__rseq_abi.cpu_id), in rseq_addv()
390 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trystorev_storev()
449 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trystorev_storev_release()
510 : [cpu_id] "r" (cpu), in rseq_cmpeqv_cmpeqv_storev()
571 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trymemcpy_storev()
[all …]
A Drseq-mips.h192 : [cpu_id] "r" (cpu), in rseq_cmpeqv_storev()
193 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpeqv_storev()
260 : [cpu_id] "r" (cpu), in rseq_cmpnev_storeoffp_load()
261 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpnev_storeoffp_load()
321 : [cpu_id] "r" (cpu), in rseq_addv()
322 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_addv()
384 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trystorev_storev()
458 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trystorev_storev_release()
534 : [cpu_id] "r" (cpu), in rseq_cmpeqv_cmpeqv_storev()
651 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trymemcpy_storev()
[all …]
A Drseq-ppc.h237 : [cpu_id] "r" (cpu), in rseq_cmpeqv_storev()
238 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpeqv_storev()
303 : [cpu_id] "r" (cpu), in rseq_cmpnev_storeoffp_load()
304 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpnev_storeoffp_load()
361 : [cpu_id] "r" (cpu), in rseq_addv()
362 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_addv()
421 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trystorev_storev()
491 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trystorev_storev_release()
562 : [cpu_id] "r" (cpu), in rseq_cmpeqv_cmpeqv_storev()
637 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trymemcpy_storev()
[all …]
A Drseq-s390.h167 : [cpu_id] "r" (cpu), in rseq_cmpeqv_storev()
168 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpeqv_storev()
235 : [cpu_id] "r" (cpu), in rseq_cmpnev_storeoffp_load()
236 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpnev_storeoffp_load()
290 : [cpu_id] "r" (cpu), in rseq_addv()
291 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_addv()
349 : [cpu_id] "r" (cpu), in rseq_cmpeqv_trystorev_storev()
350 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpeqv_trystorev_storev()
428 : [cpu_id] "r" (cpu), in rseq_cmpeqv_cmpeqv_storev()
429 [current_cpu_id] "m" (__rseq_abi.cpu_id), in rseq_cmpeqv_cmpeqv_storev()
[all …]
/linux/arch/powerpc/kernel/
A Dcacheinfo.c468 cpu_id)); in get_group_id()
471 cpu_id)); in get_group_id()
474 cpu_id)); in get_group_id()
490 group_id = get_group_id(cpu_id, level); in do_subsidiary_caches()
514 group_id = get_group_id(cpu_id, 1); in cache_chain_instantiate()
522 cache_cpu_set(cpu_cache, cpu_id); in cache_chain_instantiate()
535 dev = get_cpu_device(cpu_id); in cacheinfo_create_cache_dir()
856 group_id = get_group_id(cpu_id, 1); in cache_lookup_by_cpu()
924 per_cpu(cache_dir_pcpu, cpu_id) = NULL; in cacheinfo_cpu_offline()
928 cache = cache_lookup_by_cpu(cpu_id); in cacheinfo_cpu_offline()
[all …]
/linux/kernel/sched/
A Dmembarrier.c309 static int membarrier_private_expedited(int flags, int cpu_id) in membarrier_private_expedited() argument
346 if (cpu_id < 0 && !zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in membarrier_private_expedited()
351 if (cpu_id >= 0) { in membarrier_private_expedited()
354 if (cpu_id >= nr_cpu_ids || !cpu_online(cpu_id)) in membarrier_private_expedited()
357 p = rcu_dereference(cpu_rq(cpu_id)->curr); in membarrier_private_expedited()
377 if (cpu_id >= 0) { in membarrier_private_expedited()
382 smp_call_function_single(cpu_id, ipi_func, NULL, 1); in membarrier_private_expedited()
411 if (cpu_id < 0) in membarrier_private_expedited()
592 cpu_id = -1; in SYSCALL_DEFINE3()
615 return membarrier_private_expedited(0, cpu_id); in SYSCALL_DEFINE3()
[all …]
/linux/drivers/xen/
A Dpcpu.c60 uint32_t cpu_id; member
73 static int xen_pcpu_down(uint32_t cpu_id) in xen_pcpu_down() argument
78 .u.cpu_ol.cpuid = cpu_id, in xen_pcpu_down()
84 static int xen_pcpu_up(uint32_t cpu_id) in xen_pcpu_up() argument
89 .u.cpu_ol.cpuid = cpu_id, in xen_pcpu_up()
120 ret = xen_pcpu_down(pcpu->cpu_id); in online_store()
123 ret = xen_pcpu_up(pcpu->cpu_id); in online_store()
183 static struct pcpu *get_pcpu(uint32_t cpu_id) in get_pcpu() argument
188 if (pcpu->cpu_id == cpu_id) in get_pcpu()
225 dev->id = pcpu->cpu_id; in register_pcpu()
[all …]
/linux/arch/arm64/kernel/
A Dacpi_parking_protocol.c15 __le32 cpu_id; member
63 u32 cpu_id; in acpi_parking_protocol_cpu_boot() local
80 cpu_id = readl_relaxed(&mailbox->cpu_id); in acpi_parking_protocol_cpu_boot()
85 if (cpu_id != ~0U) { in acpi_parking_protocol_cpu_boot()
104 writel_relaxed(cpu_entry->gic_cpu_id, &mailbox->cpu_id); in acpi_parking_protocol_cpu_boot()
/linux/arch/arm/mach-omap2/
A Domap-mpuss-lowpower.c86 void (*scu_prepare)(unsigned int cpu_id, unsigned int cpu_state);
103 static void dummy_scu_prepare(unsigned int cpu_id, unsigned int cpu_state) in dummy_scu_prepare() argument
117 static inline void set_cpu_wakeup_addr(unsigned int cpu_id, u32 addr) in set_cpu_wakeup_addr() argument
119 struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu_id); in set_cpu_wakeup_addr()
128 static void scu_pwrst_prepare(unsigned int cpu_id, unsigned int cpu_state) in scu_pwrst_prepare() argument
130 struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu_id); in scu_pwrst_prepare()
162 static inline void cpu_clear_prev_logic_pwrst(unsigned int cpu_id) in cpu_clear_prev_logic_pwrst() argument
166 if (cpu_id) { in cpu_clear_prev_logic_pwrst()
182 static void l2x0_pwrst_prepare(unsigned int cpu_id, unsigned int save_state) in l2x0_pwrst_prepare() argument
184 struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu_id); in l2x0_pwrst_prepare()
/linux/arch/arc/kernel/
A Dsetup.c268 struct cpuinfo_arc *cpu = &cpuinfo_arc700[cpu_id]; in arc_cpu_mumbojumbo()
277 core->family, core->cpu_id, core->chip_id); in arc_cpu_mumbojumbo()
280 cpu_id, cpu->name, cpu->release, in arc_cpu_mumbojumbo()
341 struct cpuinfo_arc *cpu = &cpuinfo_arc700[cpu_id]; in arc_extn_mumbojumbo()
460 int cpu_id = smp_processor_id(); in setup_processor() local
618 int cpu_id = ptr_to_cpu(v); in show_cpuinfo() local
619 struct device *cpu_dev = get_cpu_device(cpu_id); in show_cpuinfo()
623 if (!cpu_online(cpu_id)) { in show_cpuinfo()
624 seq_printf(m, "processor [%d]\t: Offline\n", cpu_id); in show_cpuinfo()
632 seq_printf(m, arc_cpu_mumbojumbo(cpu_id, str, PAGE_SIZE)); in show_cpuinfo()
[all …]
/linux/arch/nds32/kernel/
A Dsetup.c44 unsigned long cpu_id, cpu_rev, cpu_cfgid; variable
159 cpu_id = (__nds32__mfsr(NDS32_SR_CPU_VER) & CPU_VER_mskCPUID) >> CPU_VER_offCPUID; in setup_cpuinfo()
160 cpu_name = ((cpu_id) & 0xf0) >> 4; in setup_cpuinfo()
162 cpu_id = cpu_id & 0xf; in setup_cpuinfo()
167 cpu_series, cpu_id, __nds32__mfsr(NDS32_SR_CPU_VER), cpu_id, cpu_rev, cpu_cfgid); in setup_cpuinfo()
176 || (cpu_id == 12 && cpu_rev < 4)) in setup_cpuinfo()
321 cpu_series, cpu_id, cpu_id, cpu_rev, cpu_cfgid); in c_show()
/linux/drivers/cpufreq/
A Dspeedstep-centrino.c37 struct cpu_id struct
53 static const struct cpu_id cpu_ids[] = { argument
65 const struct cpu_id *cpu_id; member
72 const struct cpu_id *x);
76 static DEFINE_PER_CPU(const struct cpu_id *, centrino_cpu);
201 { .cpu_id = cpuid, \
239 for(model = models; model->cpu_id != NULL; model++) in centrino_cpu_init_table()
240 if (centrino_verify_cpu_id(cpu, model->cpu_id) && in centrino_cpu_init_table()
245 if (model->cpu_id == NULL) { in centrino_cpu_init_table()
277 const struct cpu_id *x) in centrino_verify_cpu_id()
/linux/arch/s390/kernel/
A Dprocessor.c36 struct cpuid cpu_id; member
88 struct cpuid *id = this_cpu_ptr(&cpu_info.cpu_id); in cpu_init()
162 struct cpuid *id = &per_cpu(cpu_info.cpu_id, cpu); in show_cpu_summary()
260 struct cpuid cpu_id; in setup_elf_platform() local
262 get_cpu_id(&cpu_id); in setup_elf_platform()
263 add_device_randomness(&cpu_id, sizeof(cpu_id)); in setup_elf_platform()
264 switch (cpu_id.machine) { in setup_elf_platform()
323 struct cpuid *id = &per_cpu(cpu_info.cpu_id, n); in show_cpu_ids()
/linux/arch/arm/mach-bcm/
A Dplatsmp.c163 u32 cpu_id; in kona_boot_secondary() local
168 cpu_id = cpu_logical_map(cpu); in kona_boot_secondary()
169 if (cpu_id & ~BOOT_ADDR_CPUID_MASK) { in kona_boot_secondary()
170 pr_err("bad cpu id (%u > %u)\n", cpu_id, BOOT_ADDR_CPUID_MASK); in kona_boot_secondary()
180 pr_err("unable to map boot register for cpu %u\n", cpu_id); in kona_boot_secondary()
193 boot_val = (u32)boot_func | cpu_id; in kona_boot_secondary()
208 pr_err("timeout waiting for cpu %u to start\n", cpu_id); in kona_boot_secondary()
/linux/kernel/
A Drseq.c86 u32 cpu_id = raw_smp_processor_id(); in rseq_update_cpu_id() local
91 unsafe_put_user(cpu_id, &rseq->cpu_id_start, efault_end); in rseq_update_cpu_id()
92 unsafe_put_user(cpu_id, &rseq->cpu_id, efault_end); in rseq_update_cpu_id()
105 u32 cpu_id_start = 0, cpu_id = RSEQ_CPU_ID_UNINITIALIZED; in rseq_reset_rseq_cpu_id() local
117 if (put_user(cpu_id, &t->rseq->cpu_id)) in rseq_reset_rseq_cpu_id()
/linux/sound/soc/intel/boards/
A Dsof_sdw.c956 cpu_dai_index = *cpu_id; in create_sdw_dailink()
1024 *cpu_id += cpu_dai_num; in create_sdw_dailink()
1103 int cpu_id = 0; in sof_card_dai_links_create() local
1200 &cpu_id, group_generated, in sof_card_dai_links_create()
1257 cpus + cpu_id, 1, in sof_card_dai_links_create()
1265 INC_ID(be_id, cpu_id, link_id); in sof_card_dai_links_create()
1278 cpus + cpu_id, 1, in sof_card_dai_links_create()
1281 INC_ID(be_id, cpu_id, link_id); in sof_card_dai_links_create()
1286 cpus + cpu_id, 1, in sof_card_dai_links_create()
1290 INC_ID(be_id, cpu_id, link_id); in sof_card_dai_links_create()
[all …]
/linux/Documentation/trace/
A Devents-power.rst28 cpu_idle "state=%lu cpu_id=%lu"
29 cpu_frequency "state=%lu cpu_id=%lu"
30 cpu_frequency_limits "min=%lu max=%lu cpu_id=%lu"
54 clock_enable "%s state=%lu cpu_id=%lu"
55 clock_disable "%s state=%lu cpu_id=%lu"
56 clock_set_rate "%s state=%lu cpu_id=%lu"
67 power_domain_target "%s state=%lu cpu_id=%lu"
/linux/arch/riscv/kernel/
A Dcpu.c108 unsigned long cpu_id = (unsigned long)v - 1; in c_show() local
109 struct device_node *node = of_get_cpu_node(cpu_id, NULL); in c_show()
112 seq_printf(m, "processor\t: %lu\n", cpu_id); in c_show()
113 seq_printf(m, "hart\t\t: %lu\n", cpuid_to_hartid_map(cpu_id)); in c_show()
/linux/arch/arm64/kvm/hyp/nvhe/
A Dpsci-relay.c113 unsigned int cpu_id; in psci_cpu_on() local
125 cpu_id = find_cpu_id(mpidr); in psci_cpu_on()
126 if (cpu_id == INVALID_CPU_ID) in psci_cpu_on()
129 boot_args = per_cpu_ptr(&cpu_on_args, cpu_id); in psci_cpu_on()
130 init_params = per_cpu_ptr(&kvm_init_params, cpu_id); in psci_cpu_on()
/linux/samples/bpf/
A Dcpustat_kern.c87 u32 cpu_id; member
110 if (ctx->cpu_id > MAX_CPU) in bpf_prog1()
113 cpu = ctx->cpu_id; in bpf_prog1()
218 cpu = ctx->cpu_id; in bpf_prog2()

Completed in 59 milliseconds

12345