Home
last modified time | relevance | path

Searched defs:cpuid (Results 1 – 25 of 163) sorted by relevance

1234567

/kernel/linux/linux-5.10/arch/s390/include/asm/
Dcpu.h16 struct cpuid struct
18 unsigned int version : 8;
19 unsigned int ident : 24;
20 unsigned int machine : 16;
21 unsigned int unused : 16;
/kernel/linux/linux-5.10/drivers/soc/tegra/
Dflowctrl.c51 u32 flowctrl_read_cpu_csr(unsigned int cpuid) in flowctrl_read_cpu_csr()
62 void flowctrl_write_cpu_csr(unsigned int cpuid, u32 value) in flowctrl_write_cpu_csr()
67 void flowctrl_write_cpu_halt(unsigned int cpuid, u32 value) in flowctrl_write_cpu_halt()
72 void flowctrl_cpu_suspend_enter(unsigned int cpuid) in flowctrl_cpu_suspend_enter()
128 void flowctrl_cpu_suspend_exit(unsigned int cpuid) in flowctrl_cpu_suspend_exit()
/kernel/linux/linux-5.10/include/soc/tegra/
Dflowctrl.h51 static inline u32 flowctrl_read_cpu_csr(unsigned int cpuid) in flowctrl_read_cpu_csr()
56 static inline void flowctrl_write_cpu_csr(unsigned int cpuid, u32 value) in flowctrl_write_cpu_csr()
60 static inline void flowctrl_write_cpu_halt(unsigned int cpuid, u32 value) {} in flowctrl_write_cpu_halt()
62 static inline void flowctrl_cpu_suspend_enter(unsigned int cpuid) in flowctrl_cpu_suspend_enter()
66 static inline void flowctrl_cpu_suspend_exit(unsigned int cpuid) in flowctrl_cpu_suspend_exit()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dcpu_ops_sbi.c56 static int sbi_cpu_start(unsigned int cpuid, struct task_struct *tidle) in sbi_cpu_start()
68 static int sbi_cpu_prepare(unsigned int cpuid) in sbi_cpu_prepare()
78 static int sbi_cpu_disable(unsigned int cpuid) in sbi_cpu_disable()
93 static int sbi_cpu_is_stopped(unsigned int cpuid) in sbi_cpu_is_stopped()
Dcpu_ops_spinwait.c15 static int spinwait_cpu_prepare(unsigned int cpuid) in spinwait_cpu_prepare()
24 static int spinwait_cpu_start(unsigned int cpuid, struct task_struct *tidle) in spinwait_cpu_start()
Dcpu_ops.c24 void cpu_update_secondary_bootdata(unsigned int cpuid, in cpu_update_secondary_bootdata()
36 void __init cpu_set_ops(int cpuid) in cpu_set_ops()
Dsmpboot.c46 int cpuid; in smp_prepare_cpus() local
70 int cpuid = 1; in setup_smp() local
/kernel/liteos_a/kernel/base/core/
Dlos_swtmr.c127 STATIC INLINE VOID SwtmrDebugDataStart(SWTMR_CTRL_S *swtmr, UINT16 cpuid) in SwtmrDebugDataStart()
288 STATIC UINT32 SwtmrTaskCreate(UINT16 cpuid, UINT32 *swtmrTaskID) in SwtmrTaskCreate()
310 UINT32 OsSwtmrTaskIDGetByCpuid(UINT16 cpuid) in OsSwtmrTaskIDGetByCpuid()
376 UINT32 cpuid = ArchCurrCpuid(); in OsSwtmrInit() local
410 UINT16 cpuid = 1; in FindIdleSwtmrRunqueue() local
423 STATIC INLINE VOID AddSwtmr2TimeList(SortLinkList *node, UINT64 responseTime, UINT16 cpuid) in AddSwtmr2TimeList()
432 UINT16 cpuid = OsGetSortLinkNodeCpuid(node); in DeSwtmrFromTimeList() local
441 STATIC VOID SwtmrAdjustCheck(UINT16 cpuid, UINT64 responseTime) in SwtmrAdjustCheck()
470 STATIC UINT64 SwtmrToStart(SWTMR_CTRL_S *swtmr, UINT16 cpuid) in SwtmrToStart()
532 STATIC INLINE VOID SwtmrRestart(UINT64 startTime, SortLinkList *sortList, UINT16 cpuid) in SwtmrRestart()
[all …]
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dsmp.c80 smp_store_cpu_info(int cpuid) in smp_store_cpu_info()
92 smp_setup_percpu_timer(int cpuid) in smp_setup_percpu_timer()
99 wait_boot_cpu_to_stop(int cpuid) in wait_boot_cpu_to_stop()
120 int cpuid = hard_smp_processor_id(); in smp_callin() local
197 send_secondary_console_msg(char *str, int cpuid) in send_secondary_console_msg()
289 secondary_cpu_start(int cpuid, struct task_struct *idle) in secondary_cpu_start()
360 smp_boot_one_cpu(int cpuid, struct task_struct *idle) in smp_boot_one_cpu()
/kernel/linux/linux-5.10/tools/perf/arch/x86/annotate/
Dinstructions.c175 static int x86__cpuid_parse(struct arch *arch, char *cpuid) in x86__cpuid_parse()
193 static int x86__annotate_init(struct arch *arch, char *cpuid) in x86__annotate_init()
/kernel/liteos_a/kernel/base/include/
Dlos_percpu_pri.h66 STATIC INLINE Percpu *OsPercpuGetByID(UINT32 cpuid) in OsPercpuGetByID()
71 STATIC INLINE UINT32 OsCpuStatusIsHalt(UINT16 cpuid) in OsCpuStatusIsHalt()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dtopology.c30 static void update_siblings_masks(unsigned int cpuid) in update_siblings_masks()
63 void __init store_cpu_topology(unsigned int cpuid) in store_cpu_topology()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dprom_64.c441 int cpuid = of_getintprop_default(dp, mid_prop, -1); in of_iterate_over_cpus() local
469 static void *check_cpu_node(struct device_node *dp, int cpuid, int id) in check_cpu_node()
476 struct device_node *of_find_node_by_cpuid(int cpuid) in of_find_node_by_cpuid()
481 static void *record_one_cpu(struct device_node *dp, int cpuid, int arg) in record_one_cpu()
500 static void *fill_in_one_cpu(struct device_node *dp, int cpuid, int arg) in fill_in_one_cpu()
Dsmp_32.c184 int i, cpuid, extra; in smp_prepare_cpus() local
244 int cpuid = hard_smp_processor_id(); in smp_prepare_boot_cpu() local
316 unsigned int cpuid = hard_smp_processor_id(); in arch_cpu_pre_online() local
Dsun4d_irq.c33 unsigned int cpuid; /* target cpu */ member
195 int cpuid = handler_data->cpuid; in sun4d_mask_irq() local
213 int cpuid = handler_data->cpuid; in sun4d_unmask_irq() local
254 int cpuid = cpu_logical_map(1); in sun4d_distribute_irqs() local
Dirq_64.c313 static unsigned int sun4u_compute_tid(unsigned long imap, unsigned long cpuid) in sun4u_compute_tid()
352 int cpuid; in irq_choose_cpu() local
377 unsigned long cpuid, imap, val; in sun4u_irq_enable() local
402 unsigned long cpuid, imap, val; in sun4u_set_affinity() local
453 unsigned long cpuid = irq_choose_cpu(data->irq, in sun4v_irq_enable() local
475 unsigned long cpuid = irq_choose_cpu(data->irq, mask); in sun4v_set_affinity() local
513 unsigned long cpuid; in sun4v_virq_enable() local
542 unsigned long cpuid; in sun4v_virt_set_affinity() local
Dsun4d_smp.c45 static inline void show_leds(int cpuid) in show_leds()
56 int cpuid = hard_smp_processor_id(); in sun4d_cpu_pre_starting() local
69 int cpuid; in sun4d_cpu_pre_online() local
/kernel/liteos_a/kernel/base/misc/
Dlos_stackinfo.c65 UINT32 cpuid; in OsExcStackCheck() local
85 UINT32 cpuid; in OsExcStackInfo() local
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c115 static struct kvm_cpuid2 cpuid = {.nent = 0}; in test_hv_cpuid_e2big() local
129 static struct kvm_cpuid2 *cpuid; in kvm_get_supported_hv_cpuid() local
/kernel/liteos_a/arch/arm/include/
Dlos_hw.h77 #define CPU_MAP_GET(cpuid) g_cpuMap[(cpuid)] argument
78 #define CPU_MAP_SET(cpuid, hwid) g_cpuMap[(cpuid)] = (hwid) argument
/kernel/linux/linux-5.10/arch/arm/kernel/
Dtopology.c177 static inline void update_cpu_capacity(unsigned int cpuid) {} in update_cpu_capacity()
185 void store_cpu_topology(unsigned int cpuid) in store_cpu_topology()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dcpuid.c227 struct kvm_cpuid *cpuid, in kvm_vcpu_ioctl_set_cpuid()
282 struct kvm_cpuid2 *cpuid, in kvm_vcpu_ioctl_set_cpuid2()
314 struct kvm_cpuid2 *cpuid, in kvm_vcpu_ioctl_get_cpuid2()
335 const struct cpuid_reg cpuid = x86_feature_cpuid(leaf * 32); in kvm_cpu_cap_mask() local
954 int kvm_dev_ioctl_get_cpuid(struct kvm_cpuid2 *cpuid, in kvm_dev_ioctl_get_cpuid()
/kernel/liteos_a/kernel/base/mp/
Dlos_mp.c49 UINT32 cpuid = ArchCurrCpuid(); in LOS_MpSchedule() local
138 UINT32 cpuid = ArchCurrCpuid(); in OsMpFuncCallHandler() local
/kernel/liteos_a/kernel/extended/perf/pmu/
Dperf_hw_pmu.c109 UINT32 cpuid = ArchCurrCpuid(); in OsPerfHwStart() local
131 UINT32 cpuid = ArchCurrCpuid(); in OsPerfHwStop() local
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/smp/
DIt_smp_los_task_082.c45 UINT32 cpuid = (ArchCurrCpuid() + 1) % (LOSCFG_KERNEL_CORE_NUM); in Testcase() local

1234567