Home
last modified time | relevance | path

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

/drivers/clocksource/
Dtimer-riscv.c122 unsigned long hartid; in riscv_timer_init_dt() local
126 error = riscv_of_processor_hartid(n, &hartid); in riscv_timer_init_dt()
129 n, hartid); in riscv_timer_init_dt()
133 cpuid = riscv_hartid_to_cpuid(hartid); in riscv_timer_init_dt()
135 pr_warn("Invalid cpuid for hartid [%lu]\n", hartid); in riscv_timer_init_dt()
162 __func__, cpuid, hartid); in riscv_timer_init_dt()
/drivers/firmware/efi/libstub/
Driscv-stub.c27 static unsigned long hartid; variable
48 hartid = (unsigned long) fdt32_to_cpu(*(fdt32_t *)prop); in get_boot_hartid_from_fdt()
50 hartid = (unsigned long) fdt64_to_cpu(__get_unaligned_t(fdt64_t, prop)); in get_boot_hartid_from_fdt()
67 return efi_call_proto(boot_protocol, get_boot_hartid, &hartid); in get_boot_hartid_from_efi()
100 jump_kernel(hartid, fdt); in efi_enter_kernel()
/drivers/irqchip/
Dirq-riscv-intc.c99 unsigned long hartid; in riscv_intc_init() local
101 rc = riscv_of_parent_hartid(node, &hartid); in riscv_intc_init()
113 if (riscv_hartid_to_cpuid(hartid) != smp_processor_id()) { in riscv_intc_init()
Dirq-sifive-plic.c384 unsigned long hartid; in __plic_init() local
408 error = riscv_of_parent_hartid(parent.np, &hartid); in __plic_init()
414 cpu = riscv_hartid_to_cpuid(hartid); in __plic_init()