Searched refs:hartid (Results 1 – 4 of 4) sorted by relevance
95 int cpuid, hartid, error; in riscv_timer_init_dt() local99 hartid = riscv_of_processor_hartid(n); in riscv_timer_init_dt()100 if (hartid < 0) { in riscv_timer_init_dt()102 n, hartid); in riscv_timer_init_dt()103 return hartid; in riscv_timer_init_dt()106 cpuid = riscv_hartid_to_cpuid(hartid); in riscv_timer_init_dt()108 pr_warn("Invalid cpuid for hartid [%d]\n", hartid); in riscv_timer_init_dt()135 __func__, cpuid, hartid); in riscv_timer_init_dt()
98 int rc, hartid; in riscv_intc_init() local100 hartid = riscv_of_parent_hartid(node); in riscv_intc_init()101 if (hartid < 0) { in riscv_intc_init()112 if (riscv_hartid_to_cpuid(hartid) != smp_processor_id()) in riscv_intc_init()
318 int cpu, hartid; in plic_init() local332 hartid = riscv_of_parent_hartid(parent.np); in plic_init()333 if (hartid < 0) { in plic_init()338 cpu = riscv_hartid_to_cpuid(hartid); in plic_init()
26 static u32 hartid; variable46 hartid = fdt32_to_cpu(*prop); in get_boot_hartid_from_fdt()76 jump_kernel(hartid, fdt); in efi_enter_kernel()