Home
last modified time | relevance | path

Searched refs:cpuid_to_hartid_map (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/arch/riscv/kernel/
Dsmpboot.c89 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()
Dcpu_ops_sbi.c68 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()
Dsmp.c44 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()
Dcpu_ops_spinwait.c23 unsigned long hartid = cpuid_to_hartid_map(cpuid); in cpu_update_secondary_bootdata()
Dsbi.c84 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()
Dmachine_kexec.c212 unsigned long this_hart_id = cpuid_to_hartid_map(this_cpu_id); in machine_kexec()
Dcpu.c243 seq_printf(m, "hart\t\t: %lu\n", cpuid_to_hartid_map(cpu_id)); in c_show()
/linux-6.1.9/arch/riscv/include/asm/
Dsmp.h28 #define cpuid_to_hartid_map(cpu) __cpuid_to_hartid_map[cpu] macro
83 static inline unsigned long cpuid_to_hartid_map(int cpu) in cpuid_to_hartid_map() function
/linux-6.1.9/drivers/clocksource/
Dtimer-clint.c49 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()
/linux-6.1.9/drivers/cpuidle/
Dcpuidle-riscv-sbi.c356 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()