Home
last modified time | relevance | path

Searched refs:hartid (Results 1 – 4 of 4) sorted by relevance

/drivers/clocksource/
Dtimer-riscv.c95 int cpuid, hartid, error; in riscv_timer_init_dt() local
99 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()
/drivers/irqchip/
Dirq-riscv-intc.c98 int rc, hartid; in riscv_intc_init() local
100 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()
Dirq-sifive-plic.c318 int cpu, hartid; in plic_init() local
332 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()
/drivers/firmware/efi/libstub/
Driscv-stub.c26 static u32 hartid; variable
46 hartid = fdt32_to_cpu(*prop); in get_boot_hartid_from_fdt()
76 jump_kernel(hartid, fdt); in efi_enter_kernel()