Searched refs:cpuid_to_hartid_map (Results 1 – 10 of 10) sorted by relevance
89 if (hart == cpuid_to_hartid_map(0)) { in setup_smp()101 cpuid_to_hartid_map(cpuid) = hart; in setup_smp()113 if (cpuid_to_hartid_map(cpuid) != INVALID_HARTID) { in setup_smp()
68 unsigned long hartid = cpuid_to_hartid_map(cpuid); in sbi_cpu_start()110 unsigned long hartid = cpuid_to_hartid_map(cpuid); in sbi_cpu_is_stopped()
44 cpuid_to_hartid_map(0) = boot_cpu_hartid; in smp_setup_processor_id()58 if (cpuid_to_hartid_map(i) == hartid) in riscv_hartid_to_cpuid()67 return phys_id == cpuid_to_hartid_map(cpu); in arch_match_cpu_phys_id()
23 unsigned long hartid = cpuid_to_hartid_map(cpuid); in cpu_update_secondary_bootdata()
84 hartid = cpuid_to_hartid_map(cpuid); in __sbi_v01_cpumask_to_hartmask()261 hartid = cpuid_to_hartid_map(cpuid); in __sbi_send_ipi_v02()366 hartid = cpuid_to_hartid_map(cpuid); in __sbi_rfence_v02()
212 unsigned long this_hart_id = cpuid_to_hartid_map(this_cpu_id); in machine_kexec()
243 seq_printf(m, "hart\t\t: %lu\n", cpuid_to_hartid_map(cpu_id)); in c_show()
28 #define cpuid_to_hartid_map(cpu) __cpuid_to_hartid_map[cpu] macro83 static inline unsigned long cpuid_to_hartid_map(int cpu) in cpuid_to_hartid_map() function
49 writel(1, clint_ipi_base + cpuid_to_hartid_map(cpu)); in clint_send_ipi()54 writel(0, clint_ipi_base + cpuid_to_hartid_map(smp_processor_id())); in clint_clear_ipi()105 cpuid_to_hartid_map(smp_processor_id()); in clint_clock_next_event()
356 cpuid_to_hartid_map(cpu)); in sbi_cpuidle_init_cpu()365 cpuid_to_hartid_map(cpu)); in sbi_cpuidle_init_cpu()573 cpuid_to_hartid_map(cpu)); in sbi_cpuidle_probe()