Lines Matching full:cpu_id
173 unsigned long riscv_cached_mvendorid(unsigned int cpu_id) in riscv_cached_mvendorid() argument
175 struct riscv_cpuinfo *ci = per_cpu_ptr(&riscv_cpuinfo, cpu_id); in riscv_cached_mvendorid()
181 unsigned long riscv_cached_marchid(unsigned int cpu_id) in riscv_cached_marchid() argument
183 struct riscv_cpuinfo *ci = per_cpu_ptr(&riscv_cpuinfo, cpu_id); in riscv_cached_marchid()
189 unsigned long riscv_cached_mimpid(unsigned int cpu_id) in riscv_cached_mimpid() argument
191 struct riscv_cpuinfo *ci = per_cpu_ptr(&riscv_cpuinfo, cpu_id); in riscv_cached_mimpid()
333 unsigned long cpu_id = (unsigned long)v - 1; in c_show() local
334 struct riscv_cpuinfo *ci = per_cpu_ptr(&riscv_cpuinfo, cpu_id); in c_show()
338 seq_printf(m, "processor\t: %lu\n", cpu_id); in c_show()
339 seq_printf(m, "hart\t\t: %lu\n", cpuid_to_hartid_map(cpu_id)); in c_show()
352 node = of_get_cpu_node(cpu_id, NULL); in c_show()
370 print_isa(m, hart_isa[cpu_id].isa, cpu_id); in c_show()