Home
last modified time | relevance | path

Searched refs:riscv_hartid_to_cpuid (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/arch/riscv/include/asm/
H A Dsmp.h40 int riscv_hartid_to_cpuid(unsigned long hartid);
82 static inline int riscv_hartid_to_cpuid(unsigned long hartid) in riscv_hartid_to_cpuid() function
/openbmc/linux/drivers/irqchip/
H A Dirq-riscv-intc.c207 if (riscv_hartid_to_cpuid(hartid) != smp_processor_id()) { in riscv_intc_init()
247 if (riscv_hartid_to_cpuid(rintc->hart_id) != smp_processor_id()) in riscv_intc_acpi_init()
H A Dirq-sifive-plic.c493 cpu = riscv_hartid_to_cpuid(hartid); in __plic_init()
/openbmc/linux/arch/riscv/kernel/
H A Dacpi.c163 cpuid = riscv_hartid_to_cpuid(rintc->hart_id); in acpi_parse_madt_rintc()
H A Dsmp.c53 int riscv_hartid_to_cpuid(unsigned long hartid) in riscv_hartid_to_cpuid() function
H A Dcpu.c39 cpu = riscv_hartid_to_cpuid(*hart); in riscv_of_processor_hartid()
H A Dhibernate.c125 sleep_cpu = riscv_hartid_to_cpuid(hdr->hartid); in arch_hibernation_header_restore()
/openbmc/linux/drivers/clocksource/
H A Dtimer-riscv.c191 cpuid = riscv_hartid_to_cpuid(hartid); in riscv_timer_init_dt()